Block State Property
Checks if a state property of a block matches a specified value.
Type ID: kaya:block_state_property
Format
| Field | Type | Default | Description |
|---|---|---|---|
property |
String Provider | The state property to check the value of. | |
block |
Block Provider | The block to get the state property from. | |
value |
String Provider | The value to compare to. |
Example
This example will check if the axis state property of the block provided by the kaya:broken_block context parameter is equal to "y".
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |