Uses of Class
net.minecraft.world.entity.LivingEntity
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of LivingEntity in net.minecraft.advancements.critereon
-
Uses of LivingEntity in net.minecraft.client.gui
-
Uses of LivingEntity in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionstatic void
InventoryScreen.renderEntityInInventory
(int p_98851_, int p_98852_, int p_98853_, float p_98854_, float p_98855_, LivingEntity p_98856_) static void
InventoryScreen.renderEntityInInventoryRaw
(int p_98851_, int p_98852_, int p_98853_, float angleXComponent, float angleYComponent, LivingEntity p_98856_) -
Uses of LivingEntity in net.minecraft.client.model
Modifier and TypeClassDescriptionclass
ElytraModel<T extends LivingEntity>
class
EndermanModel<T extends LivingEntity>
class
HumanoidModel<T extends LivingEntity>
class
PlayerModel<T extends LivingEntity>
Modifier and TypeMethodDescription<T extends LivingEntity>
voidHumanoidModel.ArmPose.applyTransform
(HumanoidModel<T> model, T entity, HumanoidArm arm) Modifier and TypeMethodDescriptionstatic void
AnimationUtils.animateCrossbowCharge
(ModelPart p_102087_, ModelPart p_102088_, LivingEntity p_102089_, boolean p_102090_) -
Uses of LivingEntity in net.minecraft.client.player
-
Uses of LivingEntity in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate float
LightTexture.calculateDarknessScale
(LivingEntity p_234313_, float p_234314_, float p_234315_) float
FogRenderer.DarknessFogFunction.getModifiedVoidDarkness
(LivingEntity p_234189_, MobEffectInstance p_234190_, float p_234191_, float p_234192_) default float
FogRenderer.MobEffectFogFunction.getModifiedVoidDarkness
(LivingEntity p_234208_, MobEffectInstance p_234209_, float p_234210_, float p_234211_) static float
GameRenderer.getNightVisionScale
(LivingEntity p_109109_, float p_109110_) default boolean
FogRenderer.MobEffectFogFunction.isEnabled
(LivingEntity p_234206_, float p_234207_) void
ItemInHandRenderer.renderItem
(LivingEntity p_109323_, ItemStack p_109324_, ItemTransforms.TransformType p_109325_, boolean p_109326_, PoseStack p_109327_, MultiBufferSource p_109328_, int p_109329_) void
FogRenderer.BlindnessFogFunction.setupFog
(FogRenderer.FogData p_234181_, LivingEntity p_234182_, MobEffectInstance p_234183_, float p_234184_, float p_234185_) void
FogRenderer.DarknessFogFunction.setupFog
(FogRenderer.FogData p_234194_, LivingEntity p_234195_, MobEffectInstance p_234196_, float p_234197_, float p_234198_) void
FogRenderer.MobEffectFogFunction.setupFog
(FogRenderer.FogData p_234212_, LivingEntity p_234213_, MobEffectInstance p_234214_, float p_234215_, float p_234216_) -
Uses of LivingEntity in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionItemOverrides.resolve
(BakedModel p_173465_, ItemStack p_173466_, ClientLevel p_173467_, LivingEntity p_173468_, int p_173469_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity
Modifier and TypeClassDescriptionclass
LivingEntityRenderer<T extends LivingEntity,
M extends EntityModel<T>> Modifier and TypeMethodDescriptionItemRenderer.getModel
(ItemStack p_174265_, Level p_174266_, LivingEntity p_174267_, int p_174268_) static int
LivingEntityRenderer.getOverlayCoords
(LivingEntity p_115339_, float p_115340_) private Vec3
GuardianRenderer.getPosition
(LivingEntity p_114803_, double p_114804_, float p_114805_) static boolean
LivingEntityRenderer.isEntityUpsideDown
(LivingEntity p_194454_) void
ItemRenderer.renderAndDecorateItem
(LivingEntity p_174230_, ItemStack p_174231_, int p_174232_, int p_174233_, int p_174234_) void
ItemRenderer.renderStatic
(LivingEntity p_174243_, ItemStack p_174244_, ItemTransforms.TransformType p_174245_, boolean p_174246_, PoseStack p_174247_, MultiBufferSource p_174248_, Level p_174249_, int p_174250_, int p_174251_, int p_174252_) private void
ItemRenderer.tryRenderGuiItem
(LivingEntity p_174278_, ItemStack p_174279_, int p_174280_, int p_174281_, int p_174282_) private void
ItemRenderer.tryRenderGuiItem
(LivingEntity p_174236_, ItemStack p_174237_, int p_174238_, int p_174239_, int p_174240_, int p_174241_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity.layers
Modifier and TypeClassDescriptionclass
ArrowLayer<T extends LivingEntity,
M extends PlayerModel<T>> class
BeeStingerLayer<T extends LivingEntity,
M extends PlayerModel<T>> class
CrossedArmsItemLayer<T extends LivingEntity,
M extends EntityModel<T>> class
CustomHeadLayer<T extends LivingEntity,
M extends EntityModel<T> & HeadedModel> class
ElytraLayer<T extends LivingEntity,
M extends EntityModel<T>> class
EnderEyesLayer<T extends LivingEntity>
class
HumanoidArmorLayer<T extends LivingEntity,
M extends HumanoidModel<T>, A extends HumanoidModel<T>> class
ItemInHandLayer<T extends LivingEntity,
M extends EntityModel<T> & ArmedModel> class
SlimeOuterLayer<T extends LivingEntity>
class
SpinAttackEffectLayer<T extends LivingEntity>
class
StuckInBodyLayer<T extends LivingEntity,
M extends PlayerModel<T>> class
VillagerProfessionLayer<T extends LivingEntity & VillagerDataHolder,
M extends EntityModel<T> & VillagerHeadModel> class
WitchItemLayer<T extends LivingEntity>
Modifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidRenderLayer.coloredCutoutModelCopyLayerRender
(EntityModel<T> p_117360_, EntityModel<T> p_117361_, ResourceLocation p_117362_, PoseStack p_117363_, MultiBufferSource p_117364_, int p_117365_, T p_117366_, float p_117367_, float p_117368_, float p_117369_, float p_117370_, float p_117371_, float p_117372_, float p_117373_, float p_117374_, float p_117375_) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel
(EntityModel<T> p_117377_, ResourceLocation p_117378_, PoseStack p_117379_, MultiBufferSource p_117380_, int p_117381_, T p_117382_, float p_117383_, float p_117384_, float p_117385_) Modifier and TypeMethodDescriptionprotected void
ItemInHandLayer.renderArmWithItem
(LivingEntity p_117185_, ItemStack p_117186_, ItemTransforms.TransformType p_117187_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_) protected void
PlayerItemInHandLayer.renderArmWithItem
(LivingEntity p_174525_, ItemStack p_174526_, ItemTransforms.TransformType p_174527_, HumanoidArm p_174528_, PoseStack p_174529_, MultiBufferSource p_174530_, int p_174531_) private void
PlayerItemInHandLayer.renderArmWithSpyglass
(LivingEntity p_174518_, ItemStack p_174519_, HumanoidArm p_174520_, PoseStack p_174521_, MultiBufferSource p_174522_, int p_174523_) -
Uses of LivingEntity in net.minecraft.client.renderer.item
Modifier and TypeMethodDescriptiondefault float
ClampedItemPropertyFunction.call
(ItemStack p_174560_, ClientLevel p_174561_, LivingEntity p_174562_, int p_174563_) Deprecated.float
ItemPropertyFunction.call
(ItemStack p_174676_, ClientLevel p_174677_, LivingEntity p_174678_, int p_174679_) Deprecated.float
ClampedItemPropertyFunction.unclampedCall
(ItemStack p_174564_, ClientLevel p_174565_, LivingEntity p_174566_, int p_174567_) float
CompassItemPropertyFunction.unclampedCall
(ItemStack p_234960_, ClientLevel p_234961_, LivingEntity p_234962_, int p_234963_) -
Uses of LivingEntity in net.minecraft.gametest.framework
-
Uses of LivingEntity in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionDebugPackets.getMemoryDescriptions
(LivingEntity p_179496_, long p_179497_) static void
DebugPackets.sendEntityBrain
(LivingEntity p_133696_) private static void
DebugPackets.writeBrain
(LivingEntity p_179499_, FriendlyByteBuf p_179500_) ModifierConstructorDescriptionClientboundAddEntityPacket
(LivingEntity p_237562_) ClientboundAddEntityPacket
(LivingEntity p_237564_, int p_237565_) -
Uses of LivingEntity in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_136487_, Attribute p_136488_) private static LivingEntity
AttributeCommand.getLivingEntity
(Entity p_136440_) -
Uses of LivingEntity in net.minecraft.server.level
-
Uses of LivingEntity in net.minecraft.world.damagesource
Modifier and TypeMethodDescriptionstatic DamageSource
DamageSource.explosion
(LivingEntity p_19374_) BadRespawnPointDamage.getLocalizedDeathMessage
(LivingEntity p_19247_) DamageSource.getLocalizedDeathMessage
(LivingEntity p_19343_) EntityDamageSource.getLocalizedDeathMessage
(LivingEntity p_19397_) IndirectEntityDamageSource.getLocalizedDeathMessage
(LivingEntity p_19410_) static DamageSource
DamageSource.indirectMobAttack
(Entity p_19341_, LivingEntity p_19342_) static DamageSource
DamageSource.mobAttack
(LivingEntity p_19371_) static DamageSource
DamageSource.sting
(LivingEntity p_19365_) -
Uses of LivingEntity in net.minecraft.world.effect
Modifier and TypeMethodDescriptionvoid
AbsoptionMobEffect.addAttributeModifiers
(LivingEntity p_19421_, AttributeMap p_19422_, int p_19423_) void
MobEffect.addAttributeModifiers
(LivingEntity p_19478_, AttributeMap p_19479_, int p_19480_) void
MobEffectInstance.applyEffect
(LivingEntity p_19551_) void
MobEffect.applyEffectTick
(LivingEntity p_19467_, int p_19468_) void
MobEffect.applyInstantenousEffect
(Entity p_19462_, Entity p_19463_, LivingEntity p_19464_, int p_19465_, double p_19466_) static int
MobEffectUtil.getDigSpeedAmplification
(LivingEntity p_19587_) float
MobEffectInstance.FactorData.getFactor
(LivingEntity p_238414_, float p_238415_) static boolean
MobEffectUtil.hasDigSpeed
(LivingEntity p_19585_) static boolean
MobEffectUtil.hasWaterBreathing
(LivingEntity p_19589_) void
AbsoptionMobEffect.removeAttributeModifiers
(LivingEntity p_19417_, AttributeMap p_19418_, int p_19419_) void
HealthBoostMobEffect.removeAttributeModifiers
(LivingEntity p_19436_, AttributeMap p_19437_, int p_19438_) void
MobEffect.removeAttributeModifiers
(LivingEntity p_19469_, AttributeMap p_19470_, int p_19471_) boolean
MobEffectInstance.tick
(LivingEntity p_19553_, Runnable p_19554_) -
Uses of LivingEntity in net.minecraft.world.entity
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
LivingEntity.lastHurtByMob
private LivingEntity
LivingEntity.lastHurtMob
private LivingEntity
AreaEffectCloud.owner
private LivingEntity
Mob.target
Modifier and TypeMethodDescriptionLivingEntity.getKillCredit()
LivingEntity.getLastHurtByMob()
NeutralMob.getLastHurtByMob()
LivingEntity.getLastHurtMob()
AreaEffectCloud.getOwner()
TamableAnimal.getOwner()
Mob.getTarget()
NeutralMob.getTarget()
Modifier and TypeMethodDescriptionprivate void
LivingEntity.addEatEffect
(ItemStack p_21064_, Level p_21065_, LivingEntity p_21066_) protected void
LivingEntity.blockedByShield
(LivingEntity p_21246_) protected void
LivingEntity.blockUsingShield
(LivingEntity p_21200_) void
LivingEntity.calculateEntityAnimation
(LivingEntity p_21044_, boolean p_21045_) boolean
LivingEntity.canAttack
(LivingEntity p_21171_) boolean
LivingEntity.canAttack
(LivingEntity p_21041_, TargetingConditions p_21042_) boolean
NeutralMob.canAttack
(LivingEntity p_181126_) boolean
TamableAnimal.canAttack
(LivingEntity p_21822_) private static SlotAccess
LivingEntity.createEquipmentSlotAccess
(LivingEntity p_147196_, EquipmentSlot p_147197_) protected void
LivingEntity.createWitherRose
(LivingEntity p_21269_) protected void
LivingEntity.doAutoAttackOnTouch
(LivingEntity p_21277_) void
Entity.doEnchantDamageEffects
(LivingEntity p_19971_, Entity p_19972_) static SlotAccess
SlotAccess.forEquipmentSlot
(LivingEntity p_147300_, EquipmentSlot p_147301_) static SlotAccess
SlotAccess.forEquipmentSlot
(LivingEntity p_147303_, EquipmentSlot p_147304_, Predicate<ItemStack> p_147305_) Entity.getDismountLocationForPassenger
(LivingEntity p_20123_) double
Mob.getMeleeAttackRangeSqr
(LivingEntity p_147273_) default boolean
NeutralMob.isAngryAt
(LivingEntity p_21675_) boolean
TamableAnimal.isOwnedBy
(LivingEntity p_21831_) boolean
Mob.isWithinMeleeAttackRange
(LivingEntity p_217067_) void
LivingEntity.setLastHurtByMob
(LivingEntity p_21039_) void
NeutralMob.setLastHurtByMob
(LivingEntity p_21669_) void
AreaEffectCloud.setOwner
(LivingEntity p_19719_) void
Mob.setTarget
(LivingEntity p_21544_) void
NeutralMob.setTarget
(LivingEntity p_21681_) boolean
TamableAnimal.wantsToAttack
(LivingEntity p_21810_, LivingEntity p_21811_) boolean
Entity.wasKilled
(ServerLevel p_216988_, LivingEntity p_216989_) Modifier and TypeMethodDescriptionstatic boolean
GlowSquid.checkGlowSquideSpawnRules
(EntityType<? extends LivingEntity> p_217018_, ServerLevelAccessor p_217019_, MobSpawnType p_217020_, BlockPos p_217021_, RandomSource p_217022_) ModifierConstructorDescriptionprotected
LivingEntity
(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) -
Uses of LivingEntity in net.minecraft.world.entity.ai
Modifier and TypeClassDescriptionclass
Brain<E extends LivingEntity>
static final class
Brain.Provider<E extends LivingEntity>
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain.codec
(Collection<? extends MemoryModuleType<?>> p_21947_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_21948_) static <E extends LivingEntity>
Brain.Provider<E>Brain.provider
(Collection<? extends MemoryModuleType<?>> p_21924_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_21925_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
AttributeSupplier> DefaultAttributes.SUPPLIERS
Modifier and TypeMethodDescriptionstatic AttributeSupplier
DefaultAttributes.getSupplier
(EntityType<? extends LivingEntity> p_22298_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.behavior
Modifier and TypeClassDescriptionclass
Behavior<E extends LivingEntity>
class
CrossbowAttack<E extends Mob & CrossbowAttackMob,
T extends LivingEntity> class
DismountOrSkipMounting<E extends LivingEntity,
T extends Entity> class
EraseMemoryIf<E extends LivingEntity>
class
GateBehavior<E extends LivingEntity>
class
GoAndGiveItemsToTarget<E extends LivingEntity & InventoryCarrier>
class
GoToWantedItem<E extends LivingEntity>
class
InteractWith<E extends LivingEntity,
T extends LivingEntity> class
InteractWith<E extends LivingEntity,
T extends LivingEntity> class
Mount<E extends LivingEntity>
class
RunIf<E extends LivingEntity>
class
RunOne<E extends LivingEntity>
class
RunSometimes<E extends LivingEntity>
class
StayCloseToTarget<E extends LivingEntity>
Modifier and TypeFieldDescription(package private) final LivingEntity
PrepareRamNearestTarget.RamCandidate.target
Modifier and TypeFieldDescriptionprivate final Predicate<LivingEntity>
SetWalkTargetFromLookTarget.canSetWalkTargetPredicate
private final BiPredicate<LivingEntity,
LivingEntity> StartCelebratingIfTargetDead.dancePredicate
private final BiPredicate<LivingEntity,
LivingEntity> StartCelebratingIfTargetDead.dancePredicate
private Optional<LivingEntity>
SetEntityLookTarget.nearestEntityMatchingTest
private final BiConsumer<E,
LivingEntity> StopAttackingIfTargetInvalid.onTargetErased
private final Predicate<LivingEntity>
SetEntityLookTarget.predicate
private final Predicate<LivingEntity>
SetLookAndInteract.selfFilter
private final Function<LivingEntity,
Float> BabyFollowAdult.speedModifier
private final Function<LivingEntity,
Float> FollowTemptation.speedModifier
private final Function<LivingEntity,
Float> SetWalkTargetFromAttackTargetIfTargetOutOfReach.speedModifier
private final Function<LivingEntity,
Float> SetWalkTargetFromLookTarget.speedModifier
private final Predicate<LivingEntity>
StopAttackingIfTargetInvalid.stopAttackingWhen
private final Predicate<LivingEntity>
SetLookAndInteract.targetFilter
private final Function<E,
Optional<? extends LivingEntity>> StartAttacking.targetFinderFunction
private final Function<LivingEntity,
Optional<PositionTracker>> GoAndGiveItemsToTarget.targetPositionGetter
private final Function<LivingEntity,
Optional<PositionTracker>> StayCloseToTarget.targetPositionGetter
Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidGateBehavior.RunningPolicy.apply
(Stream<Behavior<? super E>> p_147532_, ServerLevel p_147533_, E p_147534_, long p_147535_) private static <E extends LivingEntity>
booleanStopAttackingIfTargetInvalid.isTiredOfTryingToReachTarget
(E p_24246_) static <T extends LivingEntity>
InteractWith<LivingEntity,T> InteractWith.of
(EntityType<? extends T> p_147567_, int p_147568_, Predicate<T> p_147569_, MemoryModuleType<T> p_147570_, float p_147571_, int p_147572_) static <T extends LivingEntity>
InteractWith<LivingEntity,T> InteractWith.of
(EntityType<? extends T> p_23261_, int p_23262_, MemoryModuleType<T> p_23263_, float p_23264_, int p_23265_) Modifier and TypeMethodDescriptionprivate static LivingEntity
CrossbowAttack.getAttackTarget
(LivingEntity p_22785_) private LivingEntity
MeleeAttack.getAttackTarget
(Mob p_23533_) private LivingEntity
StartCelebratingIfTargetDead.getAttackTarget
(LivingEntity p_24232_) private LivingEntity
StopAttackingIfTargetInvalid.getAttackTarget
(E p_24252_) static LivingEntity
BehaviorUtils.getNearestTarget
(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) private LivingEntity
PrepareRamNearestTarget.RamCandidate.getTarget()
static LivingEntity
BehaviorUtils.getTargetNearestMe
(LivingEntity p_22607_, LivingEntity p_22608_, LivingEntity p_22609_) private LivingEntity
ShowTradesToPlayer.lookAtTarget
(Villager p_24138_) private LivingEntity
PlayTagWithOtherKids.seeIfSomeoneIsChasingMe
(LivingEntity p_23658_) private LivingEntity
PlayTagWithOtherKids.whoAreYouChasing
(LivingEntity p_23640_) Modifier and TypeMethodDescriptionprivate Map<LivingEntity,
Integer> PlayTagWithOtherKids.checkHowManyChasersEachFriendHas
(PathfinderMob p_23673_) private Optional<LivingEntity>
PlayTagWithOtherKids.findSomeoneBeingChased
(PathfinderMob p_23663_) private Optional<LivingEntity>
PlayTagWithOtherKids.findSomeoneToChase
(PathfinderMob p_23648_) private List<LivingEntity>
PlayTagWithOtherKids.getFriendsNearby
(PathfinderMob p_23675_) private static com.mojang.datafixers.util.Pair<Integer,
Behavior<LivingEntity>> VillagerGoalPackages.getFullLookBehavior()
static Optional<LivingEntity>
BehaviorUtils.getLivingEntityFromUUIDMemory
(LivingEntity p_22611_, MemoryModuleType<UUID> p_22612_) private static com.mojang.datafixers.util.Pair<Integer,
Behavior<LivingEntity>> VillagerGoalPackages.getMinimalLookBehavior()
static <T extends LivingEntity>
InteractWith<LivingEntity,T> InteractWith.of
(EntityType<? extends T> p_147567_, int p_147568_, Predicate<T> p_147569_, MemoryModuleType<T> p_147570_, float p_147571_, int p_147572_) static <T extends LivingEntity>
InteractWith<LivingEntity,T> InteractWith.of
(EntityType<? extends T> p_23261_, int p_23262_, MemoryModuleType<T> p_23263_, float p_23264_, int p_23265_) Modifier and TypeMethodDescriptionprivate static boolean
InteractWithDoor.areOtherMobsComingThroughDoor
(ServerLevel p_23304_, LivingEntity p_23305_, BlockPos p_23306_) private boolean
ValidateNearbyPoi.bedIsOccupied
(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_) PrepareRamNearestTarget.calculateRammingStartPosition
(PathfinderMob p_147743_, LivingEntity p_147744_) private boolean
InteractWith.canInteract
(E p_186039_, LivingEntity p_186040_) static boolean
BehaviorUtils.canSee
(LivingEntity p_22668_, LivingEntity p_22669_) protected boolean
CountDownCooldownTicks.canStillUse
(ServerLevel p_147468_, LivingEntity p_147469_, long p_147470_) protected boolean
DoNothing.canStillUse
(ServerLevel p_22843_, LivingEntity p_22844_, long p_22845_) protected boolean
SleepInBed.canStillUse
(ServerLevel p_24161_, LivingEntity p_24162_, long p_24163_) private static void
PlayTagWithOtherKids.chaseKid
(PathfinderMob p_23650_, LivingEntity p_23651_) protected boolean
GoOutsideToCelebrate.checkExtraStartConditions
(ServerLevel p_23052_, LivingEntity p_23053_) protected boolean
InteractWithDoor.checkExtraStartConditions
(ServerLevel p_23292_, LivingEntity p_23293_) protected boolean
LocateHidingPlace.checkExtraStartConditions
(ServerLevel p_23412_, LivingEntity p_23413_) protected boolean
LocateHidingPlaceDuringRaid.checkExtraStartConditions
(ServerLevel p_23430_, LivingEntity p_23431_) protected boolean
MoveToSkySeeingSpot.checkExtraStartConditions
(ServerLevel p_23552_, LivingEntity p_23553_) protected boolean
ResetRaidStatus.checkExtraStartConditions
(ServerLevel p_23781_, LivingEntity p_23782_) protected boolean
RingBell.checkExtraStartConditions
(ServerLevel p_23789_, LivingEntity p_23790_) protected boolean
SetClosestHomeAsWalkTarget.checkExtraStartConditions
(ServerLevel p_23879_, LivingEntity p_23880_) protected boolean
SetEntityLookTarget.checkExtraStartConditions
(ServerLevel p_23903_, LivingEntity p_23904_) boolean
SetLookAndInteract.checkExtraStartConditions
(ServerLevel p_23950_, LivingEntity p_23951_) protected boolean
SetRaidStatus.checkExtraStartConditions
(ServerLevel p_23976_, LivingEntity p_23977_) protected boolean
SetWalkTargetFromLookTarget.checkExtraStartConditions
(ServerLevel p_182366_, LivingEntity p_182367_) protected boolean
SleepInBed.checkExtraStartConditions
(ServerLevel p_24154_, LivingEntity p_24155_) protected boolean
SocializeAtBell.checkExtraStartConditions
(ServerLevel p_24170_, LivingEntity p_24171_) protected boolean
StartCelebratingIfTargetDead.checkExtraStartConditions
(ServerLevel p_24225_, LivingEntity p_24226_) protected boolean
ValidateNearbyPoi.checkExtraStartConditions
(ServerLevel p_24521_, LivingEntity p_24522_) protected boolean
WakeUp.checkExtraStartConditions
(ServerLevel p_24709_, LivingEntity p_24710_) private void
PrepareRamNearestTarget.chooseRamPosition
(PathfinderMob p_147766_, LivingEntity p_147767_) private void
SetWalkTargetFromAttackTargetIfTargetOutOfReach.clearWalkTarget
(LivingEntity p_24036_) static void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel p_23299_, LivingEntity p_23300_, Node p_23301_, Node p_23302_) private void
CrossbowAttack.crossbowAttack
(E p_22787_, LivingEntity p_22788_) static boolean
BehaviorUtils.entityIsVisible
(Brain<?> p_22637_, LivingEntity p_22638_) private void
ShowTradesToPlayer.findItemsToDisplay
(LivingEntity p_24113_, Villager p_24114_) private void
PlayTagWithOtherKids.fleeFromChaser
(ServerLevel p_23636_, PathfinderMob p_23637_, LivingEntity p_23638_) private static LivingEntity
CrossbowAttack.getAttackTarget
(LivingEntity p_22785_) private LivingEntity
StartCelebratingIfTargetDead.getAttackTarget
(LivingEntity p_24232_) CountDownCooldownTicks.getCooldownTickMemory
(LivingEntity p_147466_) static Optional<LivingEntity>
BehaviorUtils.getLivingEntityFromUUIDMemory
(LivingEntity p_22611_, MemoryModuleType<UUID> p_22612_) static LivingEntity
BehaviorUtils.getNearestTarget
(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) private Vec3
MoveToSkySeeingSpot.getOutdoorPosition
(ServerLevel p_23565_, LivingEntity p_23566_) static LivingEntity
BehaviorUtils.getTargetNearestMe
(LivingEntity p_22607_, LivingEntity p_22608_, LivingEntity p_22609_) private NearestVisibleLivingEntities
SetLookAndInteract.getVisibleEntities
(LivingEntity p_186061_) static boolean
VillagerPanicTrigger.hasHostile
(LivingEntity p_24688_) static boolean
MoveToSkySeeingSpot.hasNoBlocksAbove
(ServerLevel p_23559_, LivingEntity p_23560_, BlockPos p_23561_) static boolean
BehaviorUtils.isBreeding
(LivingEntity p_217127_) private boolean
PlayTagWithOtherKids.isChasingSomeone
(LivingEntity p_23668_) private static boolean
InteractWithDoor.isDoorTooFarAway
(ServerLevel p_23308_, LivingEntity p_23309_, GlobalPos p_23310_) private boolean
PlayTagWithOtherKids.isFriendChasingMe
(LivingEntity p_23642_, LivingEntity p_23643_) static boolean
VillagerPanicTrigger.isHurt
(LivingEntity p_24698_) private boolean
SetLookAndInteract.isMatchingTarget
(LivingEntity p_23957_) private static boolean
InteractWithDoor.isMobComingThroughDoor
(ServerLevel p_23322_, LivingEntity p_23323_, BlockPos p_23324_) static boolean
BehaviorUtils.isOtherTargetMuchFurtherAwayThanCurrentAttackTarget
(LivingEntity p_22599_, LivingEntity p_22600_, double p_22601_) private boolean
InteractWith.isTargetValid
(LivingEntity p_23279_) boolean
BlockPosTracker.isVisibleBy
(LivingEntity p_22679_) boolean
EntityTracker.isVisibleBy
(LivingEntity p_22853_) boolean
PositionTracker.isVisibleBy
(LivingEntity p_23739_) static boolean
BehaviorUtils.isWithinAttackRange
(Mob p_22633_, LivingEntity p_22634_, int p_22635_) static void
BehaviorUtils.lockGazeAndWalkToEachOther
(LivingEntity p_22603_, LivingEntity p_22604_, float p_22605_) private static void
BehaviorUtils.lookAtEachOther
(LivingEntity p_22671_, LivingEntity p_22672_) static void
BehaviorUtils.lookAtEntity
(LivingEntity p_22596_, LivingEntity p_22597_) private void
CrossbowAttack.lookAtTarget
(Mob p_22798_, LivingEntity p_22799_) private void
InteractWithDoor.rememberDoorToClose
(ServerLevel p_23326_, LivingEntity p_23327_, BlockPos p_23328_) private LivingEntity
PlayTagWithOtherKids.seeIfSomeoneIsChasingMe
(LivingEntity p_23658_) static <E extends Mob>
voidStartAttacking.setAttackTarget
(E p_24214_, LivingEntity p_24215_) private void
SetWalkTargetFromAttackTargetIfTargetOutOfReach.setWalkAndLookTarget
(LivingEntity p_24038_, LivingEntity p_24039_) static void
BehaviorUtils.setWalkAndLookTargetMemories
(LivingEntity p_22618_, BlockPos p_22619_, float p_22620_, int p_22621_) static void
BehaviorUtils.setWalkAndLookTargetMemories
(LivingEntity p_217129_, PositionTracker p_217130_, float p_217131_, int p_217132_) static void
BehaviorUtils.setWalkAndLookTargetMemories
(LivingEntity p_22591_, Entity p_22592_, float p_22593_, int p_22594_) private static void
BehaviorUtils.setWalkAndLookTargetMemoriesToEachOther
(LivingEntity p_22661_, LivingEntity p_22662_, float p_22663_) protected void
BecomePassiveIfMemoryPresent.start
(ServerLevel p_22519_, LivingEntity p_22520_, long p_22521_) protected void
InteractWithDoor.start
(ServerLevel p_23295_, LivingEntity p_23296_, long p_23297_) protected void
LocateHidingPlace.start
(ServerLevel p_23415_, LivingEntity p_23416_, long p_23417_) protected void
MoveToSkySeeingSpot.start
(ServerLevel p_23555_, LivingEntity p_23556_, long p_23557_) protected void
ReactToBell.start
(ServerLevel p_23761_, LivingEntity p_23762_, long p_23763_) protected void
ResetRaidStatus.start
(ServerLevel p_23784_, LivingEntity p_23785_, long p_23786_) protected void
RingBell.start
(ServerLevel p_23792_, LivingEntity p_23793_, long p_23794_) protected void
SetClosestHomeAsWalkTarget.start
(ServerLevel p_23882_, LivingEntity p_23883_, long p_23884_) protected void
SetEntityLookTarget.start
(ServerLevel p_23906_, LivingEntity p_23907_, long p_23908_) protected void
SetHiddenState.start
(ServerLevel p_23934_, LivingEntity p_23935_, long p_23936_) void
SetLookAndInteract.start
(ServerLevel p_23953_, LivingEntity p_23954_, long p_23955_) protected void
SetRaidStatus.start
(ServerLevel p_23979_, LivingEntity p_23980_, long p_23981_) protected void
SetWalkTargetFromLookTarget.start
(ServerLevel p_24087_, LivingEntity p_24088_, long p_24089_) protected void
SleepInBed.start
(ServerLevel p_24157_, LivingEntity p_24158_, long p_24159_) protected void
SocializeAtBell.start
(ServerLevel p_24173_, LivingEntity p_24174_, long p_24175_) protected void
StartCelebratingIfTargetDead.start
(ServerLevel p_24228_, LivingEntity p_24229_, long p_24230_) protected void
UpdateActivityFromSchedule.start
(ServerLevel p_24458_, LivingEntity p_24459_, long p_24460_) protected void
ValidateNearbyPoi.start
(ServerLevel p_24524_, LivingEntity p_24525_, long p_24526_) protected void
WakeUp.start
(ServerLevel p_24712_, LivingEntity p_24713_, long p_24714_) protected void
CountDownCooldownTicks.stop
(ServerLevel p_147472_, LivingEntity p_147473_, long p_147474_) protected void
SleepInBed.stop
(ServerLevel p_24165_, LivingEntity p_24166_, long p_24167_) private void
GiveGiftToHero.throwGift
(Villager p_23012_, LivingEntity p_23013_) private static void
TradeWithVillager.throwHalfStack
(Villager p_24426_, Set<Item> p_24427_, LivingEntity p_24428_) static void
BehaviorUtils.throwItem
(LivingEntity p_22614_, ItemStack p_22615_, Vec3 p_22616_) static void
BehaviorUtils.throwItem
(LivingEntity p_217134_, ItemStack p_217135_, Vec3 p_217136_, Vec3 p_217137_, float p_217138_) static void
GoAndGiveItemsToTarget.throwItem
(LivingEntity p_217208_, ItemStack p_217209_, Vec3 p_217210_) protected void
CountDownCooldownTicks.tick
(ServerLevel p_147476_, LivingEntity p_147477_, long p_147478_) private LivingEntity
PlayTagWithOtherKids.whoAreYouChasing
(LivingEntity p_23640_) Modifier and TypeMethodDescriptionstatic LivingEntity
BehaviorUtils.getNearestTarget
(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) private static boolean
BehaviorUtils.targetIsValid
(Brain<?> p_22644_, MemoryModuleType<? extends LivingEntity> p_22645_, Predicate<LivingEntity> p_22646_) private static boolean
BehaviorUtils.targetIsValid
(Brain<?> p_22644_, MemoryModuleType<? extends LivingEntity> p_22645_, Predicate<LivingEntity> p_22646_) static boolean
BehaviorUtils.targetIsValid
(Brain<?> p_22640_, MemoryModuleType<? extends LivingEntity> p_22641_, EntityType<?> p_22642_) ModifierConstructorDescriptionRamCandidate
(BlockPos p_147794_, BlockPos p_147795_, LivingEntity p_147796_) ModifierConstructorDescriptionBabyFollowAdult
(UniformInt p_147417_, Function<LivingEntity, Float> p_147418_) FollowTemptation
(Function<LivingEntity, Float> p_147486_) GoAndGiveItemsToTarget
(Function<LivingEntity, Optional<PositionTracker>> p_217193_, float p_217194_) SetEntityLookTarget
(Predicate<LivingEntity> p_23900_, float p_23901_) SetLookAndInteract
(EntityType<?> p_23945_, int p_23946_, Predicate<LivingEntity> p_23947_, Predicate<LivingEntity> p_23948_) SetWalkTargetFromLookTarget
(Predicate<LivingEntity> p_182359_, Function<LivingEntity, Float> p_182360_, int p_182361_) SetWalkTargetFromLookTarget
(Predicate<LivingEntity> p_182359_, Function<LivingEntity, Float> p_182360_, int p_182361_) StartAttacking
(Function<E, Optional<? extends LivingEntity>> p_24193_) StartAttacking
(Predicate<E> p_24195_, Function<E, Optional<? extends LivingEntity>> p_24196_) StartAttacking
(Predicate<E> p_217378_, Function<E, Optional<? extends LivingEntity>> p_217379_, int p_217380_) StartCelebratingIfTargetDead
(int p_24222_, BiPredicate<LivingEntity, LivingEntity> p_24223_) StartCelebratingIfTargetDead
(int p_24222_, BiPredicate<LivingEntity, LivingEntity> p_24223_) StayCloseToTarget
(Function<LivingEntity, Optional<PositionTracker>> p_217386_, int p_217387_, int p_217388_, float p_217389_) StopAttackingIfTargetInvalid
(BiConsumer<E, LivingEntity> p_217399_) StopAttackingIfTargetInvalid
(Predicate<LivingEntity> p_24236_) StopAttackingIfTargetInvalid
(Predicate<LivingEntity> p_217401_, BiConsumer<E, LivingEntity> p_217402_) StopAttackingIfTargetInvalid
(Predicate<LivingEntity> p_217401_, BiConsumer<E, LivingEntity> p_217402_) StopAttackingIfTargetInvalid
(Predicate<LivingEntity> p_217404_, BiConsumer<E, LivingEntity> p_217405_, boolean p_217406_) StopAttackingIfTargetInvalid
(Predicate<LivingEntity> p_217404_, BiConsumer<E, LivingEntity> p_217405_, boolean p_217406_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.behavior.warden
Modifier and TypeFieldDescriptionprivate final Function<E,
Optional<? extends LivingEntity>> SetRoarTarget.targetFinderFunction
Modifier and TypeMethodDescriptionprotected boolean
ForceUnmount.checkExtraStartConditions
(ServerLevel p_238424_, LivingEntity p_238425_) static void
SonicBoom.setCooldown
(LivingEntity p_217699_, int p_217700_) protected void
ForceUnmount.start
(ServerLevel p_238410_, LivingEntity p_238411_, long p_238412_) ModifierConstructorDescriptionSetRoarTarget
(Function<E, Optional<? extends LivingEntity>> p_217609_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.goal
Modifier and TypeFieldDescriptionprivate LivingEntity
FollowOwnerGoal.owner
private LivingEntity
LeapAtTargetGoal.target
private LivingEntity
MoveTowardsTargetGoal.target
private LivingEntity
OcelotAttackGoal.target
private LivingEntity
RangedAttackGoal.target
private LivingEntity
SwellGoal.target
protected T
AvoidEntityGoal.toAvoid
Modifier and TypeFieldDescriptionprotected final Predicate<LivingEntity>
AvoidEntityGoal.avoidPredicate
protected final Class<? extends LivingEntity>
LookAtPlayerGoal.lookAtType
protected final Predicate<LivingEntity>
AvoidEntityGoal.predicateOnAvoidEntity
Modifier and TypeMethodDescriptionprotected void
MeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_25557_, double p_25558_) protected double
MeleeAttackGoal.getAttackReachSqr
(LivingEntity p_25556_) private boolean
TemptGoal.shouldFollow
(LivingEntity p_148139_) ModifierConstructorDescriptionAvoidEntityGoal
(PathfinderMob p_25033_, Class<T> p_25034_, float p_25035_, double p_25036_, double p_25037_, Predicate<LivingEntity> p_25038_) AvoidEntityGoal
(PathfinderMob p_25040_, Class<T> p_25041_, Predicate<LivingEntity> p_25042_, float p_25043_, double p_25044_, double p_25045_, Predicate<LivingEntity> p_25046_) InteractGoal
(Mob p_148111_, Class<? extends LivingEntity> p_148112_, float p_148113_) InteractGoal
(Mob p_25415_, Class<? extends LivingEntity> p_25416_, float p_25417_, float p_25418_) LookAtPlayerGoal
(Mob p_25520_, Class<? extends LivingEntity> p_25521_, float p_25522_) LookAtPlayerGoal
(Mob p_25524_, Class<? extends LivingEntity> p_25525_, float p_25526_, float p_25527_) LookAtPlayerGoal
(Mob p_148118_, Class<? extends LivingEntity> p_148119_, float p_148120_, float p_148121_, boolean p_148122_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.goal.target
Modifier and TypeClassDescriptionclass
NearestAttackableTargetGoal<T extends LivingEntity>
class
NearestAttackableWitchTargetGoal<T extends LivingEntity>
class
NearestHealableRaiderTargetGoal<T extends LivingEntity>
class
NonTameRandomTargetGoal<T extends LivingEntity>
Modifier and TypeFieldDescriptionprivate LivingEntity
OwnerHurtTargetGoal.ownerLastHurt
private LivingEntity
OwnerHurtByTargetGoal.ownerLastHurtBy
private LivingEntity
DefendVillageTargetGoal.potentialTarget
protected LivingEntity
NearestAttackableTargetGoal.target
protected LivingEntity
TargetGoal.targetMob
Modifier and TypeMethodDescriptionprotected void
HurtByTargetGoal.alertOther
(Mob p_26042_, LivingEntity p_26043_) protected boolean
TargetGoal.canAttack
(LivingEntity p_26151_, TargetingConditions p_26152_) private boolean
TargetGoal.canReach
(LivingEntity p_26149_) void
NearestAttackableTargetGoal.setTarget
(LivingEntity p_26071_) ModifierConstructorDescriptionNearestAttackableTargetGoal
(Mob p_199891_, Class<T> p_199892_, boolean p_199893_, Predicate<LivingEntity> p_199894_) NearestAttackableTargetGoal
(Mob p_26053_, Class<T> p_26054_, int p_26055_, boolean p_26056_, boolean p_26057_, Predicate<LivingEntity> p_26058_) NearestAttackableWitchTargetGoal
(Raider p_26076_, Class<T> p_26077_, int p_26078_, boolean p_26079_, boolean p_26080_, Predicate<LivingEntity> p_26081_) NearestHealableRaiderTargetGoal
(Raider p_26087_, Class<T> p_26088_, boolean p_26089_, Predicate<LivingEntity> p_26090_) NonTameRandomTargetGoal
(TamableAnimal p_26097_, Class<T> p_26098_, boolean p_26099_, Predicate<LivingEntity> p_26100_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<LivingEntity>
MemoryModuleType.ATTACK_TARGET
static final MemoryModuleType<LivingEntity>
MemoryModuleType.AVOID_TARGET
static final MemoryModuleType<LivingEntity>
MemoryModuleType.HURT_BY_ENTITY
static final MemoryModuleType<LivingEntity>
MemoryModuleType.INTERACTION_TARGET
private final Predicate<LivingEntity>
NearestVisibleLivingEntities.lineOfSightTest
private final List<LivingEntity>
NearestVisibleLivingEntities.nearbyEntities
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_ATTACKABLE
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_HOSTILE
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.NEAREST_LIVING_ENTITIES
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_VISIBLE_ZOMBIFIED
static final MemoryModuleType<LivingEntity>
MemoryModuleType.ROAR_TARGET
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.VISIBLE_VILLAGER_BABIES
Modifier and TypeMethodDescriptionNearestVisibleLivingEntities.find
(Predicate<LivingEntity> p_186129_) NearestVisibleLivingEntities.findAll
(Predicate<LivingEntity> p_186124_) NearestVisibleLivingEntities.findClosest
(Predicate<LivingEntity> p_186117_) Modifier and TypeMethodDescriptionboolean
NearestVisibleLivingEntities.contains
(LivingEntity p_186108_) Modifier and TypeMethodDescriptionboolean
NearestVisibleLivingEntities.contains
(Predicate<LivingEntity> p_186131_) NearestVisibleLivingEntities.find
(Predicate<LivingEntity> p_186129_) NearestVisibleLivingEntities.findAll
(Predicate<LivingEntity> p_186124_) NearestVisibleLivingEntities.findClosest
(Predicate<LivingEntity> p_186117_) ModifierConstructorDescriptionNearestVisibleLivingEntities
(LivingEntity p_186104_, List<LivingEntity> p_186105_) ModifierConstructorDescriptionNearestVisibleLivingEntities
(LivingEntity p_186104_, List<LivingEntity> p_186105_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.sensing
Modifier and TypeClassDescriptionclass
NearestLivingEntitySensor<T extends LivingEntity>
class
Sensor<E extends LivingEntity>
Modifier and TypeFieldDescriptionstatic final SensorType<NearestLivingEntitySensor<LivingEntity>>
SensorType.NEAREST_LIVING_ENTITIES
Modifier and TypeMethodDescriptionprivate static Optional<LivingEntity>
WardenEntitySensor.getClosest
(Warden p_217843_, Predicate<LivingEntity> p_217844_) protected MemoryModuleType<LivingEntity>
AxolotlAttackablesSensor.getMemory()
protected MemoryModuleType<LivingEntity>
FrogAttackablesSensor.getMemory()
protected abstract MemoryModuleType<LivingEntity>
NearestVisibleLivingEntitySensor.getMemory()
protected MemoryModuleType<LivingEntity>
VillagerHostilesSensor.getMemory()
private Optional<LivingEntity>
NearestVisibleLivingEntitySensor.getNearestEntity
(LivingEntity p_148298_) private List<LivingEntity>
VillagerBabiesSensor.getNearestVillagerBabies
(LivingEntity p_26837_) Modifier and TypeMethodDescriptionstatic void
GolemSensor.checkForNearbyGolem
(LivingEntity p_26648_) protected void
DummySensor.doTick
(ServerLevel p_26638_, LivingEntity p_26639_) protected void
GolemSensor.doTick
(ServerLevel p_26645_, LivingEntity p_26646_) protected void
HurtBySensor.doTick
(ServerLevel p_26670_, LivingEntity p_26671_) protected void
IsInWaterSensor.doTick
(ServerLevel p_217816_, LivingEntity p_217817_) protected void
NearestVisibleLivingEntitySensor.doTick
(ServerLevel p_148288_, LivingEntity p_148289_) protected void
PiglinBruteSpecificSensor.doTick
(ServerLevel p_26721_, LivingEntity p_26722_) protected void
PiglinSpecificSensor.doTick
(ServerLevel p_26726_, LivingEntity p_26727_) protected void
PlayerSensor.doTick
(ServerLevel p_26740_, LivingEntity p_26741_) protected void
VillagerBabiesSensor.doTick
(ServerLevel p_26834_, LivingEntity p_26835_) PiglinSpecificSensor.findNearestRepellent
(ServerLevel p_26735_, LivingEntity p_26736_) private Optional<LivingEntity>
NearestVisibleLivingEntitySensor.getNearestEntity
(LivingEntity p_148298_) private List<LivingEntity>
VillagerBabiesSensor.getNearestVillagerBabies
(LivingEntity p_26837_) protected Optional<NearestVisibleLivingEntities>
NearestVisibleLivingEntitySensor.getVisibleEntities
(LivingEntity p_148291_) private NearestVisibleLivingEntities
VillagerBabiesSensor.getVisibleEntities
(LivingEntity p_186204_) static void
GolemSensor.golemDetected
(LivingEntity p_26650_) private boolean
AxolotlAttackablesSensor.isClose
(LivingEntity p_148275_, LivingEntity p_148276_) private boolean
VillagerHostilesSensor.isClose
(LivingEntity p_26861_, LivingEntity p_26862_) static boolean
Sensor.isEntityAttackable
(LivingEntity p_148313_, LivingEntity p_148314_) static boolean
Sensor.isEntityAttackableIgnoringLineOfSight
(LivingEntity p_182378_, LivingEntity p_182379_) static boolean
Sensor.isEntityTargetable
(LivingEntity p_26804_, LivingEntity p_26805_) private boolean
VillagerHostilesSensor.isHostile
(LivingEntity p_26868_) private boolean
AxolotlAttackablesSensor.isHostileTarget
(LivingEntity p_148270_) private boolean
AxolotlAttackablesSensor.isHuntTarget
(LivingEntity p_148272_, LivingEntity p_148273_) protected boolean
AxolotlAttackablesSensor.isMatchingEntity
(LivingEntity p_148266_, LivingEntity p_148267_) protected boolean
FrogAttackablesSensor.isMatchingEntity
(LivingEntity p_217810_, LivingEntity p_217811_) protected abstract boolean
NearestVisibleLivingEntitySensor.isMatchingEntity
(LivingEntity p_148292_, LivingEntity p_148293_) protected boolean
VillagerHostilesSensor.isMatchingEntity
(LivingEntity p_148344_, LivingEntity p_148345_) private boolean
FrogAttackablesSensor.isUnreachableAttackTarget
(LivingEntity p_238336_, LivingEntity p_238337_) private boolean
VillagerBabiesSensor.isVillagerBaby
(LivingEntity p_26839_) Modifier and TypeMethodDescriptionprivate static Optional<LivingEntity>
WardenEntitySensor.getClosest
(Warden p_217843_, Predicate<LivingEntity> p_217844_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.targeting
Modifier and TypeMethodDescriptionboolean
TargetingConditions.test
(LivingEntity p_26886_, LivingEntity p_26887_) -
Uses of LivingEntity in net.minecraft.world.entity.ambient
-
Uses of LivingEntity in net.minecraft.world.entity.animal
Modifier and TypeClassDescription(package private) static class
Cat.CatAvoidEntityGoal<T extends LivingEntity>
(package private) static class
Ocelot.OcelotAvoidEntityGoal<T extends LivingEntity>
(package private) static class
Panda.PandaAvoidGoal<T extends LivingEntity>
(package private) static class
Rabbit.RabbitAvoidEntityGoal<T extends LivingEntity>
(package private) class
Wolf.WolfAvoidEntityGoal<T extends LivingEntity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
Fox.DefendTrustedTargetGoal.trustedLastHurt
private LivingEntity
Fox.DefendTrustedTargetGoal.trustedLastHurtBy
Modifier and TypeFieldDescriptionstatic final Predicate<LivingEntity>
Turtle.BABY_ON_LAND_SELECTOR
static final Predicate<LivingEntity>
Wolf.PREY_SELECTOR
private static final Predicate<LivingEntity>
Pufferfish.SCARY_MOB
Modifier and TypeMethodDescriptionstatic <T extends LivingEntity & Bucketable>
Optional<InteractionResult>Bucketable.bucketMobPickup
(Player p_148829_, InteractionHand p_148830_, T p_148831_) Modifier and TypeMethodDescriptionprotected void
Bee.BeeHurtByOtherGoal.alertOther
(Mob p_28035_, LivingEntity p_28036_) protected void
Panda.PandaHurtByTargetGoal.alertOther
(Mob p_29295_, LivingEntity p_29296_) protected void
PolarBear.PolarBearHurtByTargetGoal.alertOther
(Mob p_29580_, LivingEntity p_29581_) protected void
Fox.FoxMeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_28724_, double p_28725_) protected void
PolarBear.PolarBearMeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_29589_, double p_29590_) protected double
PolarBear.PolarBearMeleeAttackGoal.getAttackReachSqr
(LivingEntity p_29587_) protected double
Rabbit.EvilRabbitAttackGoal.getAttackReachSqr
(LivingEntity p_29740_) Pig.getDismountLocationForPassenger
(LivingEntity p_29487_) static boolean
Fox.isPathClear
(Fox p_28472_, LivingEntity p_28473_) void
SnowGolem.performRangedAttack
(LivingEntity p_29912_, float p_29913_) void
Fox.setTarget
(LivingEntity p_28574_) void
Panda.PandaLookAtPlayerGoal.setTarget
(LivingEntity p_29313_) boolean
Fox.FoxAlertableEntitiesSelector.test
(LivingEntity p_28653_) boolean
Wolf.wantsToAttack
(LivingEntity p_30389_, LivingEntity p_30390_) ModifierConstructorDescriptionDefendTrustedTargetGoal
(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, Predicate<LivingEntity> p_28637_) DefendTrustedTargetGoal
(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, Predicate<LivingEntity> p_28637_) FoxLookAtPlayerGoal
(Mob p_28707_, Class<? extends LivingEntity> p_28708_, float p_28709_) PandaLookAtPlayerGoal
(Panda p_29308_, Class<? extends LivingEntity> p_29309_, float p_29310_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionprivate static Optional<PositionTracker>
AllayAi.getItemDepositPosition
(LivingEntity p_218424_) static Optional<ServerPlayer>
AllayAi.getLikedPlayer
(LivingEntity p_218411_) private static Optional<PositionTracker>
AllayAi.getLikedPlayerPositionTracker
(LivingEntity p_218430_) static void
AllayAi.hearNoteblock
(LivingEntity p_218417_, BlockPos p_218418_) private static boolean
AllayAi.shouldDepositItemsAtLikedNoteblock
(LivingEntity p_218413_, Brain<?> p_218414_, GlobalPos p_218415_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
AxolotlAi.findNearestValidAttackTarget
(Axolotl p_149299_) Modifier and TypeMethodDescriptionprivate static boolean
AxolotlAi.canSetWalkTargetFromLookTarget
(LivingEntity p_182381_) double
Axolotl.getMeleeAttackRangeSqr
(LivingEntity p_149185_) private static float
AxolotlAi.getSpeedModifier
(LivingEntity p_149301_) private static float
AxolotlAi.getSpeedModifierChasing
(LivingEntity p_149289_) private static float
AxolotlAi.getSpeedModifierFollowingAdult
(LivingEntity p_149295_) static void
Axolotl.onStopAttacking
(Axolotl p_218444_, LivingEntity p_218445_) Modifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> p_218438_, ServerLevelAccessor p_218439_, MobSpawnType p_218440_, BlockPos p_218441_, RandomSource p_218442_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionprivate void
ShootTongue.addUnreachableTargetToMemory
(Frog p_238444_, LivingEntity p_243335_) static boolean
Frog.canEat
(LivingEntity p_218533_) private boolean
ShootTongue.canPathfindToTarget
(Frog p_238359_, LivingEntity p_238360_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.goat
-
Uses of LivingEntity in net.minecraft.world.entity.animal.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
TraderLlama.TraderLlamaDefendWanderingTraderGoal.ownerLastHurtBy
Modifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>
AbstractHorse.PARENT_HORSE_SELECTOR
Modifier and TypeMethodDescriptionAbstractHorse.getControllingPassenger()
Llama.getControllingPassenger()
Modifier and TypeMethodDescriptionAbstractHorse.getDismountLocationForPassenger
(LivingEntity p_30576_) private Vec3
AbstractHorse.getDismountLocationInDirection
(Vec3 p_30562_, LivingEntity p_30563_) void
Llama.performRangedAttack
(LivingEntity p_30762_, float p_30763_) private void
Llama.spit
(LivingEntity p_30828_) -
Uses of LivingEntity in net.minecraft.world.entity.boss.enderdragon
-
Uses of LivingEntity in net.minecraft.world.entity.boss.enderdragon.phases
-
Uses of LivingEntity in net.minecraft.world.entity.boss.wither
Modifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity>
WitherBoss.LIVING_ENTITY_SELECTOR
Modifier and TypeMethodDescriptionprivate void
WitherBoss.performRangedAttack
(int p_31458_, LivingEntity p_31459_) void
WitherBoss.performRangedAttack
(LivingEntity p_31468_, float p_31469_) -
Uses of LivingEntity in net.minecraft.world.entity.decoration
-
Uses of LivingEntity in net.minecraft.world.entity.item
ModifierConstructorDescriptionPrimedTnt
(Level p_32079_, double p_32080_, double p_32081_, double p_32082_, LivingEntity p_32083_) -
Uses of LivingEntity in net.minecraft.world.entity.monster
Modifier and TypeClassDescription(package private) static class
Spider.SpiderTargetGoal<T extends LivingEntity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate LivingEntity
Guardian.clientSideCachedAttackTarget
private LivingEntity
EnderMan.EndermanFreezeWhenLookedAt.target
Modifier and TypeMethodDescriptionprivate Optional<? extends LivingEntity>
Zoglin.findNearestValidAttackTarget()
Modifier and TypeMethodDescriptionprotected void
Ravager.blockedByShield
(LivingEntity p_33361_) protected void
Zoglin.blockedByShield
(LivingEntity p_34246_) boolean
AbstractIllager.canAttack
(LivingEntity p_186270_) protected void
Slime.dealDamage
(LivingEntity p_33638_) protected double
Ravager.RavagerMeleeAttackGoal.getAttackReachSqr
(LivingEntity p_33377_) protected double
Spider.SpiderAttackGoal.getAttackReachSqr
(LivingEntity p_33825_) protected double
Vindicator.VindicatorMeleeAttackGoal.getAttackReachSqr
(LivingEntity p_34125_) Strider.getDismountLocationForPassenger
(LivingEntity p_33908_) default Vector3f
CrossbowAttackMob.getProjectileShotVector
(LivingEntity p_32333_, Vec3 p_32334_, float p_32335_) private boolean
Zoglin.isTargetable
(LivingEntity p_34253_) boolean
Drowned.okTarget
(LivingEntity p_32396_) default void
CrossbowAttackMob.performCrossbowAttack
(LivingEntity p_32337_, float p_32338_) void
AbstractSkeleton.performRangedAttack
(LivingEntity p_32141_, float p_32142_) void
Drowned.performRangedAttack
(LivingEntity p_32356_, float p_32357_) void
Illusioner.performRangedAttack
(LivingEntity p_32918_, float p_32919_) void
Pillager.performRangedAttack
(LivingEntity p_33272_, float p_33273_) void
RangedAttackMob.performRangedAttack
(LivingEntity p_33317_, float p_33318_) void
Witch.performRangedAttack
(LivingEntity p_34143_, float p_34144_) private void
Zoglin.setAttackTarget
(LivingEntity p_34255_) void
Creeper.setTarget
(LivingEntity p_149691_) void
EnderMan.setTarget
(LivingEntity p_32537_) void
ZombifiedPiglin.setTarget
(LivingEntity p_34478_) default void
CrossbowAttackMob.shootCrossbowProjectile
(LivingEntity p_32323_, LivingEntity p_32324_, Projectile p_32325_, float p_32326_, float p_32327_) void
CrossbowAttackMob.shootCrossbowProjectile
(LivingEntity p_32328_, ItemStack p_32329_, Projectile p_32330_, float p_32331_) void
Pillager.shootCrossbowProjectile
(LivingEntity p_33275_, ItemStack p_33276_, Projectile p_33277_, float p_33278_) boolean
Guardian.GuardianAttackSelector.test
(LivingEntity p_32881_) boolean
Zombie.wasKilled
(ServerLevel p_219160_, LivingEntity p_219161_) ModifierConstructorDescriptionEndermanLookForPlayerGoal
(EnderMan p_32573_, Predicate<LivingEntity> p_32574_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
HoglinAi.findNearestValidAttackTarget
(Hoglin p_34611_) Modifier and TypeMethodDescriptionprotected void
Hoglin.blockedByShield
(LivingEntity p_34550_) private static void
HoglinAi.broadcastAttackTarget
(Hoglin p_34635_, LivingEntity p_34636_) private static void
HoglinAi.broadcastRetreat
(Hoglin p_34606_, LivingEntity p_34607_) static boolean
HoglinBase.hurtAndThrowTarget
(LivingEntity p_34643_, LivingEntity p_34644_) private static void
HoglinAi.maybeRetaliate
(Hoglin p_34625_, LivingEntity p_34626_) protected static void
HoglinAi.onHitTarget
(Hoglin p_34580_, LivingEntity p_34581_) private static void
HoglinAi.retreatFromNearestTarget
(Hoglin p_34613_, LivingEntity p_34614_) private static void
HoglinAi.setAttackTarget
(Hoglin p_34630_, LivingEntity p_34631_) private static void
HoglinAi.setAttackTargetIfCloserThanCurrent
(Hoglin p_34640_, LivingEntity p_34641_) private static void
HoglinAi.setAvoidTarget
(Hoglin p_34620_, LivingEntity p_34621_) static void
HoglinBase.throwTarget
(LivingEntity p_34646_, LivingEntity p_34647_) protected static void
HoglinAi.wasHurtBy
(Hoglin p_34596_, LivingEntity p_34597_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate static CopyMemoryWithExpiry<Piglin,
LivingEntity> PiglinAi.avoidZombified()
private static CopyMemoryWithExpiry<Piglin,
LivingEntity> PiglinAi.babyAvoidNemesis()
private static Optional<? extends LivingEntity>
PiglinAi.findNearestValidAttackTarget
(Piglin p_35001_) private static Optional<? extends LivingEntity>
PiglinBruteAi.findNearestValidAttackTarget
(AbstractPiglin p_35087_) private static Optional<LivingEntity>
PiglinAi.getAngerTarget
(AbstractPiglin p_34976_) static Optional<LivingEntity>
PiglinAi.getAvoidTarget
(Piglin p_34987_) private static Optional<? extends LivingEntity>
PiglinBruteAi.getTargetIfWithinRange
(AbstractPiglin p_35092_, MemoryModuleType<? extends LivingEntity> p_35093_) Modifier and TypeMethodDescriptionprivate static void
PiglinAi.admireGoldItem
(LivingEntity p_34939_) protected static void
PiglinAi.broadcastAngerTarget
(AbstractPiglin p_34896_, LivingEntity p_34897_) private static void
PiglinAi.broadcastRetreat
(Piglin p_34930_, LivingEntity p_34931_) private static boolean
PiglinAi.doesntSeeAnyPlayerHoldingLovedItem
(LivingEntity p_34983_) private static boolean
PiglinAi.hasCrossbow
(LivingEntity p_34919_) private static boolean
PiglinAi.isNearestValidAttackTarget
(Piglin p_34901_, LivingEntity p_34902_) private static boolean
PiglinBruteAi.isNearestValidAttackTarget
(AbstractPiglin p_35089_, LivingEntity p_35090_) static boolean
PiglinAi.isPlayerHoldingLovedItem
(LivingEntity p_34884_) static boolean
PiglinAi.isWearingGold
(LivingEntity p_34809_) protected static void
PiglinAi.maybeRetaliate
(AbstractPiglin p_34827_, LivingEntity p_34828_) void
Piglin.performRangedAttack
(LivingEntity p_34704_, float p_34705_) private static void
PiglinAi.retreatFromNearestTarget
(Piglin p_34950_, LivingEntity p_34951_) private static boolean
PiglinAi.seesPlayerHoldingLovedItem
(LivingEntity p_34972_) protected static void
PiglinAi.setAngerTarget
(AbstractPiglin p_34925_, LivingEntity p_34926_) protected static void
PiglinBruteAi.setAngerTarget
(PiglinBrute p_149989_, LivingEntity p_149990_) private static void
PiglinAi.setAngerTargetIfCloserThanCurrent
(AbstractPiglin p_34963_, LivingEntity p_34964_) private static void
PiglinAi.setAngerTargetToNearestTargetablePlayerIfFound
(AbstractPiglin p_34945_, LivingEntity p_34946_) private static void
PiglinAi.setAvoidTargetAndDontHuntForAWhile
(Piglin p_34968_, LivingEntity p_34969_) void
Piglin.shootCrossbowProjectile
(LivingEntity p_34707_, ItemStack p_34708_, Projectile p_34709_, float p_34710_) private static boolean
PiglinAi.wantsToDance
(LivingEntity p_34811_, LivingEntity p_34812_) protected static void
PiglinAi.wasHurtBy
(Piglin p_34838_, LivingEntity p_34839_) protected static void
PiglinBruteAi.wasHurtBy
(PiglinBrute p_35097_, LivingEntity p_35098_) private static boolean
PiglinAi.wasHurtRecently
(LivingEntity p_34989_) Modifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
PiglinBruteAi.getTargetIfWithinRange
(AbstractPiglin p_35092_, MemoryModuleType<? extends LivingEntity> p_35093_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionprivate static boolean
WardenAi.isTarget
(Warden p_219515_, LivingEntity p_219516_) private static void
WardenAi.onTargetInvalid
(Warden p_219529_, LivingEntity p_219530_) void
Warden.setAttackTarget
(LivingEntity p_219460_) static void
WardenAi.setDigCooldown
(LivingEntity p_219506_) -
Uses of LivingEntity in net.minecraft.world.entity.npc
-
Uses of LivingEntity in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionprotected void
Player.blockUsingShield
(LivingEntity p_36295_) protected void
Player.doAutoAttackOnTouch
(LivingEntity p_36355_) boolean
Player.wasKilled
(ServerLevel p_219735_, LivingEntity p_219736_) -
Uses of LivingEntity in net.minecraft.world.entity.projectile
Modifier and TypeFieldDescriptionprivate LivingEntity
FireworkRocketEntity.attachedToEntity
private LivingEntity
EvokerFangs.owner
Modifier and TypeFieldDescriptionstatic final Predicate<LivingEntity>
ThrownPotion.WATER_SENSITIVE
Modifier and TypeMethodDescriptionprivate void
EvokerFangs.dealDamageTo
(LivingEntity p_36945_) protected void
AbstractArrow.doPostHurtEffects
(LivingEntity p_36744_) protected void
Arrow.doPostHurtEffects
(LivingEntity p_36873_) protected void
SpectralArrow.doPostHurtEffects
(LivingEntity p_37422_) static AbstractArrow
ProjectileUtil.getMobArrow
(LivingEntity p_37301_, ItemStack p_37302_, float p_37303_) static InteractionHand
ProjectileUtil.getWeaponHoldingHand
(LivingEntity livingEntity, Predicate<Item> itemPredicate) static InteractionHand
ProjectileUtil.getWeaponHoldingHand
(LivingEntity p_37298_, Item p_37299_) Deprecated.void
AbstractArrow.setEnchantmentEffectsFromEntity
(LivingEntity p_36746_, float p_36747_) void
EvokerFangs.setOwner
(LivingEntity p_36939_) ModifierConstructorDescriptionprotected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36717_, LivingEntity p_36718_, Level p_36719_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36826_, LivingEntity p_36827_, double p_36828_, double p_36829_, double p_36830_, Level p_36831_) Arrow
(Level p_36866_, LivingEntity p_36867_) DragonFireball
(Level p_36903_, LivingEntity p_36904_, double p_36905_, double p_36906_, double p_36907_) EvokerFangs
(Level p_36926_, double p_36927_, double p_36928_, double p_36929_, float p_36930_, int p_36931_, LivingEntity p_36932_) Fireball
(EntityType<? extends Fireball> p_36999_, LivingEntity p_37000_, double p_37001_, double p_37002_, double p_37003_, Level p_37004_) FireworkRocketEntity
(Level p_37058_, ItemStack p_37059_, LivingEntity p_37060_) LargeFireball
(Level p_181151_, LivingEntity p_181152_, double p_181153_, double p_181154_, double p_181155_, int p_181156_) ShulkerBullet
(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_) SmallFireball
(Level p_37375_, LivingEntity p_37376_, double p_37377_, double p_37378_, double p_37379_) Snowball
(Level p_37399_, LivingEntity p_37400_) SpectralArrow
(Level p_37419_, LivingEntity p_37420_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37438_, LivingEntity p_37439_, Level p_37440_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37462_, LivingEntity p_37463_, Level p_37464_) ThrownEgg
(Level p_37481_, LivingEntity p_37482_) ThrownEnderpearl
(Level p_37499_, LivingEntity p_37500_) ThrownExperienceBottle
(Level p_37518_, LivingEntity p_37519_) ThrownPotion
(Level p_37535_, LivingEntity p_37536_) ThrownTrident
(Level p_37569_, LivingEntity p_37570_, ItemStack p_37571_) WitherSkull
(Level p_37609_, LivingEntity p_37610_, double p_37611_, double p_37612_, double p_37613_) -
Uses of LivingEntity in net.minecraft.world.entity.raid
-
Uses of LivingEntity in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionstatic boolean
DismountHelper.canDismountTo
(CollisionGetter p_38457_, LivingEntity p_38458_, AABB p_38459_) static boolean
DismountHelper.canDismountTo
(CollisionGetter p_150280_, Vec3 p_150281_, LivingEntity p_150282_, Pose p_150283_) AbstractMinecart.getDismountLocationForPassenger
(LivingEntity p_38145_) Boat.getDismountLocationForPassenger
(LivingEntity p_38357_) -
Uses of LivingEntity in net.minecraft.world.food
Modifier and TypeMethodDescriptionvoid
FoodData.eat
(Item p_38713_, ItemStack p_38714_, LivingEntity entity) -
Uses of LivingEntity in net.minecraft.world.item
Modifier and TypeMethodDescription<T extends LivingEntity>
voidItemStack.hurtAndBreak
(int p_41623_, T p_41624_, Consumer<T> p_41625_) Modifier and TypeMethodDescriptionboolean
ElytraItem.canElytraFly
(ItemStack stack, LivingEntity entity) ArrowItem.createArrow
(Level p_40513_, ItemStack p_40514_, LivingEntity p_40515_) SpectralArrowItem.createArrow
(Level p_43237_, ItemStack p_43238_, LivingEntity p_43239_) boolean
ElytraItem.elytraFlightTick
(ItemStack stack, LivingEntity entity, int flightTicks) BowlFoodItem.finishUsingItem
(ItemStack p_40684_, Level p_40685_, LivingEntity p_40686_) ChorusFruitItem.finishUsingItem
(ItemStack p_40712_, Level p_40713_, LivingEntity p_40714_) HoneyBottleItem.finishUsingItem
(ItemStack p_41348_, Level p_41349_, LivingEntity p_41350_) Item.finishUsingItem
(ItemStack p_41409_, Level p_41410_, LivingEntity p_41411_) ItemStack.finishUsingItem
(Level p_41672_, LivingEntity p_41673_) MilkBucketItem.finishUsingItem
(ItemStack p_42923_, Level p_42924_, LivingEntity p_42925_) PotionItem.finishUsingItem
(ItemStack p_42984_, Level p_42985_, LivingEntity p_42986_) SpyglassItem.finishUsingItem
(ItemStack p_151209_, Level p_151210_, LivingEntity p_151211_) SuspiciousStewItem.finishUsingItem
(ItemStack p_43263_, Level p_43264_, LivingEntity p_43265_) private static AbstractArrow
CrossbowItem.getArrow
(Level p_40915_, LivingEntity p_40916_, ItemStack p_40917_, ItemStack p_40918_) static ItemStack
ProjectileWeaponItem.getHeldProjectile
(LivingEntity p_43011_, Predicate<ItemStack> p_43012_) boolean
DiggerItem.hurtEnemy
(ItemStack p_40994_, LivingEntity p_40995_, LivingEntity p_40996_) boolean
Item.hurtEnemy
(ItemStack p_41395_, LivingEntity p_41396_, LivingEntity p_41397_) void
ItemStack.hurtEnemy
(LivingEntity p_41641_, Player p_41642_) boolean
SwordItem.hurtEnemy
(ItemStack p_43278_, LivingEntity p_43279_, LivingEntity p_43280_) boolean
TridentItem.hurtEnemy
(ItemStack p_43390_, LivingEntity p_43391_, LivingEntity p_43392_) DyeItem.interactLivingEntity
(ItemStack p_41085_, Player p_41086_, LivingEntity p_41087_, InteractionHand p_41088_) Item.interactLivingEntity
(ItemStack p_41398_, Player p_41399_, LivingEntity p_41400_, InteractionHand p_41401_) ItemStack.interactLivingEntity
(Player p_41648_, LivingEntity p_41649_, InteractionHand p_41650_) NameTagItem.interactLivingEntity
(ItemStack p_42954_, Player p_42955_, LivingEntity p_42956_, InteractionHand p_42957_) SaddleItem.interactLivingEntity
(ItemStack p_43055_, Player p_43056_, LivingEntity p_43057_, InteractionHand p_43058_) ShearsItem.interactLivingEntity
(ItemStack stack, Player playerIn, LivingEntity entity, InteractionHand hand) private static boolean
CrossbowItem.loadProjectile
(LivingEntity p_40863_, ItemStack p_40864_, ItemStack p_40865_, boolean p_40866_, boolean p_40867_) boolean
DiggerItem.mineBlock
(ItemStack p_40998_, Level p_40999_, BlockState p_41000_, BlockPos p_41001_, LivingEntity p_41002_) boolean
Item.mineBlock
(ItemStack p_41416_, Level p_41417_, BlockState p_41418_, BlockPos p_41419_, LivingEntity p_41420_) boolean
ShearsItem.mineBlock
(ItemStack p_43078_, Level p_43079_, BlockState p_43080_, BlockPos p_43081_, LivingEntity p_43082_) boolean
SwordItem.mineBlock
(ItemStack p_43282_, Level p_43283_, BlockState p_43284_, BlockPos p_43285_, LivingEntity p_43286_) boolean
TridentItem.mineBlock
(ItemStack p_43399_, Level p_43400_, BlockState p_43401_, BlockPos p_43402_, LivingEntity p_43403_) private static void
CrossbowItem.onCrossbowShot
(Level p_40906_, LivingEntity p_40907_, ItemStack p_40908_) void
CrossbowItem.onUseTick
(Level p_40910_, LivingEntity p_40911_, ItemStack p_40912_, int p_40913_) void
Item.onUseTick
(Level p_41428_, LivingEntity p_41429_, ItemStack p_41430_, int p_41431_) Deprecated.Forge: Use damage source sensitive versionvoid
ItemStack.onUseTick
(Level p_41732_, LivingEntity p_41733_, int p_41734_) static void
CrossbowItem.performShooting
(Level p_40888_, LivingEntity p_40889_, InteractionHand p_40890_, ItemStack p_40891_, float p_40892_, float p_40893_) void
BowItem.releaseUsing
(ItemStack p_40667_, Level p_40668_, LivingEntity p_40669_, int p_40670_) void
CrossbowItem.releaseUsing
(ItemStack p_40875_, Level p_40876_, LivingEntity p_40877_, int p_40878_) void
Item.releaseUsing
(ItemStack p_41412_, Level p_41413_, LivingEntity p_41414_, int p_41415_) void
ItemStack.releaseUsing
(Level p_41675_, LivingEntity p_41676_, int p_41677_) void
SpyglassItem.releaseUsing
(ItemStack p_151213_, Level p_151214_, LivingEntity p_151215_, int p_151216_) void
TridentItem.releaseUsing
(ItemStack p_43394_, Level p_43395_, LivingEntity p_43396_, int p_43397_) private static void
CrossbowItem.shootProjectile
(Level p_40895_, LivingEntity p_40896_, InteractionHand p_40897_, ItemStack p_40898_, ItemStack p_40899_, float p_40900_, boolean p_40901_, float p_40902_, float p_40903_, float p_40904_) private void
SpyglassItem.stopUsing
(LivingEntity p_151207_) private static boolean
CrossbowItem.tryLoadProjectiles
(LivingEntity p_40860_, ItemStack p_40861_) -
Uses of LivingEntity in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionvoid
DamageEnchantment.doPostAttack
(LivingEntity p_44638_, Entity p_44639_, int p_44640_) void
Enchantment.doPostAttack
(LivingEntity p_44686_, Entity p_44687_, int p_44688_) static void
EnchantmentHelper.doPostDamageEffects
(LivingEntity p_44897_, Entity p_44898_) void
Enchantment.doPostHurt
(LivingEntity p_44692_, Entity p_44693_, int p_44694_) void
ThornsEnchantment.doPostHurt
(LivingEntity p_45215_, Entity p_45216_, int p_45217_) static void
EnchantmentHelper.doPostHurtEffects
(LivingEntity p_44824_, Entity p_44825_) static int
EnchantmentHelper.getBlockEfficiency
(LivingEntity p_44927_) static int
EnchantmentHelper.getDepthStrider
(LivingEntity p_44923_) static int
EnchantmentHelper.getEnchantmentLevel
(Enchantment p_44837_, LivingEntity p_44838_) static double
ProtectionEnchantment.getExplosionKnockbackAfterDampener
(LivingEntity p_45136_, double p_45137_) static int
ProtectionEnchantment.getFireAfterDampener
(LivingEntity p_45139_, int p_45140_) static int
EnchantmentHelper.getFireAspect
(LivingEntity p_44915_) static int
EnchantmentHelper.getKnockbackBonus
(LivingEntity p_44895_) static int
EnchantmentHelper.getMobLooting
(LivingEntity p_44931_) static Map.Entry<EquipmentSlot,
ItemStack> EnchantmentHelper.getRandomItemWith
(Enchantment p_44907_, LivingEntity p_44908_) static Map.Entry<EquipmentSlot,
ItemStack> EnchantmentHelper.getRandomItemWith
(Enchantment p_44840_, LivingEntity p_44841_, Predicate<ItemStack> p_44842_) static int
EnchantmentHelper.getRespiration
(LivingEntity p_44919_) Enchantment.getSlotItems
(LivingEntity p_44685_) static float
EnchantmentHelper.getSneakingSpeedBonus
(LivingEntity p_220303_) static float
EnchantmentHelper.getSweepingDamageRatio
(LivingEntity p_44822_) static boolean
EnchantmentHelper.hasAquaAffinity
(LivingEntity p_44935_) static boolean
EnchantmentHelper.hasFrostWalker
(LivingEntity p_44939_) static boolean
EnchantmentHelper.hasSoulSpeed
(LivingEntity p_44943_) static void
FrostWalkerEnchantment.onEntityMoved
(LivingEntity p_45019_, Level p_45020_, BlockPos p_45021_, int p_45022_) -
Uses of LivingEntity in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T>EntityGetter.getNearbyEntities
(Class<T> p_45972_, TargetingConditions p_45973_, LivingEntity p_45974_, AABB p_45975_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity
(Class<? extends T> p_45964_, TargetingConditions p_45965_, LivingEntity p_45966_, double p_45967_, double p_45968_, double p_45969_, AABB p_45970_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity
(List<? extends T> p_45983_, TargetingConditions p_45984_, LivingEntity p_45985_, double p_45986_, double p_45987_, double p_45988_) Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T>EntityGetter.getNearbyEntities
(Class<T> p_45972_, TargetingConditions p_45973_, LivingEntity p_45974_, AABB p_45975_) EntityGetter.getNearbyPlayers
(TargetingConditions p_45956_, LivingEntity p_45957_, AABB p_45958_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity
(Class<? extends T> p_45964_, TargetingConditions p_45965_, LivingEntity p_45966_, double p_45967_, double p_45968_, double p_45969_, AABB p_45970_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity
(List<? extends T> p_45983_, TargetingConditions p_45984_, LivingEntity p_45985_, double p_45986_, double p_45987_, double p_45988_) default Player
EntityGetter.getNearestPlayer
(TargetingConditions p_45947_, LivingEntity p_45948_) default Player
EntityGetter.getNearestPlayer
(TargetingConditions p_45950_, LivingEntity p_45951_, double p_45952_, double p_45953_, double p_45954_) -
Uses of LivingEntity in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate static void
TntBlock.explode
(Level p_57437_, BlockPos p_57438_, LivingEntity p_57439_) Deprecated.boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) void
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) void
AbstractBannerBlock.setPlacedBy
(Level p_48668_, BlockPos p_48669_, BlockState p_48670_, LivingEntity p_48671_, ItemStack p_48672_) void
AbstractFurnaceBlock.setPlacedBy
(Level p_48694_, BlockPos p_48695_, BlockState p_48696_, LivingEntity p_48697_, ItemStack p_48698_) void
BarrelBlock.setPlacedBy
(Level p_49052_, BlockPos p_49053_, BlockState p_49054_, LivingEntity p_49055_, ItemStack p_49056_) void
BeaconBlock.setPlacedBy
(Level p_49426_, BlockPos p_49427_, BlockState p_49428_, LivingEntity p_49429_, ItemStack p_49430_) void
BedBlock.setPlacedBy
(Level p_49499_, BlockPos p_49500_, BlockState p_49501_, LivingEntity p_49502_, ItemStack p_49503_) void
Block.setPlacedBy
(Level p_49847_, BlockPos p_49848_, BlockState p_49849_, LivingEntity p_49850_, ItemStack p_49851_) void
BrewingStandBlock.setPlacedBy
(Level p_50913_, BlockPos p_50914_, BlockState p_50915_, LivingEntity p_50916_, ItemStack p_50917_) void
ChestBlock.setPlacedBy
(Level p_51503_, BlockPos p_51504_, BlockState p_51505_, LivingEntity p_51506_, ItemStack p_51507_) void
CommandBlock.setPlacedBy
(Level p_51804_, BlockPos p_51805_, BlockState p_51806_, LivingEntity p_51807_, ItemStack p_51808_) void
ConduitBlock.setPlacedBy
(Level p_52100_, BlockPos p_52101_, BlockState p_52102_, LivingEntity p_52103_, ItemStack p_52104_) void
DiodeBlock.setPlacedBy
(Level p_52506_, BlockPos p_52507_, BlockState p_52508_, LivingEntity p_52509_, ItemStack p_52510_) void
DispenserBlock.setPlacedBy
(Level p_52676_, BlockPos p_52677_, BlockState p_52678_, LivingEntity p_52679_, ItemStack p_52680_) void
DoorBlock.setPlacedBy
(Level p_52749_, BlockPos p_52750_, BlockState p_52751_, LivingEntity p_52752_, ItemStack p_52753_) void
DoublePlantBlock.setPlacedBy
(Level p_52872_, BlockPos p_52873_, BlockState p_52874_, LivingEntity p_52875_, ItemStack p_52876_) void
EnchantmentTableBlock.setPlacedBy
(Level p_52963_, BlockPos p_52964_, BlockState p_52965_, LivingEntity p_52966_, ItemStack p_52967_) void
HopperBlock.setPlacedBy
(Level p_54049_, BlockPos p_54050_, BlockState p_54051_, LivingEntity p_54052_, ItemStack p_54053_) void
JukeboxBlock.setPlacedBy
(Level p_54264_, BlockPos p_54265_, BlockState p_54266_, LivingEntity p_54267_, ItemStack p_54268_) void
PlayerHeadBlock.setPlacedBy
(Level p_55179_, BlockPos p_55180_, BlockState p_55181_, LivingEntity p_55182_, ItemStack p_55183_) void
PlayerWallHeadBlock.setPlacedBy
(Level p_55187_, BlockPos p_55188_, BlockState p_55189_, LivingEntity p_55190_, ItemStack p_55191_) void
ShulkerBoxBlock.setPlacedBy
(Level p_56206_, BlockPos p_56207_, BlockState p_56208_, LivingEntity p_56209_, ItemStack p_56210_) void
SmallDripleafBlock.setPlacedBy
(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) void
StructureBlock.setPlacedBy
(Level p_57122_, BlockPos p_57123_, BlockState p_57124_, LivingEntity p_57125_, ItemStack p_57126_) void
TripWireHookBlock.setPlacedBy
(Level p_57680_, BlockPos p_57681_, BlockState p_57682_, LivingEntity p_57683_, ItemStack p_57684_) void
WitherSkullBlock.setPlacedBy
(Level p_58260_, BlockPos p_58261_, BlockState p_58262_, LivingEntity p_58263_, ItemStack p_58264_) void
WitherWallSkullBlock.setPlacedBy
(Level p_58278_, BlockPos p_58279_, BlockState p_58280_, LivingEntity p_58281_, ItemStack p_58282_) -
Uses of LivingEntity in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionprivate static LivingEntity
ConduitBlockEntity.findDestroyTarget
(Level p_155425_, BlockPos p_155426_, UUID p_155427_) Modifier and TypeMethodDescriptionvoid
StructureBlockEntity.createdBy
(LivingEntity p_59852_) private static void
BellBlockEntity.glow
(LivingEntity p_58841_) private static boolean
BellBlockEntity.isRaiderWithinRange
(BlockPos p_155197_, LivingEntity p_155198_) Modifier and TypeMethodDescriptionprivate static boolean
BellBlockEntity.areRaidersNearby
(BlockPos p_155200_, List<LivingEntity> p_155201_) private static void
BellBlockEntity.makeRaidersGlow
(Level p_155187_, BlockPos p_155188_, List<LivingEntity> p_155189_) void
BellBlockEntity.ResonationEndAction.run
(Level p_155221_, BlockPos p_155222_, List<LivingEntity> p_155223_) private static void
BellBlockEntity.showBellParticles
(Level p_155208_, BlockPos p_155209_, List<LivingEntity> p_155210_) -
Uses of LivingEntity in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionvoid
PistonBaseBlock.setPlacedBy
(Level p_60172_, BlockPos p_60173_, BlockState p_60174_, LivingEntity p_60175_, ItemStack p_60176_) -
Uses of LivingEntity in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic <T extends LivingEntity>
voidForgeHooksClient.copyModelProperties
(HumanoidModel<T> original, HumanoidModel<?> replacement) Copies humanoid model properties from the original model to another, used for armor modelsModifier and TypeMethodDescriptionvoid
IArmPoseTransformer.applyTransform
(HumanoidModel<?> model, LivingEntity entity, HumanoidArm arm) This method should be used to apply all wanted transformations to the player when the ArmPose is active.static Model
ForgeHooksClient.getArmorModel
(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlot slot, HumanoidModel<?> _default) -
Uses of LivingEntity in net.minecraftforge.client.event
Modifier and TypeClassDescriptionclass
RenderLivingEvent<T extends LivingEntity,
M extends EntityModel<T>> Fired when aLivingEntity
is rendered.static class
RenderLivingEvent.Post<T extends LivingEntity,
M extends EntityModel<T>> Fired after an entity is rendered, if the correspondingRenderLivingEvent.Post
is not cancelled.static class
RenderLivingEvent.Pre<T extends LivingEntity,
M extends EntityModel<T>> Fired before an entity is rendered.Modifier and TypeMethodDescription<T extends LivingEntity,
R extends LivingEntityRenderer<T, ? extends EntityModel<T>>>
REntityRenderersEvent.AddLayers.getRenderer
(EntityType<? extends T> entityType) Returns an entity renderer for the given entity type.ModifierConstructorDescriptionPost
(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) Pre
(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) protected
RenderLivingEvent
(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) -
Uses of LivingEntity in net.minecraftforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault HumanoidModel.ArmPose
IClientItemExtensions.getArmPose
(LivingEntity entityLiving, InteractionHand hand, ItemStack itemStack) This method returns an ArmPose that can be defined using theHumanoidModel.ArmPose.create(String, boolean, IArmPoseTransformer)
method.default @NotNull Model
IClientItemExtensions.getGenericArmorModel
(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the armor model for this item when it's equipped.default @NotNull HumanoidModel<?>
IClientItemExtensions.getHumanoidArmorModel
(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the humanoid armor model for this item when it's equipped. -
Uses of LivingEntity in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionDynamicFluidContainerModel.ContainedFluidOverrideHandler.resolve
(BakedModel originalModel, ItemStack stack, @Nullable ClientLevel level, @Nullable LivingEntity entity, int seed) -
Uses of LivingEntity in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
AttributeSupplier> ForgeHooks.FORGE_ATTRIBUTES
Modifier and TypeMethodDescriptionstatic Map<EntityType<? extends LivingEntity>,
AttributeSupplier> ForgeHooks.getAttributesView()
Deprecated.Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.canEntityDestroy
(Level level, BlockPos pos, LivingEntity entity) static double
ForgeHooks.getEntityVisibilityMultiplier
(LivingEntity entity, Entity lookingEntity, double originalMultiplier) static int
ForgeHooks.getLootingLevel
(LivingEntity target, @Nullable DamageSource cause, int level) static ItemStack
ForgeHooks.getProjectile
(LivingEntity entity, ItemStack projectileWeaponItem, ItemStack projectile) Hook to fireLivingGetProjectileEvent
.ForgeHooks.isLivingOnLadder
(@NotNull BlockState state, @NotNull Level level, @NotNull BlockPos pos, @NotNull LivingEntity entity) static boolean
ForgeHooks.onLivingAttack
(LivingEntity entity, DamageSource src, float amount) static LivingChangeTargetEvent
ForgeHooks.onLivingChangeTarget
(LivingEntity entity, LivingEntity originalTarget, LivingChangeTargetEvent.ILivingTargetType targetType) static float
ForgeHooks.onLivingDamage
(LivingEntity entity, DamageSource src, float amount) static boolean
ForgeHooks.onLivingDeath
(LivingEntity entity, DamageSource src) static boolean
ForgeHooks.onLivingDrops
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) static @org.jetbrains.annotations.Nullable float[]
ForgeHooks.onLivingFall
(LivingEntity entity, float distance, float damageMultiplier) static float
ForgeHooks.onLivingHurt
(LivingEntity entity, DamageSource src, float amount) static void
ForgeHooks.onLivingJump
(LivingEntity entity) static LivingKnockBackEvent
ForgeHooks.onLivingKnockBack
(LivingEntity target, float strength, double ratioX, double ratioZ) static void
ForgeHooks.onLivingSetAttackTarget
(LivingEntity entity, LivingEntity target) Deprecated, for removal: This API element is subject to removal in a future version.static void
ForgeHooks.onLivingSetAttackTarget
(LivingEntity entity, LivingEntity target, LivingChangeTargetEvent.ILivingTargetType targetType) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
ForgeHooks.onLivingTick
(LivingEntity entity) static boolean
ForgeHooks.onLivingUseTotem
(LivingEntity entity, DamageSource damageSource, ItemStack totem, InteractionHand hand) static boolean
ForgeHooks.onPlayerAttack
(LivingEntity entity, DamageSource src, float amount) static ShieldBlockEvent
ForgeHooks.onShieldBlock
(LivingEntity blocker, DamageSource source, float blocked) -
Uses of LivingEntity in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault <T extends LivingEntity>
intIForgeItem.damageItem
(ItemStack stack, int amount, T entity, Consumer<T> onBroken) Reduce the durability of this item by the amount given.Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addLandingEffects
(BlockState state1, ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IForgeBlockState.addLandingEffects
(ServerLevel level, BlockPos pos, BlockState state2, LivingEntity entity, int numberOfParticles) Allows a block to override the standard EntityLivingBase.updateFallState particles, this is a server side method that spawns particles with WorldServer.spawnParticle.default boolean
IForgeItem.canDisableShield
(ItemStack stack, ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault boolean
IForgeItemStack.canDisableShield
(ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault boolean
IForgeItem.canElytraFly
(ItemStack stack, LivingEntity entity) Used to determine if the player can use Elytra flight.default boolean
IForgeItemStack.canElytraFly
(LivingEntity entity) Used to determine if the player can use Elytra flight.default boolean
IForgeItem.canWalkOnPowderedSnow
(ItemStack stack, LivingEntity wearer) Called by the powdered snow block to check if a living entity wearing this can walk on the snow, granting the same behavior as leather boots.default boolean
IForgeItemStack.canWalkOnPowderedSnow
(LivingEntity wearer) Called by the powdered snow block to check if a living entity wearing this can walk on the snow, granting the same behavior as leather boots.default boolean
IForgeItem.elytraFlightTick
(ItemStack stack, LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default boolean
IForgeItemStack.elytraFlightTick
(LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default @Nullable FoodProperties
IForgeItem.getFoodProperties
(ItemStack stack, @Nullable LivingEntity entity) Get the food properties for this item.default @Nullable FoodProperties
IForgeItemStack.getFoodProperties
(@Nullable LivingEntity entity) Get the food properties for this item.IForgeBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, @Nullable LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.IForgeBlockState.getRespawnPosition
(EntityType<?> type, LevelReader level, BlockPos pos, float orientation, @Nullable LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.default boolean
IForgeBlockState.isBed
(BlockGetter level, BlockPos pos, @Nullable LivingEntity sleeper) Determines if this block is classified as a Bed, Allowing players to sleep in it, though the block has to specifically perform the sleeping functionality in it's activated event.default boolean
IForgeBlock.isLadder
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlockState.isLadder
(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IForgeBlock.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IForgeBlockState.isScaffolding
(LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IForgeItem.makesPiglinsNeutral
(ItemStack stack, LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default boolean
IForgeItemStack.makesPiglinsNeutral
(LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default boolean
IForgeFluid.move
(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default boolean
IForgeFluidState.move
(LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default void
IForgeBlock.onCaughtFire
(BlockState state, Level level, BlockPos pos, @Nullable Direction direction, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default void
IForgeBlockState.onCaughtFire
(Level level, BlockPos pos, @Nullable Direction face, @Nullable LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IForgeItem.onEntitySwing
(ItemStack stack, LivingEntity entity) Called when a entity tries to play the 'swing' animation.default boolean
IForgeItemStack.onEntitySwing
(LivingEntity entity) Called when a entity tries to play the 'swing' animation.default void
IForgeItem.onUsingTick
(ItemStack stack, LivingEntity player, int count) Called each tick while using an item.default void
IForgeItemStack.onUsingTick
(LivingEntity player, int count) Called each tick while using an item.default void
IForgeBlock.setBedOccupied
(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default void
IForgeBlockState.setBedOccupied
(Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed. -
Uses of LivingEntity in net.minecraftforge.common.util
Modifier and TypeClassDescriptionclass
A basic fake server player implementation that can be used to simulate player actions. -
Uses of LivingEntity in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionCustomRespawnTest.CustomRespawnBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, @Nullable LivingEntity entity) boolean
ScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) -
Uses of LivingEntity in net.minecraftforge.debug.client
Modifier and TypeFieldDescriptionprivate static final Lazy<HumanoidModel<LivingEntity>>
CustomArmorModelTest.TintedArmorModel.ENDERMAN
-
Uses of LivingEntity in net.minecraftforge.debug.client.rendering
ModifierConstructorDescriptionprotected
MyEntity
(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) -
Uses of LivingEntity in net.minecraftforge.debug.entity
-
Uses of LivingEntity in net.minecraftforge.debug.item
Modifier and TypeMethodDescriptionboolean
CustomElytraTest.CustomElytra.canElytraFly
(ItemStack stack, LivingEntity entity) boolean
CustomElytraTest.CustomElytra.elytraFlightTick
(ItemStack stack, LivingEntity entity, int flightTicks) -
Uses of LivingEntity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) static boolean
ForgeEventFactory.fireSleepingLocationCheck
(LivingEntity player, BlockPos sleepingLocation) static ZombieEvent.SummonAidEvent
ForgeEventFactory.fireZombieSummonAid
(Zombie zombie, Level level, int x, int y, int z, LivingEntity attacker, double summonChance) static int
ForgeEventFactory.getExperienceDrop
(LivingEntity entity, Player attackingPlayer, int originalExperience) ForgeEventFactory.onChorusFruitTeleport
(LivingEntity entity, double targetX, double targetY, double targetZ) ForgeEventFactory.onEnderTeleport
(LivingEntity entity, double targetX, double targetY, double targetZ) static boolean
ForgeEventFactory.onEntityDestroyBlock
(LivingEntity entity, BlockPos pos, BlockState state) static ItemStack
ForgeEventFactory.onItemUseFinish
(LivingEntity entity, ItemStack item, int duration, ItemStack result) static int
ForgeEventFactory.onItemUseStart
(LivingEntity entity, ItemStack item, int duration) static int
ForgeEventFactory.onItemUseTick
(LivingEntity entity, ItemStack item, int duration) static void
ForgeEventFactory.onLivingConvert
(LivingEntity entity, LivingEntity outcome) static float
ForgeEventFactory.onLivingHeal
(LivingEntity entity, float amount) static boolean
ForgeEventFactory.onUseItemStop
(LivingEntity entity, ItemStack item, int duration) Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) -
Uses of LivingEntity in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate final LivingEntity
EntityTeleportEvent.ChorusFruit.entityLiving
private final LivingEntity
EntityTeleportEvent.EnderEntity.entityLiving
Modifier and TypeFieldDescriptionprivate final Map<EntityType<? extends LivingEntity>,
AttributeSupplier.Builder> EntityAttributeModificationEvent.entityAttributes
private final List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent.entityTypes
private final Map<EntityType<? extends LivingEntity>,
AttributeSupplier> EntityAttributeCreationEvent.map
Modifier and TypeMethodDescriptionEntityTeleportEvent.ChorusFruit.getEntityLiving()
EntityTeleportEvent.EnderEntity.getEntityLiving()
Modifier and TypeMethodDescriptionList<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent.getTypes()
Modifier and TypeMethodDescriptionvoid
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Attribute attribute) void
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Attribute attribute, double value) boolean
EntityAttributeModificationEvent.has
(EntityType<? extends LivingEntity> entityType, Attribute attribute) void
EntityAttributeCreationEvent.put
(EntityType<? extends LivingEntity> entity, AttributeSupplier map) ModifierConstructorDescriptionChorusFruit
(LivingEntity entity, double targetX, double targetY, double targetZ) EnderEntity
(LivingEntity entity, double targetX, double targetY, double targetZ) ModifierConstructorDescriptionEntityAttributeCreationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier> map) EntityAttributeModificationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier.Builder> mapIn) -
Uses of LivingEntity in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final LivingEntity
ZombieEvent.SummonAidEvent.attacker
private final LivingEntity
LivingEvent.livingEntity
private LivingEntity
LivingChangeTargetEvent.newTarget
private final LivingEntity
LivingChangeTargetEvent.originalTarget
private final LivingEntity
LivingSetAttackTargetEvent.originalTarget
Deprecated, for removal: This API element is subject to removal in a future version.private final LivingEntity
LivingConversionEvent.Post.outcome
Modifier and TypeFieldDescriptionprivate final EntityType<? extends LivingEntity>
LivingConversionEvent.Pre.outcome
Modifier and TypeMethodDescriptionZombieEvent.SummonAidEvent.getAttacker()
LivingEvent.getEntity()
LivingChangeTargetEvent.getNewTarget()
Returns the new target of this entity..LivingChangeTargetEvent.getOriginalTarget()
Returns the original entity MC intended to use as a target before firing this event..LivingConversionEvent.Post.getOutcome()
Gets the finalized new entity (with all data like potion effect and equipments set)LivingSetAttackTargetEvent.getTarget()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the target this living entity had after changing its target to a new target, but before posting this event..Modifier and TypeMethodDescriptionEntityType<? extends LivingEntity>
LivingConversionEvent.Pre.getOutcome()
Gets the entity type of the new entity this living entity is converting toModifier and TypeMethodDescriptionvoid
LivingChangeTargetEvent.setNewTarget
(LivingEntity newTarget) Sets the new target this entity shall have.ModifierConstructorDescriptionAdded
(LivingEntity living, MobEffectInstance oldEffectInstance, MobEffectInstance newEffectInstance, Entity source) Applicable
(LivingEntity living, @NotNull MobEffectInstance effectInstance) Expired
(LivingEntity living, MobEffectInstance effectInstance) Finish
(LivingEntity entity, @NotNull ItemStack item, int duration, @NotNull ItemStack result) LivingAttackEvent
(LivingEntity entity, DamageSource source, float amount) LivingChangeTargetEvent
(LivingEntity entity, LivingEntity originalTarget, LivingChangeTargetEvent.ILivingTargetType targetType) LivingConversionEvent
(LivingEntity entity) LivingDamageEvent
(LivingEntity entity, DamageSource source, float amount) LivingDeathEvent
(LivingEntity entity, DamageSource source) LivingDestroyBlockEvent
(LivingEntity entity, BlockPos pos, BlockState state) LivingDropsEvent
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) private
LivingEntityUseItemEvent
(LivingEntity entity, @NotNull ItemStack item, int duration) LivingEquipmentChangeEvent
(LivingEntity entity, EquipmentSlot slot, @NotNull ItemStack from, @NotNull ItemStack to) LivingEvent
(LivingEntity entity) LivingExperienceDropEvent
(LivingEntity entity, @Nullable Player attackingPlayer, int originalExperience) LivingFallEvent
(LivingEntity entity, float distance, float damageMultiplier) LivingGetProjectileEvent
(LivingEntity livingEntity, ItemStack projectileWeaponItemStack, ItemStack ammo) LivingHealEvent
(LivingEntity entity, float amount) LivingHurtEvent
(LivingEntity entity, DamageSource source, float amount) LivingKnockBackEvent
(LivingEntity target, float strength, double ratioX, double ratioZ) LivingSetAttackTargetEvent
(LivingEntity entity, LivingEntity target) Deprecated, for removal: This API element is subject to removal in a future version.LivingSetAttackTargetEvent
(LivingEntity entity, LivingEntity target, LivingChangeTargetEvent.ILivingTargetType targetType) Deprecated, for removal: This API element is subject to removal in a future version.LivingUseTotemEvent
(LivingEntity entity, DamageSource source, ItemStack totem, InteractionHand hand) LivingVisibilityEvent
(LivingEntity livingEntity, @Nullable Entity lookingEntity, double originalMultiplier) LootingLevelEvent
(LivingEntity entity, @Nullable DamageSource damageSource, int lootingLevel) MobEffectEvent
(LivingEntity living, MobEffectInstance effectInstance) Post
(LivingEntity entity, LivingEntity outcome) PotionColorCalculationEvent
(LivingEntity entity, int color, boolean hideParticle, Collection<MobEffectInstance> effectList) Pre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) Remove
(LivingEntity living, MobEffect effect) Remove
(LivingEntity living, MobEffectInstance effectInstance) ShieldBlockEvent
(LivingEntity blocker, DamageSource source, float blocked) Start
(LivingEntity entity, @NotNull ItemStack item, int duration) Stop
(LivingEntity entity, @NotNull ItemStack item, int duration) SummonAidEvent
(Zombie zombie, Level level, int x, int y, int z, LivingEntity attacker, double summonChance) Tick
(LivingEntity entity, @NotNull ItemStack item, int duration) ModifierConstructorDescriptionPre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) -
Uses of LivingEntity in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionSleepingLocationCheckEvent
(LivingEntity player, BlockPos sleepingLocation) -
Uses of LivingEntity in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionboolean
FluidType.canDrownIn
(LivingEntity entity) Returns whether the entity can drown in the fluid.boolean
FluidType.move
(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid. -
Uses of LivingEntity in net.minecraftforge.items.wrapper
Modifier and TypeFieldDescriptionprotected final LivingEntity
EntityEquipmentInvWrapper.entity
The entity.Modifier and TypeMethodDescriptionstatic LazyOptional<IItemHandlerModifiable>[]
EntityEquipmentInvWrapper.create
(LivingEntity entity) ModifierConstructorDescriptionEntityArmorInvWrapper
(LivingEntity entity) EntityEquipmentInvWrapper
(LivingEntity entity, EquipmentSlot.Type slotType) EntityHandsInvWrapper
(LivingEntity entity)