Respawn anchor block charges
Gives the respawn anchor block's charges, a whole number. Paper: the value of the 'charges' 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 charges: {node.v.value} → Done
Also called
respawn anchor block, charges, respawnanchor, 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
- Charges