类 ExplosionEvent.Detonate

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.ExplosionEvent
net.minecraftforge.event.level.ExplosionEvent.Detonate
封闭类:
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 not Cancelable.
This event does not use Event.HasResult.
This event is fired on the MinecraftForge.EVENT_BUS.
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getAffectedBlocks

      public List<BlockPos> getAffectedBlocks()
      return the list of blocks affected by the explosion.
    • getAffectedEntities

      public List<Entity> getAffectedEntities()
      return the list of entities affected by the explosion.