Elementium Sign in

Leaves block minimum distance

Gives the leaves block's minimum distance, a whole number. Paper: the minimum allowed value of the 'distance' property.

Try it on your server

A Minecraft element (a value) in World & blocks. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player right-clicks → Answer minimum distance: {node.v.value} → Done

Also called

leaves block, minimum distance, leaves, block, block data, state

Works as a data pack?

Yes. A vanilla data pack does this exactly as the plugin does.

What you give it

What it gives back

Related

All Minecraft elements