类 EntityEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
- 直接已知子类:
EntityEvent.EnteringSection
,EntityEvent.EntityConstructing
,EntityEvent.Size
,EntityInvulnerabilityCheckEvent
,EntityJoinLevelEvent
,EntityLeaveLevelEvent
,EntityMobGriefingEvent
,EntityMountEvent
,EntityStruckByLightningEvent
,EntityTeleportEvent
,EntityTickEvent
,EntityTravelToDimensionEvent
,ItemEvent
,LivingEvent
,MobSpawnEvent
,ProjectileImpactEvent
public abstract class EntityEvent
extends net.neoforged.bus.api.Event
EntityEvent is fired when an event involving any Entity occurs.
If a method utilizes this
All children of this event are fired on the
If a method utilizes this
Event
as its parameter, the method will
receive every child event of this class.entity
contains the entity that caused this event to occur.All children of this event are fired on the
NeoForge.EVENT_BUS
.-
嵌套类概要
嵌套类修饰符和类型类说明static class
This event is fired on server and client after an Entity has entered a different section.static class
EntityConstructing is fired when an Entity is being created.static class
Fired whenever the entity'sPose
changes for manipulating the resultingEntityDimensions
. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
entity
-
-
构造器详细资料
-
EntityEvent
-
-
方法详细资料
-
getEntity
-