Interface ExplosionEvent.Pre

All Superinterfaces:
Cancellable, Event, ExplosionEvent
Enclosing interface:
ExplosionEvent

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

    • world

      ServerWorld world()
      Gets the world.
      Returns:
      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.
      Parameters:
      explosion - The new explosion