类 ExplosionEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.ExplosionEvent
public abstract class ExplosionEvent
extends net.neoforged.bus.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
ICancellableEvent
.ExplosionEvent.Detonate can modify the affected blocks and entities.
Children do not use
引用无效
HasResult
Children of this event are fired on the
NeoForge.EVENT_BUS
.-
嵌套类概要
嵌套类修饰符和类型类说明static 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. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
level
-
explosion
-
-
构造器详细资料
-
ExplosionEvent
-
-
方法详细资料
-
getLevel
-
getExplosion
-