On Block
Checks whether the player is standing on the ground, and optionally has a block that matches a specified block condition under them.
Type ID: apoli:on_block
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
block_condition |
Block Condition | optional | If set, a block that satisfies this block condition needs to be right below the player's feet. |
Example:
"condition": {
"type": "apoli:on_block",
"block_condition": {
"type": "apoli:block",
"block": "minecraft:grass_block"
}
}
This condition applied to a power will make sure it's only active while the player is on a Grass Block.