Interface ExplosionEvent.Pre

All Superinterfaces:
Cancellable, Event, ExplosionEvent
Enclosing interface:

public static interface ExplosionEvent.Pre extends ExplosionEvent
An event that is fired before the explosion occurs.
  • Method Details

    • world

      ServerWorld world()
      Gets the world.
      The world
    • setExplosion

      void setExplosion(Explosion explosion)
      Sets the Explosion involved for this event. This will override the explosion used before calculations take place with regards to the blocks and entities affected.
      explosion - The new explosion