Blocks
Block properties
behaviours:
block:
placed_model:
type: REAL_NOTE
break_particles: BLOCK
rotx: 0
roty: 0
drop_when_mined: true
light_level: 12 # make block emit light
# tools you can't use to break block (accepts partial name of material/customitem)
break_tools_blacklist:
- WOODEN_PICKAXE
- STONE_PICKAXE
- IRON_PICKAXE
# tools you can use to break block (accepts partial name of material/customitem)
break_tools_whitelist:
- DIAMOND_PICKAXE
- PICKAXE
- pickaxe
hardness: 2
blast_resistance: 1 # explosion resistance (by default is hardness * 3)
no_explosion: false # totally immune from explosions, ignoring blast_resistance
sound: # customizable sounds of the block
break:
name: BLOCK_WOOD_BREAK
volume: 1
pitch: 0.9
place:
name: BLOCK_WOOD_PLACE
volume: 1
pitch: 0.9placed_model
placed_modeltype
typerotx and roty
rotx and rotyplaceable_on_water
placeable_on_waterplaceable_on_lava
placeable_on_lavaplaceable_on_other_real_wire
placeable_on_other_real_wireshift_up
shift_upcustom_variants
Variantscustom_variantsdrop_when_mined
drop_when_mineddrop_on_shears
drop_on_shearsdrop_on_silk_touch
drop_on_silk_touchTools blacklist and whitelist
break_tools_blacklist
break_tools_blacklistbreak_tools_whitelist
break_tools_whitelistevents_tools_blacklist
events_tools_blacklistevents_tools_whitelist
events_tools_whitelistOther options
hardness
hardnessblast_resistance
blast_resistanceno_explosion
no_explosionsounds
soundsExample using vanilla sounds
Example using custom sounds
permission_suffix
permission_suffixUse the official files editor to read all the properties
https://github.com/LoneDev6/Wiki-ItemsAdder/blob/master/adding-content/beginners/files-editor.mdDrop experience from block
1. Add the experience drop directly in the custom block creation
2. Add the exp drop to loots
Last updated