Package net.minecraftforge.event.world
Class ExplosionEvent.Detonate
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.world.ExplosionEvent
-
- net.minecraftforge.event.world.ExplosionEvent.Detonate
-
- Enclosing class:
- ExplosionEvent
public static class ExplosionEvent.Detonate extends ExplosionEvent
ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities. These lists can be modified to change the outcome.
This event is notCancelable
.
This event does not useEvent.HasResult
.
This event is fired on theMinecraftForge.EVENT_BUS
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.world.ExplosionEvent
ExplosionEvent.Detonate, ExplosionEvent.Start
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Entity>
entityList
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BlockPos>
getAffectedBlocks()
return the list of blocks affected by the explosion.java.util.List<Entity>
getAffectedEntities()
return the list of entities affected by the explosion.-
Methods inherited from class net.minecraftforge.event.world.ExplosionEvent
getExplosion, getWorld
-
-
-
-
Field Detail
-
entityList
private final java.util.List<Entity> entityList
-
-