Skip to content

Explode

Block Action Type

Summons an explosion at the position of the block.

Type ID: origins:explode

Fields

Field Type Default Description
power Float Determines the power of the explosion.
destruction_type Destruction Type "break" Determines the effect of the explosion on the terrain.
damage_self Boolean true Determines if the exploding block should be affected by the summoned explosion.
indestructible Block Condition Type optional If specified, the blocks that fulfills the specified block condition type is not destroyed by the summoned explosion.
destructible Block Condition Type optional If specified, the blocks that fulfills this specified block condition type are the only blocks that are destroyed by the summoned explosion.
create_fire Boolean false Determines if the explosion should create fire.

Examples

"block_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 block that has summoned the explosion, or the terrain, or create fire.