Offset (Block Action Type)
Runs a block action at a position offset from the current one.
Type ID: apoli:offset
Fields
| Field | Type | Default | Description |
|---|---|---|---|
action | Block Action Type | required | The action to run 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_action": {
"type": "apoli:offset",
"action": {
"type": "apoli:add_block",
"block": "minecraft:gravel"
},
"y": 1
}This runs apoli:add_block one block above the original position.