Package net.minecraftforge.event.world
Class ExplosionEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.world.ExplosionEvent
- Direct Known Subclasses:
ExplosionEvent.Detonate
,ExplosionEvent.Start
public class ExplosionEvent
extends net.minecraftforge.eventbus.api.Event
ExplosionEvent triggers when an explosion happens in the world.
ExplosionEvent.Start is fired before the explosion actually occurs.
ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities.
ExplosionEvent.Start is
ExplosionEvent.Detonate can modify the affected blocks and entities.
Children do not use
Children of this event are fired on the
ExplosionEvent.Start is fired before the explosion actually occurs.
ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities.
ExplosionEvent.Start is
Cancelable
.ExplosionEvent.Detonate can modify the affected blocks and entities.
Children do not use
Event.HasResult
.Children of this event are fired on the
MinecraftForge.EVENT_BUS
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities.static class
ExplosionEvent.Start is fired before the explosion actually occurs.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
world
-
explosion
-
-
Constructor Details
-
ExplosionEvent
-
-
Method Details
-
getWorld
-
getExplosion
-