Hatchable block maximum hatch
Gives the hatchable block's maximum hatch, a whole number. Paper: the maximum allowed value of the 'hatch' property.
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 maximum hatch: {node.v.value} → Done
Also called
hatchable block, maximum hatch, hatchable, 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
- Block
What it gives back
- Maximum hatch