Uses of Package
net.minecraftforge.event.entity.living
Packages that use net.minecraftforge.event.entity.living
Package
Description
-
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.client.eventClassDescriptionLivingEvent 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
. -
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.commonClassDescriptionThis event allows you to change the target an entity has.A living target type indicates what kind of system caused a change of targets.LivingKnockBackEvent is fired when a living entity is about to be knocked back.The ShieldBlockEvent is fired when an entity successfully blocks with a shield.
Cancelling this event will have the same impact as if the shield was not eligible to block.
The damage blocked cannot be set lower than zero or greater than the original value.
Note: The shield item stack "should" be available fromLivingEntity.getUseItem()
at least for players. -
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.debugClassDescriptionThis 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.
-
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.debug.entity
-
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.debug.entity.livingClassDescriptionThis event allows you to change the target an entity has.LivingConversionEvent.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.This event is fired when a living entity attempts to get a projectile with the
LivingEntity.getProjectile(ItemStack)
method.Deprecated, for removal: This API element is subject to removal in a future version. -
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.debug.itemClassDescriptionThe ShieldBlockEvent is fired when an entity successfully blocks with a shield.
Cancelling this event will have the same impact as if the shield was not eligible to block.
The damage blocked cannot be set lower than zero or greater than the original value.
Note: The shield item stack "should" be available fromLivingEntity.getUseItem()
at least for players. -
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.eventClassDescriptionSummonAidEvent is fired when a Zombie Entity is summoned.
-
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.event.brewingClassDescriptionLivingEvent 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
. -
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.event.entity.livingClassDescriptionA living target type indicates what kind of system caused a change of targets.This enum contains two default living target types.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. -
Classes in net.minecraftforge.event.entity.living used by net.minecraftforge.event.entity.playerClassDescriptionLivingEvent 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
.