Uses of Package
net.neoforged.neoforge.event.entity
Packages that use net.neoforged.neoforge.event.entity
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.client.eventClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.common
-
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.eventClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
.Fired whenever the entity'sPose
changes for manipulating the resultingEntityDimensions
.EntityTeleportEvent.EnderEntity is fired before an Enderman or Shulker randomly teleports.EntityTeleportEvent.EnderPearl is fired before an Entity is teleported from an EnderPearlEntity.EntityTeleportEvent.ChorusFruit is fired before a LivingEntity is teleported due to consuming Chorus Fruit.EntityTeleportEvent.SpreadPlayersCommand is fired before a living entity is teleported from use ofSpreadPlayersCommand
.EntityTeleportEvent.TeleportCommand is fired before a living entity is teleported from use ofTeleportCommand
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.event.brewingClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.event.entityClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
.EntityTeleportEvent is fired when an event involving any teleportation of an Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityTeleportEvent.getTarget()
contains the target destination.
EntityTeleportEvent.getPrev()
contains the entity's current position.
All children of this event are fired on theNeoForge.EVENT_BUS
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.event.entity.itemClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.event.entity.livingClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.event.entity.playerClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
. -
Classes in net.neoforged.neoforge.event.entity used by net.neoforged.neoforge.event.tickClassDescriptionEntityEvent is fired when an event involving any Entity occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
EntityEvent.entity
contains the entity that caused this event to occur.
All children of this event are fired on theNeoForge.EVENT_BUS
.