Skip to main content

Block Action At (Entity Action Type)

Runs a block action at the entity's position.

Type ID: apoli:block_action_at

Fields

FieldTypeDefaultDescription
block_actionBlock Action TyperequiredThe block action to run.

Examples

"entity_action": {
    "type": "apoli:block_action_at",
    "block_action": {
        "type": "apoli:set_block",
        "block": "minecraft:sand"
    }
}

This runs apoli:set_block to place a sand block at the entity's feet.