info:
namespace: myitems
items:
rocks:
display_name: Rocks
permission: blocks.rocks
lore:
- 'lore-decorative-item'
resource:
material: PAPER
generate: true
textures:
- item/rocks
events:
interact:
right:
set_block:
block: rocks_placed
target: RELATIVE
decrement_amount: true
right_shift:
set_block:
block: rocks_placed
target: RELATIVE
decrement_amount: true
info:
namespace: myitems
items:
rocks_placed:
display_name: ""
permission: admin.blocks.rocks_placed
resource:
material: PAPER
generate: false
model_path: block/rocks_placed
specific_properties:
block:
placed_model:
type: REAL_WIRE
cancel_drop: true
sound:
place:
name: block.stone.place
events:
placed_block:
break:
drop_item:
item: rocks
rocks:
display_name: Rocks
permission: blocks.rocks
lore:
- 'lore-decorative-item'
resource:
material: PAPER
generate: true
textures:
- item/rocks
events:
interact:
right:
set_block:
block: rocks_placed
target: RELATIVE
decrement_amount: true
right_shift:
set_block:
block: rocks_placed
target: RELATIVE
decrement_amount: true