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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.world.ExplosionEvent
ExplosionEvent.Detonate, ExplosionEvent.Pre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setExplosion(Explosion explosion)
Sets theExplosion
involved for this event.ServerWorld
world()
Gets theworld
.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.world.ExplosionEvent
explosion
-
-
-
-
Method Detail
-
world
ServerWorld world()
Gets theworld
.- Returns:
- The world
-
-