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
(PoseStack p_275613_, int p_275470_, int p_275319_, int p_275605_, org.joml.Quaternionf p_275229_, org.joml.Quaternionf p_275230_, LivingEntity p_275237_) static void
InventoryScreen.renderEntityInInventoryFollowsAngle
(PoseStack p_275396_, int p_275688_, int p_275245_, int p_275535_, float angleXComponent, float angleYComponent, LivingEntity p_275689_) static void
InventoryScreen.renderEntityInInventoryFollowsMouse
(PoseStack p_275396_, int p_275688_, int p_275245_, int p_275535_, float p_275604_, float p_275546_, LivingEntity p_275689_) -
Uses of LivingEntity in net.minecraft.client.model
Modifier and TypeClassDescriptionclass
ElytraModel<T extends LivingEntity>
class
EndermanModel<T extends LivingEntity>
class
HumanoidArmorModel<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_270072_, ItemStack p_270793_, ItemDisplayContext p_270837_, boolean p_270203_, PoseStack p_270974_, MultiBufferSource p_270686_, int p_270103_) 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
(PoseStack p_275668_, LivingEntity p_275691_, ItemStack p_275472_, int p_275283_, int p_275239_, int p_275587_) void
ItemRenderer.renderStatic
(LivingEntity p_270101_, ItemStack p_270637_, ItemDisplayContext p_270437_, boolean p_270434_, PoseStack p_270230_, MultiBufferSource p_270411_, Level p_270641_, int p_270595_, int p_270927_, int p_270845_) private void
ItemRenderer.tryRenderGuiItem
(PoseStack p_275571_, LivingEntity p_275317_, Level p_275599_, ItemStack p_275500_, int p_275679_, int p_275377_, int p_275380_) private void
ItemRenderer.tryRenderGuiItem
(PoseStack p_275419_, LivingEntity p_275405_, Level p_275402_, ItemStack p_275431_, int p_275347_, int p_275504_, int p_275678_, int p_275555_) -
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_, ItemDisplayContext p_270970_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_) protected void
PlayerItemInHandLayer.renderArmWithItem
(LivingEntity p_270884_, ItemStack p_270379_, ItemDisplayContext p_270607_, HumanoidArm p_270324_, PoseStack p_270124_, MultiBufferSource p_270414_, int p_270295_) 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
Modifier and TypeMethodDescription<E extends LivingEntity>
voidGameTestHelper.assertEntityIsHolding
(BlockPos p_263501_, EntityType<E> p_263510_, Item p_263517_) -
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_) -
Uses of LivingEntity in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_252105_, Holder<Attribute> p_248921_) 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 TypeMethodDescriptionDamageSource.getLocalizedDeathMessage
(LivingEntity p_19343_) DamageSources.mobAttack
(LivingEntity p_270357_) DamageSources.mobProjectile
(Entity p_270210_, LivingEntity p_270757_) DamageSources.noAggroMobAttack
(LivingEntity p_270502_) DamageSources.sting
(LivingEntity p_270689_) -
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 TypeMethodDescriptionEntity.getControllingPassenger()
Mob.getControllingPassenger()
LivingEntity.getKillCredit()
Attackable.getLastAttacker()
Interaction.getLastAttacker()
LivingEntity.getLastAttacker()
LivingEntity.getLastHurtByMob()
NeutralMob.getLastHurtByMob()
LivingEntity.getLastHurtMob()
AreaEffectCloud.getOwner()
default LivingEntity
OwnableEntity.getOwner()
Interaction.getTarget()
Mob.getTarget()
NeutralMob.getTarget()
Targeting.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_) 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_) double
Mob.getPerceivedTargetDistanceSquareForMeleeAttack
(LivingEntity p_263021_) protected Vec3
LivingEntity.getRiddenInput
(LivingEntity p_275205_, Vec3 p_275300_) protected float
LivingEntity.getRiddenSpeed
(LivingEntity p_275260_) 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_) protected void
LivingEntity.tickRidden
(LivingEntity p_275697_, Vec3 p_275242_) private void
LivingEntity.travelRidden
(LivingEntity p_275482_, Vec3 p_275704_) 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>
interface
BehaviorControl<E extends LivingEntity>
class
CrossbowAttack<E extends Mob & CrossbowAttackMob,
T extends LivingEntity> class
GateBehavior<E extends LivingEntity>
class
GoAndGiveItemsToTarget<E extends LivingEntity & InventoryCarrier>
class
OneShot<E extends LivingEntity>
class
RunOne<E extends LivingEntity>
Modifier and TypeFieldDescription(package private) final LivingEntity
PrepareRamNearestTarget.RamCandidate.target
Modifier and TypeFieldDescriptionprivate final Function<LivingEntity,
Float> FollowTemptation.speedModifier
private final Function<LivingEntity,
Optional<PositionTracker>> GoAndGiveItemsToTarget.targetPositionGetter
Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidGateBehavior.RunningPolicy.apply
(Stream<BehaviorControl<? super E>> p_147532_, ServerLevel p_147533_, E p_147534_, long p_147535_) static <E extends LivingEntity,
T>
BehaviorControl<E>CopyMemoryWithExpiry.create
(Predicate<E> p_260270_, MemoryModuleType<? extends T> p_260344_, MemoryModuleType<T> p_260014_, UniformInt p_259596_) static <E extends LivingEntity>
BehaviorControl<E>DismountOrSkipMounting.create
(int p_259945_, BiPredicate<E, Entity> p_259837_) static <E extends LivingEntity>
BehaviorControl<E>EraseMemoryIf.create
(Predicate<E> p_260241_, MemoryModuleType<?> p_259406_) static <E extends LivingEntity>
BehaviorControl<E>static <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E>InteractWith.of
(EntityType<? extends T> p_259366_, int p_259564_, Predicate<E> p_259570_, Predicate<T> p_260254_, MemoryModuleType<T> p_260229_, float p_259369_, int p_259065_) static <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E>InteractWith.of
(EntityType<? extends T> p_259366_, int p_259564_, Predicate<E> p_259570_, Predicate<T> p_260254_, MemoryModuleType<T> p_260229_, float p_259369_, int p_259065_) static <T extends LivingEntity>
BehaviorControl<LivingEntity>InteractWith.of
(EntityType<? extends T> p_259703_, int p_260224_, MemoryModuleType<T> p_259995_, float p_259991_, int p_259933_) static <E extends LivingEntity>
OneShot<E>TriggerGate.triggerGate
(List<com.mojang.datafixers.util.Pair<? extends Trigger<? super E>, Integer>> p_259442_, GateBehavior.OrderPolicy p_259823_, GateBehavior.RunningPolicy p_259632_) static <E extends LivingEntity>
OneShot<E>TriggerGate.triggerOneShuffled
(List<com.mojang.datafixers.util.Pair<? extends Trigger<? super E>, Integer>> p_259551_) Modifier and TypeMethodDescriptionprivate static LivingEntity
CrossbowAttack.getAttackTarget
(LivingEntity p_22785_) static LivingEntity
BehaviorUtils.getNearestTarget
(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) PrepareRamNearestTarget.RamCandidate.getTarget()
static LivingEntity
BehaviorUtils.getTargetNearestMe
(LivingEntity p_22607_, LivingEntity p_22608_, LivingEntity p_22609_) private LivingEntity
ShowTradesToPlayer.lookAtTarget
(Villager p_24138_) private static LivingEntity
PlayTagWithOtherKids.whoAreYouChasing
(LivingEntity p_23640_) Modifier and TypeMethodDescriptionprivate static Map<LivingEntity,
Integer> PlayTagWithOtherKids.checkHowManyChasersEachFriendHas
(List<LivingEntity> p_259989_) static BehaviorControl<LivingEntity>
BecomePassiveIfMemoryPresent.create
(MemoryModuleType<?> p_259988_, int p_260143_) static BehaviorControl<LivingEntity>
GoToWantedItem.create
(float p_260027_, boolean p_259769_, int p_259671_) static BehaviorControl<LivingEntity>
InteractWithDoor.create()
static OneShot<LivingEntity>
LocateHidingPlace.create
(int p_259202_, float p_259881_, int p_259982_) static BehaviorControl<LivingEntity>
Mount.create
(float p_259363_) static OneShot<LivingEntity>
MoveToSkySeeingSpot.create
(float p_259860_) static BehaviorControl<LivingEntity>
ReactToBell.create()
static BehaviorControl<LivingEntity>
ResetRaidStatus.create()
static BehaviorControl<LivingEntity>
RingBell.create()
static OneShot<LivingEntity>
SetEntityLookTarget.create
(float p_259830_) static OneShot<LivingEntity>
SetEntityLookTarget.create
(Predicate<LivingEntity> p_260088_, float p_259747_) static OneShot<LivingEntity>
SetEntityLookTarget.create
(EntityType<?> p_260318_, float p_259522_) static BehaviorControl<LivingEntity>
SetEntityLookTarget.create
(MobCategory p_259154_, float p_260240_) static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(float p_259047_, UniformInt p_260065_) Deprecated.private static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(float p_260336_, UniformInt p_259266_, Predicate<LivingEntity> p_260173_) Deprecated.static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(EntityType<?> p_259588_, float p_259105_, UniformInt p_259422_) Deprecated.static BehaviorControl<LivingEntity>
SetHiddenState.create
(int p_259244_, int p_260263_) static BehaviorControl<LivingEntity>
SetLookAndInteract.create
(EntityType<?> p_259642_, int p_259805_) static BehaviorControl<LivingEntity>
SetRaidStatus.create()
static OneShot<LivingEntity>
SetWalkTargetFromLookTarget.create
(float p_259702_, int p_259510_) static OneShot<LivingEntity>
SetWalkTargetFromLookTarget.create
(Predicate<LivingEntity> p_260341_, Function<LivingEntity, Float> p_260269_, int p_259192_) static OneShot<LivingEntity>
SocializeAtBell.create()
static BehaviorControl<LivingEntity>
StartCelebratingIfTargetDead.create
(int p_259238_, BiPredicate<LivingEntity, LivingEntity> p_259102_) static BehaviorControl<LivingEntity>
StayCloseToTarget.create
(Function<LivingEntity, Optional<PositionTracker>> p_272871_, Predicate<LivingEntity> p_273150_, int p_273536_, int p_273107_, float p_273745_) static BehaviorControl<LivingEntity>
StopBeingAngryIfTargetDead.create()
static BehaviorControl<LivingEntity>
static BehaviorControl<LivingEntity>
UpdateActivityFromSchedule.create()
static BehaviorControl<LivingEntity>
ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> p_259460_, MemoryModuleType<GlobalPos> p_259635_) static BehaviorControl<LivingEntity>
VillagerCalmDown.create()
static BehaviorControl<LivingEntity>
WakeUp.create()
private static Optional<LivingEntity>
PlayTagWithOtherKids.findSomeoneBeingChased
(List<LivingEntity> p_259655_) private static com.mojang.datafixers.util.Pair<Integer,
BehaviorControl<LivingEntity>> VillagerGoalPackages.getFullLookBehavior()
static Optional<LivingEntity>
BehaviorUtils.getLivingEntityFromUUIDMemory
(LivingEntity p_22611_, MemoryModuleType<UUID> p_22612_) private static com.mojang.datafixers.util.Pair<Integer,
BehaviorControl<LivingEntity>> VillagerGoalPackages.getMinimalLookBehavior()
static <T extends LivingEntity>
BehaviorControl<LivingEntity>InteractWith.of
(EntityType<? extends T> p_259703_, int p_260224_, MemoryModuleType<T> p_259995_, float p_259991_, int p_259933_) Modifier and TypeMethodDescriptionprivate static boolean
InteractWithDoor.areOtherMobsComingThroughDoor
(LivingEntity p_260091_, BlockPos p_259764_, Optional<List<LivingEntity>> p_259365_) private static boolean
ValidateNearbyPoi.bedIsOccupied
(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_) PrepareRamNearestTarget.calculateRammingStartPosition
(PathfinderMob p_147743_, LivingEntity p_147744_) 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
SleepInBed.canStillUse
(ServerLevel p_24161_, LivingEntity p_24162_, long p_24163_) private static void
PlayTagWithOtherKids.chaseKid
(MemoryAccessor<?, LivingEntity> p_259811_, MemoryAccessor<?, PositionTracker> p_259299_, MemoryAccessor<?, WalkTarget> p_260056_, LivingEntity p_259463_) protected boolean
SleepInBed.checkExtraStartConditions
(ServerLevel p_24154_, LivingEntity p_24155_) private void
PrepareRamNearestTarget.chooseRamPosition
(PathfinderMob p_147766_, LivingEntity p_147767_) static void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel p_260343_, LivingEntity p_259371_, Node p_259408_, Node p_260013_, Set<GlobalPos> p_259401_, Optional<List<LivingEntity>> p_260015_) private void
CrossbowAttack.crossbowAttack
(E p_22787_, LivingEntity p_22788_) final void
DoNothing.doStop
(ServerLevel p_260265_, LivingEntity p_259336_, long p_259826_) static boolean
BehaviorUtils.entityIsVisible
(Brain<?> p_22637_, LivingEntity p_22638_) private void
ShowTradesToPlayer.findItemsToDisplay
(LivingEntity p_24113_, Villager p_24114_) private static LivingEntity
CrossbowAttack.getAttackTarget
(LivingEntity p_22785_) 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 static Vec3
MoveToSkySeeingSpot.getOutdoorPosition
(ServerLevel p_23565_, LivingEntity p_23566_) static LivingEntity
BehaviorUtils.getTargetNearestMe
(LivingEntity p_22607_, LivingEntity p_22608_, LivingEntity p_22609_) 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 static boolean
PlayTagWithOtherKids.isChasingSomeone
(LivingEntity p_23668_) private static boolean
InteractWithDoor.isDoorTooFarAway
(ServerLevel p_23308_, LivingEntity p_23309_, GlobalPos p_23310_) private static boolean
PlayTagWithOtherKids.isFriendChasingMe
(LivingEntity p_23642_, LivingEntity p_23643_) static boolean
VillagerPanicTrigger.isHurt
(LivingEntity p_24698_) static boolean
BehaviorUtils.isOtherTargetMuchFurtherAwayThanCurrentAttackTarget
(LivingEntity p_22599_, LivingEntity p_22600_, double p_22601_) private static boolean
StopAttackingIfTargetInvalid.isTiredOfTryingToReachTarget
(LivingEntity p_259416_, Optional<Long> p_259377_) private static boolean
DismountOrSkipMounting.isVehicleValid
(LivingEntity p_259293_, Entity p_260023_, int p_259048_) 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 static boolean
VillagerGoalPackages.raidExistsAndActive
(ServerLevel p_260274_, LivingEntity p_260163_) private static boolean
VillagerGoalPackages.raidExistsAndNotVictory
(ServerLevel p_259939_, LivingEntity p_259384_) 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
SleepInBed.start
(ServerLevel p_24157_, LivingEntity p_24158_, long p_24159_) 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_) final void
DoNothing.tickOrStop
(ServerLevel p_259225_, LivingEntity p_259218_, long p_259803_) final boolean
DoNothing.tryStart
(ServerLevel p_259135_, LivingEntity p_259195_, long p_259189_) private static LivingEntity
PlayTagWithOtherKids.whoAreYouChasing
(LivingEntity p_23640_) Modifier and TypeMethodDescriptionprivate static boolean
InteractWithDoor.areOtherMobsComingThroughDoor
(LivingEntity p_260091_, BlockPos p_259764_, Optional<List<LivingEntity>> p_259365_) private static void
PlayTagWithOtherKids.chaseKid
(MemoryAccessor<?, LivingEntity> p_259811_, MemoryAccessor<?, PositionTracker> p_259299_, MemoryAccessor<?, WalkTarget> p_260056_, LivingEntity p_259463_) private static Map<LivingEntity,
Integer> PlayTagWithOtherKids.checkHowManyChasersEachFriendHas
(List<LivingEntity> p_259989_) static void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel p_260343_, LivingEntity p_259371_, Node p_259408_, Node p_260013_, Set<GlobalPos> p_259401_, Optional<List<LivingEntity>> p_260015_) static OneShot<AgeableMob>
BabyFollowAdult.create
(UniformInt p_259321_, Function<LivingEntity, Float> p_259190_) static OneShot<LivingEntity>
SetEntityLookTarget.create
(Predicate<LivingEntity> p_260088_, float p_259747_) private static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(float p_260336_, UniformInt p_259266_, Predicate<LivingEntity> p_260173_) Deprecated.static BehaviorControl<Mob>
SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(Function<LivingEntity, Float> p_259507_) static OneShot<LivingEntity>
SetWalkTargetFromLookTarget.create
(Predicate<LivingEntity> p_260341_, Function<LivingEntity, Float> p_260269_, int p_259192_) static OneShot<LivingEntity>
SetWalkTargetFromLookTarget.create
(Predicate<LivingEntity> p_260341_, Function<LivingEntity, Float> p_260269_, int p_259192_) static <E extends Mob>
BehaviorControl<E>StartAttacking.create
(Function<E, Optional<? extends LivingEntity>> p_259868_) static <E extends Mob>
BehaviorControl<E>StartAttacking.create
(Predicate<E> p_259618_, Function<E, Optional<? extends LivingEntity>> p_259435_) static BehaviorControl<LivingEntity>
StartCelebratingIfTargetDead.create
(int p_259238_, BiPredicate<LivingEntity, LivingEntity> p_259102_) static BehaviorControl<LivingEntity>
StartCelebratingIfTargetDead.create
(int p_259238_, BiPredicate<LivingEntity, LivingEntity> p_259102_) static BehaviorControl<LivingEntity>
StayCloseToTarget.create
(Function<LivingEntity, Optional<PositionTracker>> p_272871_, Predicate<LivingEntity> p_273150_, int p_273536_, int p_273107_, float p_273745_) static BehaviorControl<LivingEntity>
StayCloseToTarget.create
(Function<LivingEntity, Optional<PositionTracker>> p_272871_, Predicate<LivingEntity> p_273150_, int p_273536_, int p_273107_, float p_273745_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(BiConsumer<E, LivingEntity> p_260165_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> p_259762_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> p_260357_, BiConsumer<E, LivingEntity> p_259568_, boolean p_260319_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> p_260357_, BiConsumer<E, LivingEntity> p_259568_, boolean p_260319_) private static Optional<LivingEntity>
PlayTagWithOtherKids.findSomeoneBeingChased
(List<LivingEntity> p_259655_) static 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_) ModifierConstructorDescriptionFollowTemptation
(Function<LivingEntity, Float> p_147486_) GoAndGiveItemsToTarget
(Function<LivingEntity, Optional<PositionTracker>> p_249894_, float p_249937_, int p_249620_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.behavior.declarative
Modifier and TypeClassDescriptionclass
BehaviorBuilder<E extends LivingEntity,
M> (package private) static final class
BehaviorBuilder.Constant<E extends LivingEntity,
A> static final class
BehaviorBuilder.Instance<E extends LivingEntity>
(package private) static final class
BehaviorBuilder.Instance.Mu<E extends LivingEntity>
static final class
BehaviorBuilder.Mu<E extends LivingEntity>
(package private) static final class
BehaviorBuilder.PureMemory<E extends LivingEntity,
F extends com.mojang.datafixers.kinds.K1, Value> (package private) static interface
BehaviorBuilder.TriggerWithResult<E extends LivingEntity,
R> (package private) static final class
BehaviorBuilder.TriggerWrapper<E extends LivingEntity>
interface
Trigger<E extends LivingEntity>
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
OneShot<E>BehaviorBuilder.create
(Function<BehaviorBuilder.Instance<E>, ? extends com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, Trigger<E>>> p_259386_) (package private) static <E extends LivingEntity,
M>
BehaviorBuilder<E,M> BehaviorBuilder.create
(BehaviorBuilder.TriggerWithResult<E, M> p_259575_) (package private) static <E extends LivingEntity,
M>
BehaviorBuilder.TriggerWithResult<E,M> BehaviorBuilder.get
(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, M> p_259615_) static <E extends LivingEntity>
BehaviorBuilder.Instance<E>BehaviorBuilder.instance()
static <E extends LivingEntity>
OneShot<E>static <E extends LivingEntity>
OneShot<E>BehaviorBuilder.triggerIf
(BiPredicate<ServerLevel, E> p_259227_) static <E extends LivingEntity>
OneShot<E>static <E extends LivingEntity>
OneShot<E>static <E extends LivingEntity,
M>
BehaviorBuilder<E,M> BehaviorBuilder.unbox
(com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, M> p_259593_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.behavior.warden
Modifier and TypeMethodDescriptionstatic BehaviorControl<LivingEntity>
SetWardenLookTarget.create()
static BehaviorControl<LivingEntity>
TryToSniff.create()
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_) Modifier and TypeMethodDescriptionstatic <E extends Warden>
BehaviorControl<E>SetRoarTarget.create
(Function<E, Optional<? extends LivingEntity>> p_260275_) -
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_) protected Vec3
Pig.getRiddenInput
(LivingEntity p_275263_, Vec3 p_275479_) protected float
Pig.getRiddenSpeed
(LivingEntity p_275585_) 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_) protected void
Pig.tickRidden
(LivingEntity p_275252_, Vec3 p_275534_) 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_) private static boolean
AllayAi.hasWantedItem
(LivingEntity p_273346_) 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 TypeMethodDescriptionstatic BehaviorControl<LivingEntity>
ValidatePlayDead.create()
private 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.camel
Modifier and TypeMethodDescriptionprotected Vec3
Camel.getRiddenInput
(LivingEntity p_275471_, Vec3 p_275191_) protected Vec2
Camel.getRiddenRotation
(LivingEntity p_275271_) protected float
Camel.getRiddenSpeed
(LivingEntity p_252019_) protected void
Camel.tickRidden
(LivingEntity p_275744_, Vec3 p_275586_) -
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_) protected Vec3
AbstractHorse.getRiddenInput
(LivingEntity p_275673_, Vec3 p_275506_) protected Vec2
AbstractHorse.getRiddenRotation
(LivingEntity p_275502_) protected float
AbstractHorse.getRiddenSpeed
(LivingEntity p_250911_) void
Llama.performRangedAttack
(LivingEntity p_30762_, float p_30763_) private void
Llama.spit
(LivingEntity p_30828_) protected void
AbstractHorse.tickRidden
(LivingEntity p_275282_, Vec3 p_275693_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.sniffer
-
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 TypeFieldDescriptionprivate final Predicate<LivingEntity>
EnderMan.EndermanLookForPlayerGoal.isAngerInducing
Modifier and TypeMethodDescriptionGuardian.getActiveAttackTarget()
Ravager.getControllingPassenger()
Strider.getControllingPassenger()
CrossbowAttackMob.getTarget()
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 org.joml.Vector3f
CrossbowAttackMob.getProjectileShotVector
(LivingEntity p_254425_, Vec3 p_254431_, float p_253913_) protected Vec3
Strider.getRiddenInput
(LivingEntity p_275532_, Vec3 p_275578_) protected float
Strider.getRiddenSpeed
(LivingEntity p_275507_) 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_) protected void
Strider.tickRidden
(LivingEntity p_275272_, Vec3 p_275517_) 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 BehaviorControl<LivingEntity>
PiglinAi.babySometimesRideBabyHoglin()
static BehaviorControl<LivingEntity>
RememberIfHoglinWasKilled.create()
static BehaviorControl<LivingEntity>
StartAdmiringItemIfSeen.create
(int p_259418_) static BehaviorControl<LivingEntity>
StopAdmiringIfItemTooFarAway.create
(int p_259415_) static BehaviorControl<LivingEntity>
StopAdmiringIfTiredOfTryingToReachItem.create
(int p_259110_, int p_259200_) private static RunOne<LivingEntity>
PiglinAi.createIdleLookBehaviors()
private static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<OneShot<LivingEntity>,
Integer>> PiglinAi.createLookBehaviors()
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_OR_ON_FIRE
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
BrushItem.onUseTick
(Level p_273467_, LivingEntity p_273619_, ItemStack p_273316_, int p_273101_) 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_) void
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_) private void
SculkCatalystBlockEntity.tryAwardItSpreadsAdvancement
(LivingEntity p_249197_) 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.onStopUsing
(ItemStack stack, LivingEntity entity, int count) Called when an entity stops using an item for any reason, notably when selecting another item without releasing or finishing.default void
IForgeItemStack.onStopUsing
(LivingEntity entity, int count) Called when an entity stops using an item item for any reason.default void
IForgeItem.onUsingTick
(ItemStack stack, LivingEntity player, int count) Deprecated, for removal: This API element is subject to removal in a future version.default void
IForgeItemStack.onUsingTick
(LivingEntity player, int count) Deprecated, for removal: This API element is subject to removal in a future version.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) static void
StopUsingItemTest.InvertedTelescope.removeFov
(LivingEntity living) -
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)
Implement Vanilla's Version