in_block
Passes when the entity's head or feet are inside the specified block type.
Categories: world
Required arguments
| Key(s) | Description | Type |
|---|---|---|
block | The block material name to check (e.g. WATER). | BLOCK |
Example
conditions:
- id: in_block
args:
block: <value>