Mining
number
default:"1.5"
How long it takes to mine, on vanilla’s scale: dirt is 0.5, stone 1.5, iron ore 3, obsidian 50.
0 breaks instantly and -1 makes it unbreakable.text
default:"pickaxe"
The tool that mines it quickly:
pickaxe, axe, shovel, hoe or none. Better tiers and Efficiency mine faster, just like vanilla. It only changes speed, not whether the block drops (see Drops).Drops
A custom block always drops one of itself, the same item that places it, whatever it is broken with: by hand, with any tool, with an explosion or by a piston. There is nothing to set.
Players in creative mode get no drops, like vanilla.
Light
0 to 15
Light level the block gives off.
Sounds
text or section
A vanilla sound family for everything:
sounds: metal (also stone, wood, glass, wool…). Or set single sounds:Tags
list
Vanilla block tags it belongs to, so the game treats it like those blocks. For example
[beacon_base_blocks] lets it build beacon pyramids, and [dragon_immune, wither_immune] keeps those bosses from breaking it. Mining speed comes from tool, not from tags.Stripping
block id
Right-clicking with an axe turns it into this other custom block, keeping its direction. Like stripping logs.
lore, enchantments, events…) for the item that places them, and events like place, break and interact.