Package net.minecraftforge.event.entity
Class EntityEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
- Direct Known Subclasses:
- EntityEvent.EnteringSection,- EntityEvent.EntityConstructing,- EntityJoinLevelEvent,- EntityLeaveLevelEvent,- EntityMobGriefingEvent,- EntityMountEvent,- EntityStruckByLightningEvent,- EntityTeleportEvent,- EntityTravelToDimensionEvent,- ItemEvent,- LivingEvent,- MobSpawnEvent,- ProjectileImpactEvent,- RenderNameTagEvent,- ZombieEvent
public class EntityEvent
extends net.minecraftforge.eventbus.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
MinecraftForge.EVENT_BUS.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis event is fired on server and client after an Entity has entered a different section.static classEntityConstructing is fired when an Entity is being created.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
entity
 
- 
- 
Constructor Details- 
EntityEvent
 
- 
- 
Method Details- 
getEntity
 
-