Denizen Script Events


Events are a way to listen to things that happened on your server and respond to them through a script. These usually pair with 'world' script containers.
Learn about how events work in The Beginner's Guide.


Showing 1 out of 399 events...
Nameentity explosion primes
Event Lines <entity> explosion primes
Triggerswhen an entity decides to explode.
Generated Examplesafter player explosion primes:
on fish explosion primes:
Contexts<context.entity> returns an EntityTag of the exploding entity.
<context.radius> returns the explosion's radius.
<context.fire> returns whether the explosion will create fire.
DetermineElementTag(Decimal) to change the explosion radius.
"FIRE:<ElementTag(Boolean)>" to set whether the explosion will produce fire.
CancellableTrue - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false'
Has LocationTrue - This adds the switches 'in:<area>', 'location_flagged:<flag>', ...
GroupEntity
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/entity/EntityExplosionPrimesScriptEvent.java#L14