Offset (Block Condition Type)
Checks a block condition at a position offset from the current one.
Type ID: apoli:offset
Fields
| Field | Type | Default | Description |
|---|---|---|---|
condition | Block Condition Type | required | The condition to check at the offset position. |
x | Integer | 0 | The offset on the X axis. |
y | Integer | 0 | The offset on the Y axis. |
z | Integer | 0 | The offset on the Z axis. |
Examples
"block_condition": {
"type": "apoli:offset",
"condition": {
"type": "apoli:block",
"block": "minecraft:grass_block"
},
"y": 1
}This checks whether the block above is a grass block.