Skip to main content

🍁 Leaves Block

Leaves Block decays when disconnected from a log. Each leaf block continuously computes its distance to the nearest log: logs are 0, directly adjacent leaves are 1, and so on. Leaves at the maximum distance (the largest value in the distance property's range) will decay on a random tick, dropping their items.

Setting persistent to true prevents decay entirely. Persistent leaves do not participate in distance calculation and will never decay regardless of distance.

Property NameProperty TypeRequired
distanceintyes
persistentbooleanyes
waterloggedbooleanno

Example​

blocks:
default:palm_leaves:
behavior:
type: leaves_block

tip

You can set the distance property's range higher for larger trees — e.g. a range of 1~10 gives leaves up to 10 blocks from a log before they decay. Vanilla leaves use a maximum of 7.