Explode (Entity Action Type)

Summons an explosion with a specific explosion power.

Summons an explosion with a specific explosion power.

Type ID: apoli:explode

Fields

FieldTypeDefaultDescription
powerFloatDetermines the power of the explosion.
destruction_typeDestruction Type"break"Determines the effect of the explosion to the terrain.
damage_selfBooleantrueDetermines if the entity that invoked the action should take damage from the summoned explosion.
indestructibleBlock Condition TypeoptionalIf specified, the blocks that fulfill this condition will not be destroyed by the summoned explosion.
destructibleBlock Condition TypeoptionalIf specified, only the blocks that fulfill this condition will be destroyed by the summoned explosion.
create_fireBooleanfalseDetermines if the summoned explosion should create fire.

Examples

"entity_action": {
    "type": "apoli:explode",
    "power": 5,
    "destruction_type": "none",
    "damage_self": false,
    "create_fire": false
}

This example will summon an explosion that will not damage the entity that invoked the action, the terrain, or create fire.