Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameExplode
Syntaxexplode (power:<#.#>) (<location>) (fire) (breakblocks) (source:<entity>)
Short DescriptionCauses an explosion at the location.
Full DescriptionThis command causes an explosion at the location specified (or the npc / player location).
By default, this will not destroy blocks or set fire to blocks within the explosion.

Specify the 'fire' argument to set blocks on fire within the explosion radius.

Specify the 'breakblocks' argument to cause the explosion to break blocks within the power radius.

If no power is specified, the default power will be 1.

If no location is given, the default will be the linked NPC or player's location.
It is highly recommended you specify a location to be safe.

Optionally specify a source entity that will be tracked as the damage cause.
Related TagsNone
Usage Example
# Use to create an explosion at a player's location.
- explode <player.location>
Usage Example
# Use to create an explosion at a player, which breaks blocks and causes fire with a power of 5.
- explode power:5 <player.location> fire breakblocks
Usage Example
# Use to create an explosion with a power radius of 3 at an NPC's location.
- explode power:3 <npc.location>
Usage Example
# Use to create an explosion with a power radius of 3 at a related location which breaks blocks.
- explode power:3 <context.location> breakblocks
Synonyms (Search Aid)detonate, bomb, tnt
Groupworld
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/ExplodeCommand.java#L22