Skip to main content

💎 Drop Experience Block

Drop Experience Block drops experience orbs when broken. The amount and conditions are fully configurable — you can gate XP behind a correct tool, a specific enchantment, or any other condition.

If the block requires a correct tool (via require correct tools) and the player breaks it with the wrong one, no experience is dropped.

Example​

blocks:
default:topaz_ore:
behavior:
type: drop_exp_block
amount: 3~7 # XP amount, supports ranges like "3~7" or fixed values (default 0)
conditions:
type: enchantment # condition: only drop XP when not using Silk Touch
predicate: minecraft:silk_touch<=0