OtherDrops

226k Downloads

Support Explosion-related Events

stvncao5 opened this issue ยท 0 comments

commented

Two new condition-parameters should be supported for handling explosion-related events. The events are when an entity becomes primed (as in the case when block-TNT becomes the primed-TNT entity, and when a creeper activates its charging sequence) and when an entity generates an explosion (as in the case of primed-TNT or a charged-creeper actually exploding).

An example of what can be done with support for the "entity priming event" would be either canceling the explosion (by making the entity get replaced by nothing) or causing the explosion to happen instantly with custom parameters (like make a huge fiery explosion from a creeper).

An example of what can be done with support for the "entity explosion event" would be dropping items after exploding (or adding a delay to the drop since explosions destroy item drops).