Uses of Package
net.minecraftforge.event.entity.living
Package
Description
-
ClassDescriptionLivingEvent is fired whenever an event involving Living entities occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
All children of this event are fired on theMinecraftForge.EVENT_BUS
. -
ClassDescriptionLivingKnockBackEvent is fired when a living entity is about to be knocked back.
-
ClassDescriptionThis Event is fired when a new Potion is added to the Entity.This Event is fired to check if a Potion can get applied to an Entity.This Event is fired when a Potion effect expires on an Entity.This Event is fired when a Potion is about to get removed from an Entity.
-
ClassDescriptionEntityTeleportEvent 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 theMinecraftForge.EVENT_BUS
. -
ClassDescriptionLivingConversionEvent.Post is triggered when an entity is replacing itself with another entity.LivingConversionEvent.Pre is triggered when an entity is trying to replace itself with another entity This event may trigger every tick even if it was cancelled last tick for entities like Zombies and Hoglins.
-
ClassDescriptionEntityTeleportEvent 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 theMinecraftForge.EVENT_BUS
.EntityTeleportEvent.ChorusFruit is fired before a LivingEntity is teleported due to consuming Chorus Fruit.EntityTeleportEvent.EnderEntity is fired before an Enderman or Shulker randomly teleports.EntityTeleportEvent.EnderPearl is fired before an Entity is teleported from an EnderPearlEntity.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
.SummonAidEvent is fired when a Zombie Entity is summoned. -
ClassDescriptionLivingEvent is fired whenever an event involving Living entities occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
All children of this event are fired on theMinecraftForge.EVENT_BUS
. -
ClassDescriptionEntityTeleportEvent 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 theMinecraftForge.EVENT_BUS
.LivingEvent is fired whenever an event involving Living entities occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
All children of this event are fired on theMinecraftForge.EVENT_BUS
.LivingSpawnEvent is fired for any events associated with Living Entities spawn status.ZombieEvent is fired whenever a zombie is spawned for aid. -
ClassDescriptionLivingEvent is fired whenever an event involving Living entities occurs.
If a method utilizes thisEvent
as its parameter, the method will receive every child event of this class.
All children of this event are fired on theMinecraftForge.EVENT_BUS
.