Explode

Entity Action Type

Summons an explosion with a specific explosion power.

Type ID: origins:explode

Note

See Minecraft Wiki: Explosion (Explosion strength) for a list of power values that are used in vanilla.

Fields

Field Type Default Description
power Float Determines the power of the explosion.
destruction_type Destruction Type "break" Determines the effect of the explosion to the terrain.
damage_self Boolean true Determines if the entity that invoked the action should take damage from the summoned explosion.
indestructible Block Condition Type optional If specified, the blocks that fulfill this condition will not be destroyed by the summoned explosion.
destructible Block Condition Type optional If specified, only the blocks that fulfill this condition will be destroyed by the summoned explosion.
create_fire Boolean false Determines if the summoned explosion should create fire.

Examples

"entity_action": {
    "type": "origins: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.