Read a block state
Read one detail of a block, like which way it faces, whether a door is open or how grown a crop is.
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 → Read a block state: open → If it is true → Show a message.
Also called
block state, block data, facing, open, age, property
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Where
- Property
What it gives back
- Value
- Has it