Package net.minecraftforge.event.level
Class ExplosionEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.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 level.
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, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
level
-
explosion
-
-
Constructor Details
-
ExplosionEvent
-
-
Method Details
-
getLevel
-
getExplosion
-