create_explosion

Creates one or more explosions at the trigger location.

Categories: combat, world

Required arguments

Key(s)DescriptionType
amountThe number of explosions to create (one per tick). Supports expressions.EXPRESSION
powerThe explosion power. Vanilla TNT is 4. Supports expressions.EXPRESSION

Optional arguments

Key(s)DescriptionTypeDefault
player_as_damagerIf true, the player is attributed as the source of explosion damage.BOOLEANfalse
create_fireWhether the explosion creates fire.BOOLEANtrue
break_blocksWhether the explosion breaks blocks.BOOLEANtrue

Trigger parameters required

  • LOCATION

Example

effects:
  - id: create_explosion
    args:
      amount: 1
      power: <value>
      player_as_damager: true # ← Optional
      create_fire: true # ← Optional
      break_blocks: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue