near_block
Passes when a block of the specified type is found within a cubic radius of the entity.
Categories: world
Required arguments
| Key(s) | Description | Type |
|---|---|---|
block | The block type to search for. | BLOCK |
radius | The radius of the cube around the entity to search within. | INT |
Example
conditions:
- id: near_block
args:
block: <value>
radius: 5