Uses of Class
net.minecraft.world.entity.LivingEntity
Packages that use 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
Methods in net.minecraft.advancements.critereon with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.client.color.item
Methods in net.minecraft.client.color.item with parameters of type LivingEntityModifier and TypeMethodDescriptionint
Constant.calculate
(ItemStack p_387612_, ClientLevel p_390387_, LivingEntity p_390469_) int
CustomModelDataSource.calculate
(ItemStack p_387541_, ClientLevel p_390516_, LivingEntity p_390366_) int
Dye.calculate
(ItemStack p_387455_, ClientLevel p_390508_, LivingEntity p_390428_) int
Firework.calculate
(ItemStack p_387104_, ClientLevel p_390445_, LivingEntity p_390517_) int
GrassColorSource.calculate
(ItemStack p_388684_, ClientLevel p_390380_, LivingEntity p_390527_) int
ItemTintSource.calculate
(ItemStack p_388652_, ClientLevel p_390356_, LivingEntity p_390510_) int
MapColor.calculate
(ItemStack p_388784_, ClientLevel p_390518_, LivingEntity p_390370_) int
Potion.calculate
(ItemStack p_387621_, ClientLevel p_390426_, LivingEntity p_390389_) int
TeamColor.calculate
(ItemStack p_390385_, ClientLevel p_390462_, LivingEntity p_390429_) -
Uses of LivingEntity in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return LivingEntityMethods in net.minecraft.client.gui with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate int
Gui.getVehicleMaxHearts
(LivingEntity p_93023_) void
GuiGraphics.renderItem
(LivingEntity p_282154_, ItemStack p_282777_, int p_282110_, int p_281371_, int p_283572_) private void
GuiGraphics.renderItem
(LivingEntity p_283524_, Level p_282461_, ItemStack p_283653_, int p_283141_, int p_282560_, int p_282425_) private void
GuiGraphics.renderItem
(LivingEntity p_282619_, Level p_281754_, ItemStack p_281675_, int p_281271_, int p_282210_, int p_283260_, int p_281995_) -
Uses of LivingEntity in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic void
InventoryScreen.renderEntityInInventory
(GuiGraphics p_282665_, float p_296361_, float p_294489_, float p_319934_, org.joml.Vector3f p_295026_, org.joml.Quaternionf p_281880_, org.joml.Quaternionf p_282882_, LivingEntity p_282466_) static void
InventoryScreen.renderEntityInInventoryFollowsAngle
(GuiGraphics p_282802_, int p_275688_, int p_275245_, int p_275535_, int p_294406_, int p_294663_, float p_275604_, float angleXComponent, float angleYComponent, LivingEntity p_275689_) static void
InventoryScreen.renderEntityInInventoryFollowsMouse
(GuiGraphics p_282802_, int p_275688_, int p_275245_, int p_275535_, int p_294406_, int p_294663_, float p_275604_, float p_275546_, float p_295352_, LivingEntity p_275689_) -
Uses of LivingEntity in net.minecraft.client.player
Subclasses of LivingEntity in net.minecraft.client.player -
Uses of LivingEntity in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type LivingEntityModifier 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_, 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.entity
Classes in net.minecraft.client.renderer.entity with type parameters of type LivingEntityModifier and TypeClassDescriptionclass
LivingEntityRenderer<T extends LivingEntity,
S extends LivingEntityRenderState, M extends EntityModel<? super S>> Methods in net.minecraft.client.renderer.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic void
HumanoidMobRenderer.extractHumanoidRenderState
(LivingEntity p_365104_, HumanoidRenderState p_362998_, float p_363706_, ItemModelResolver p_388651_) private static HumanoidArm
HumanoidMobRenderer.getAttackArm
(LivingEntity p_362737_) private static ItemStack
HumanoidMobRenderer.getEquipmentIfRenderable
(LivingEntity p_386637_, EquipmentSlot p_386956_) private Vec3
GuardianRenderer.getPosition
(LivingEntity p_114803_, double p_114804_, float p_114805_) static boolean
LivingEntityRenderer.isEntityUpsideDown
(LivingEntity p_194454_) void
ItemRenderer.renderStatic
(LivingEntity p_270101_, ItemStack p_270637_, ItemDisplayContext p_270437_, PoseStack p_270230_, MultiBufferSource p_270411_, Level p_270641_, int p_270595_, int p_270927_, int p_270845_) private static float
LivingEntityRenderer.solveBodyRot
(LivingEntity p_362839_, float p_361247_, float p_361564_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity.state
Methods in net.minecraft.client.renderer.entity.state with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic void
ArmedEntityRenderState.extractArmedEntityRenderState
(LivingEntity p_387833_, ArmedEntityRenderState p_387185_, ItemModelResolver p_386820_) static void
HoldingEntityRenderState.extractHoldingEntityRenderState
(LivingEntity p_387852_, HoldingEntityRenderState p_386946_, ItemModelResolver p_386944_) -
Uses of LivingEntity in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
ItemModelResolver.appendItemLayers
(ItemStackRenderState p_387962_, ItemStack p_388009_, ItemDisplayContext p_387722_, Level p_388449_, LivingEntity p_388907_, int p_388206_) void
BlockModelWrapper.update
(ItemStackRenderState p_386488_, ItemStack p_386443_, ItemModelResolver p_388726_, ItemDisplayContext p_388231_, ClientLevel p_387522_, LivingEntity p_387263_, int p_388300_) void
BundleSelectedItemSpecialRenderer.update
(ItemStackRenderState p_387618_, ItemStack p_386990_, ItemModelResolver p_386923_, ItemDisplayContext p_387805_, ClientLevel p_387156_, LivingEntity p_388838_, int p_386711_) void
CompositeModel.update
(ItemStackRenderState p_386893_, ItemStack p_387281_, ItemModelResolver p_388412_, ItemDisplayContext p_388059_, ClientLevel p_388484_, LivingEntity p_388840_, int p_387330_) void
ConditionalItemModel.update
(ItemStackRenderState p_387756_, ItemStack p_387286_, ItemModelResolver p_386644_, ItemDisplayContext p_387754_, ClientLevel p_388301_, LivingEntity p_387078_, int p_387025_) void
EmptyModel.update
(ItemStackRenderState p_390492_, ItemStack p_390354_, ItemModelResolver p_390507_, ItemDisplayContext p_390501_, ClientLevel p_390403_, LivingEntity p_390475_, int p_390493_) void
ItemModel.update
(ItemStackRenderState p_388724_, ItemStack p_387772_, ItemModelResolver p_387767_, ItemDisplayContext p_388857_, ClientLevel p_387982_, LivingEntity p_386606_, int p_387820_) void
MissingItemModel.update
(ItemStackRenderState p_386627_, ItemStack p_388292_, ItemModelResolver p_388302_, ItemDisplayContext p_388518_, ClientLevel p_387367_, LivingEntity p_388182_, int p_388913_) void
RangeSelectItemModel.update
(ItemStackRenderState p_387732_, ItemStack p_386891_, ItemModelResolver p_388786_, ItemDisplayContext p_387570_, ClientLevel p_388512_, LivingEntity p_388280_, int p_388577_) void
SelectItemModel.update
(ItemStackRenderState p_387349_, ItemStack p_386764_, ItemModelResolver p_388842_, ItemDisplayContext p_386961_, ClientLevel p_386907_, LivingEntity p_387755_, int p_386608_) void
SpecialModelWrapper.update
(ItemStackRenderState p_388134_, ItemStack p_387781_, ItemModelResolver p_387931_, ItemDisplayContext p_388057_, ClientLevel p_388213_, LivingEntity p_388020_, int p_387759_) void
ItemModelResolver.updateForLiving
(ItemStackRenderState p_387100_, ItemStack p_387635_, ItemDisplayContext p_388107_, LivingEntity p_388201_) void
ItemModelResolver.updateForTopItem
(ItemStackRenderState p_387014_, ItemStack p_388693_, ItemDisplayContext p_388835_, Level p_388064_, LivingEntity p_388047_, int p_388137_) -
Uses of LivingEntity in net.minecraft.client.renderer.item.properties.conditional
Methods in net.minecraft.client.renderer.item.properties.conditional with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
Broken.get
(ItemStack p_386887_, ClientLevel p_388949_, LivingEntity p_386628_, int p_387040_, ItemDisplayContext p_389458_) boolean
BundleHasSelectedItem.get
(ItemStack p_387343_, ClientLevel p_386467_, LivingEntity p_387284_, int p_388377_, ItemDisplayContext p_389630_) boolean
ComponentMatches.get
(ItemStack p_399920_, ClientLevel p_399844_, LivingEntity p_399573_, int p_400095_, ItemDisplayContext p_400208_) boolean
CustomModelDataProperty.get
(ItemStack p_387675_, ClientLevel p_387669_, LivingEntity p_388044_, int p_388257_, ItemDisplayContext p_389481_) boolean
Damaged.get
(ItemStack p_388323_, ClientLevel p_388659_, LivingEntity p_386950_, int p_387664_, ItemDisplayContext p_389573_) boolean
ExtendedView.get
(ItemStack p_389501_, ClientLevel p_389409_, LivingEntity p_389583_, int p_389502_, ItemDisplayContext p_389679_) boolean
FishingRodCast.get
(ItemStack p_388347_, ClientLevel p_388341_, LivingEntity p_386847_, int p_386531_, ItemDisplayContext p_389619_) boolean
HasComponent.get
(ItemStack p_388222_, ClientLevel p_386715_, LivingEntity p_386871_, int p_387461_, ItemDisplayContext p_389562_) boolean
IsCarried.get
(ItemStack p_387247_, ClientLevel p_387933_, LivingEntity p_388427_, int p_386998_, ItemDisplayContext p_389534_) boolean
IsKeybindDown.get
(ItemStack p_389550_, ClientLevel p_389440_, LivingEntity p_389703_, int p_389439_, ItemDisplayContext p_389599_) boolean
IsSelected.get
(ItemStack p_387724_, ClientLevel p_387118_, LivingEntity p_387251_, int p_388905_, ItemDisplayContext p_389631_) boolean
IsUsingItem.get
(ItemStack p_386538_, ClientLevel p_386504_, LivingEntity p_388492_, int p_387916_, ItemDisplayContext p_389393_) boolean
IsViewEntity.get
(ItemStack p_390357_, ClientLevel p_390458_, LivingEntity p_390497_, int p_390451_, ItemDisplayContext p_390466_) boolean
ItemModelPropertyTest.get
(ItemStack p_399831_, ClientLevel p_399506_, LivingEntity p_399675_, int p_400089_, ItemDisplayContext p_400225_) -
Uses of LivingEntity in net.minecraft.client.renderer.item.properties.numeric
Methods in net.minecraft.client.renderer.item.properties.numeric with parameters of type LivingEntityModifier and TypeMethodDescriptionfloat
BundleFullness.get
(ItemStack p_388015_, ClientLevel p_386753_, LivingEntity p_386760_, int p_386639_) float
CompassAngle.get
(ItemStack p_387228_, ClientLevel p_386952_, LivingEntity p_386971_, int p_387210_) float
Cooldown.get
(ItemStack p_387823_, ClientLevel p_386825_, LivingEntity p_387191_, int p_387909_) float
Count.get
(ItemStack p_388019_, ClientLevel p_386708_, LivingEntity p_387940_, int p_388179_) float
CrossbowPull.get
(ItemStack p_387470_, ClientLevel p_387947_, LivingEntity p_388564_, int p_388371_) float
CustomModelDataProperty.get
(ItemStack p_386883_, ClientLevel p_387867_, LivingEntity p_388117_, int p_388040_) float
Damage.get
(ItemStack p_386977_, ClientLevel p_386768_, LivingEntity p_387971_, int p_386955_) float
NeedleDirectionHelper.get
(ItemStack p_386635_, ClientLevel p_387256_, LivingEntity p_388745_, int p_387873_) float
RangeSelectItemModelProperty.get
(ItemStack p_388695_, ClientLevel p_388363_, LivingEntity p_387282_, int p_386614_) float
UseCycle.get
(ItemStack p_387347_, ClientLevel p_388372_, LivingEntity p_387048_, int p_388681_) float
UseDuration.get
(ItemStack p_388572_, ClientLevel p_387106_, LivingEntity p_387276_, int p_386612_) static int
UseDuration.useDuration
(ItemStack p_387488_, LivingEntity p_388304_) -
Uses of LivingEntity in net.minecraft.client.renderer.item.properties.select
Methods in net.minecraft.client.renderer.item.properties.select with parameters of type LivingEntityModifier and TypeMethodDescriptionCharge.get
(ItemStack p_387321_, ClientLevel p_387482_, LivingEntity p_387912_, int p_387536_, ItemDisplayContext p_387489_) ComponentContents.get
(ItemStack p_397602_, ClientLevel p_397414_, LivingEntity p_397883_, int p_397032_, ItemDisplayContext p_397548_) ContextDimension.get
(ItemStack p_390388_, ClientLevel p_390477_, LivingEntity p_390423_, int p_390520_, ItemDisplayContext p_390452_) ContextEntityType.get
(ItemStack p_390525_, ClientLevel p_390442_, LivingEntity p_390437_, int p_390427_, ItemDisplayContext p_390397_) CustomModelDataProperty.get
(ItemStack p_388036_, ClientLevel p_387600_, LivingEntity p_388624_, int p_388055_, ItemDisplayContext p_387132_) DisplayContext.get
(ItemStack p_388079_, ClientLevel p_388467_, LivingEntity p_388500_, int p_388313_, ItemDisplayContext p_387120_) ItemBlockState.get
(ItemStack p_387708_, ClientLevel p_388625_, LivingEntity p_388880_, int p_388899_, ItemDisplayContext p_388088_) LocalTime.get
(ItemStack p_389482_, ClientLevel p_389609_, LivingEntity p_389651_, int p_389546_, ItemDisplayContext p_389556_) MainHand.get
(ItemStack p_387406_, ClientLevel p_387423_, LivingEntity p_388453_, int p_388098_, ItemDisplayContext p_386609_) SelectItemModelProperty.get
(ItemStack p_387845_, ClientLevel p_387945_, LivingEntity p_388349_, int p_388630_, ItemDisplayContext p_388902_) TrimMaterialProperty.get
(ItemStack p_387701_, ClientLevel p_388261_, LivingEntity p_387373_, int p_388817_, ItemDisplayContext p_386970_) -
Uses of LivingEntity in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with type parameters of type LivingEntityModifier and TypeMethodDescription<E extends LivingEntity>
voidGameTestHelper.assertEntityIsHolding
(BlockPos p_263501_, EntityType<E> p_263510_, Item p_263517_) Methods in net.minecraft.gametest.framework that return LivingEntityModifier and TypeMethodDescriptionGameTestHelper.makeAboutToDrown
(LivingEntity p_177184_) GameTestHelper.withLowHealth
(LivingEntity p_286794_) Methods in net.minecraft.gametest.framework with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
GameTestHelper.assertLivingEntityHasMobEffect
(LivingEntity p_296040_, Holder<MobEffect> p_316528_, int p_294266_) GameTestHelper.makeAboutToDrown
(LivingEntity p_177184_) GameTestHelper.withLowHealth
(LivingEntity p_286794_) -
Uses of LivingEntity in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type LivingEntityModifier and TypeMethodDescriptionDebugPackets.getMemoryDescriptions
(LivingEntity p_179496_, long p_179497_) static void
DebugPackets.sendEntityBrain
(LivingEntity p_133696_) Constructors in net.minecraft.network.protocol.game with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<Optional<EntityReference<LivingEntity>>> EntityDataSerializers.OPTIONAL_LIVING_ENTITY_REFERENCE
-
Uses of LivingEntity in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return LivingEntityModifier 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
Subclasses of LivingEntity in net.minecraft.server.levelMethods in net.minecraft.server.level with type parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T> ServerEntityGetter.getNearbyEntities
(Class<T> p_376620_, TargetingConditions p_376110_, LivingEntity p_376539_, AABB p_376547_) default <T extends LivingEntity>
TServerEntityGetter.getNearestEntity
(Class<? extends T> p_376776_, TargetingConditions p_376521_, LivingEntity p_376321_, double p_376605_, double p_376504_, double p_376604_, AABB p_376622_) default <T extends LivingEntity>
TServerEntityGetter.getNearestEntity
(List<? extends T> p_376261_, TargetingConditions p_376489_, LivingEntity p_376192_, double p_376174_, double p_376483_, double p_376256_) Methods in net.minecraft.server.level with parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T> ServerEntityGetter.getNearbyEntities
(Class<T> p_376620_, TargetingConditions p_376110_, LivingEntity p_376539_, AABB p_376547_) ServerEntityGetter.getNearbyPlayers
(TargetingConditions p_376095_, LivingEntity p_376466_, AABB p_376149_) default <T extends LivingEntity>
TServerEntityGetter.getNearestEntity
(Class<? extends T> p_376776_, TargetingConditions p_376521_, LivingEntity p_376321_, double p_376605_, double p_376504_, double p_376604_, AABB p_376622_) default <T extends LivingEntity>
TServerEntityGetter.getNearestEntity
(List<? extends T> p_376261_, TargetingConditions p_376489_, LivingEntity p_376192_, double p_376174_, double p_376483_, double p_376256_) default Player
ServerEntityGetter.getNearestPlayer
(TargetingConditions p_376784_, LivingEntity p_376102_) default Player
ServerEntityGetter.getNearestPlayer
(TargetingConditions p_376537_, LivingEntity p_376530_, double p_376306_, double p_376408_, double p_376302_) -
Uses of LivingEntity in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
PlayerList.sendActiveEffects
(LivingEntity p_348624_, ServerGamePacketListenerImpl p_348496_) -
Uses of LivingEntity in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as LivingEntityMethods in net.minecraft.world.damagesource with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic FallLocation
FallLocation.getCurrentFallLocation
(LivingEntity p_289566_) static float
CombatRules.getDamageAfterAbsorb
(LivingEntity p_345376_, float p_19273_, DamageSource p_338892_, float p_19274_, float p_19275_) DamageSource.getLocalizedDeathMessage
(LivingEntity p_19343_) DamageSources.mobAttack
(LivingEntity p_270357_) DamageSources.mobProjectile
(Entity p_270210_, LivingEntity p_270757_) DamageSources.noAggroMobAttack
(LivingEntity p_270502_) DamageSources.spit
(Entity p_316508_, LivingEntity p_316581_) DamageSources.sting
(LivingEntity p_270689_) DamageSources.windCharge
(Entity p_316454_, LivingEntity p_316891_) Constructors in net.minecraft.world.damagesource with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
AbsorptionMobEffect.applyEffectTick
(ServerLevel p_376208_, LivingEntity p_294484_, int p_294672_) boolean
BadOmenMobEffect.applyEffectTick
(ServerLevel p_376404_, LivingEntity p_296327_, int p_294357_) boolean
HealOrHarmMobEffect.applyEffectTick
(ServerLevel p_376486_, LivingEntity p_295255_, int p_295147_) boolean
HungerMobEffect.applyEffectTick
(ServerLevel p_376386_, LivingEntity p_296407_, int p_296356_) boolean
MobEffect.applyEffectTick
(ServerLevel p_376587_, LivingEntity p_19467_, int p_19468_) boolean
PoisonMobEffect.applyEffectTick
(ServerLevel p_376442_, LivingEntity p_296276_, int p_296233_) boolean
RaidOmenMobEffect.applyEffectTick
(ServerLevel p_376757_, LivingEntity p_338728_, int p_338249_) boolean
RegenerationMobEffect.applyEffectTick
(ServerLevel p_376742_, LivingEntity p_295924_, int p_296417_) boolean
SaturationMobEffect.applyEffectTick
(ServerLevel p_376353_, LivingEntity p_295892_, int p_296026_) boolean
WitherMobEffect.applyEffectTick
(ServerLevel p_376400_, LivingEntity p_296279_, int p_294798_) void
HealOrHarmMobEffect.applyInstantenousEffect
(ServerLevel p_376760_, Entity p_294574_, Entity p_295692_, LivingEntity p_296483_, int p_296095_, double p_295178_) void
MobEffect.applyInstantenousEffect
(ServerLevel p_376271_, Entity p_19462_, Entity p_19463_, LivingEntity p_19464_, int p_19465_, double p_19466_) static OozingMobEffect.NearbySlimes
OozingMobEffect.NearbySlimes.closeTo
(LivingEntity p_348471_) float
MobEffectInstance.getBlendFactor
(LivingEntity p_316410_, float p_316194_) static int
MobEffectUtil.getDigSpeedAmplification
(LivingEntity p_19587_) float
MobEffectInstance.BlendState.getFactor
(LivingEntity p_316317_, float p_316789_) static boolean
MobEffectUtil.hasDigSpeed
(LivingEntity p_19585_) static boolean
MobEffectUtil.hasWaterBreathing
(LivingEntity p_19589_) void
MobEffect.onEffectAdded
(LivingEntity p_338333_, int p_338715_) void
MobEffectInstance.onEffectAdded
(LivingEntity p_338286_) void
AbsorptionMobEffect.onEffectStarted
(LivingEntity p_294820_, int p_295222_) void
MobEffect.onEffectStarted
(LivingEntity p_296490_, int p_296147_) void
MobEffectInstance.onEffectStarted
(LivingEntity p_295220_) void
InfestedMobEffect.onMobHurt
(ServerLevel p_376338_, LivingEntity p_338481_, int p_338438_, DamageSource p_338894_, float p_338367_) void
MobEffect.onMobHurt
(ServerLevel p_376153_, LivingEntity p_338186_, int p_338204_, DamageSource p_338393_, float p_338618_) void
MobEffectInstance.onMobHurt
(ServerLevel p_376624_, LivingEntity p_338201_, DamageSource p_338572_, float p_338779_) void
MobEffect.onMobRemoved
(ServerLevel p_376540_, LivingEntity p_338500_, int p_338476_, Entity.RemovalReason p_338373_) void
MobEffectInstance.onMobRemoved
(ServerLevel p_376394_, LivingEntity p_338566_, Entity.RemovalReason p_338384_) void
OozingMobEffect.onMobRemoved
(ServerLevel p_376380_, LivingEntity p_338339_, int p_338421_, Entity.RemovalReason p_338677_) void
WeavingMobEffect.onMobRemoved
(ServerLevel p_376925_, LivingEntity p_338209_, int p_338446_, Entity.RemovalReason p_338624_) void
WindChargedMobEffect.onMobRemoved
(ServerLevel p_376782_, LivingEntity p_338439_, int p_338875_, Entity.RemovalReason p_338258_) private void
InfestedMobEffect.spawnSilverfish
(ServerLevel p_376716_, LivingEntity p_341023_, double p_338557_, double p_338848_, double p_338562_) boolean
MobEffectInstance.tickServer
(ServerLevel p_394250_, LivingEntity p_393795_, Runnable p_393556_) -
Uses of LivingEntity in net.minecraft.world.entity
Subclasses of LivingEntity in net.minecraft.world.entityModifier and TypeClassDescriptionclass
class
class
class
class
class
Fields in net.minecraft.world.entity declared as LivingEntityModifier and TypeFieldDescriptionprivate final LivingEntity
ElytraAnimationState.entity
private LivingEntity
LivingEntity.lastHurtMob
private LivingEntity
AreaEffectCloud.owner
private LivingEntity
Mob.target
Fields in net.minecraft.world.entity with type parameters of type LivingEntityModifier and TypeFieldDescriptionprotected static final EntityDataAccessor
<Optional<EntityReference<LivingEntity>>> TamableAnimal.DATA_OWNERUUID_ID
private EntityReference
<LivingEntity> LivingEntity.lastHurtByMob
static final Predicate
<LivingEntity> LivingEntity.PLAYER_NOT_WEARING_DISGUISE_ITEM
Deprecated.static final BiPredicate
<LivingEntity, @Nullable LivingEntity> LivingEntity.PLAYER_NOT_WEARING_DISGUISE_ITEM_FOR_TARGET
static final BiPredicate
<LivingEntity, @Nullable LivingEntity> LivingEntity.PLAYER_NOT_WEARING_DISGUISE_ITEM_FOR_TARGET
Methods in net.minecraft.world.entity that return LivingEntityModifier 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()
default LivingEntity
OwnableEntity.getRootOwner()
Interaction.getTarget()
Mob.getTarget()
NeutralMob.getTarget()
Targeting.getTarget()
protected final LivingEntity
Mob.getTargetFromBrain()
Methods in net.minecraft.world.entity that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionOwnableEntity.getOwnerReference()
TamableAnimal.getOwnerReference()
Methods in net.minecraft.world.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionEntityType.appendCustomEntityStackConfig
(Consumer<T> p_263579_, Level p_366735_, ItemStack p_263582_, LivingEntity p_394266_) EntityType.appendDefaultStackConfig
(Consumer<T> p_265154_, Level p_366809_, ItemStack p_265598_, LivingEntity p_393979_) protected void
LivingEntity.blockedByItem
(LivingEntity p_21246_) protected void
LivingEntity.blockUsingItem
(ServerLevel p_399926_, LivingEntity p_399873_) boolean
LivingEntity.canAttack
(LivingEntity p_21171_) boolean
NeutralMob.canAttack
(LivingEntity p_181126_) boolean
TamableAnimal.canAttack
(LivingEntity p_21822_) EntityType.createDefaultStackConfig
(Level p_366618_, ItemStack p_263568_, LivingEntity p_393794_) 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
EntityEquipment.dropAll
(LivingEntity p_401845_) 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_) default boolean
NeutralMob.isAngryAt
(LivingEntity p_21675_, ServerLevel p_376199_) boolean
LivingEntity.isLookingAtMe
(LivingEntity p_379420_, double p_379671_, boolean p_380253_, boolean p_380067_, double... p_383243_) boolean
TamableAnimal.isOwnedBy
(LivingEntity p_21831_) boolean
Mob.isWithinMeleeAttackRange
(LivingEntity p_217067_) boolean
Entity.killedEntity
(ServerLevel p_216988_, LivingEntity p_216989_) void
LivingEntity.setLastHurtByMob
(LivingEntity p_21039_) void
NeutralMob.setLastHurtByMob
(LivingEntity p_21669_) void
AreaEffectCloud.setOwner
(LivingEntity p_19719_) void
TamableAnimal.setOwner
(LivingEntity p_394333_) void
Mob.setTarget
(LivingEntity p_21544_) void
NeutralMob.setTarget
(LivingEntity p_21681_) EntityType.spawn
(ServerLevel p_20593_, ItemStack p_20594_, LivingEntity p_393729_, BlockPos p_20596_, EntitySpawnReason p_361023_, boolean p_20598_, boolean p_20599_) static void
EntityType.updateCustomEntityTag
(Level p_20621_, LivingEntity p_394374_, Entity p_20623_, CustomData p_331752_) boolean
TamableAnimal.wantsToAttack
(LivingEntity p_21810_, LivingEntity p_21811_) Method parameters in net.minecraft.world.entity with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic boolean
GlowSquid.checkGlowSquidSpawnRules
(EntityType<? extends LivingEntity> p_217018_, ServerLevelAccessor p_217019_, EntitySpawnReason p_365182_, BlockPos p_217021_, RandomSource p_217022_) void
TamableAnimal.setOwnerReference
(EntityReference<LivingEntity> p_393498_) Constructors in net.minecraft.world.entity with parameters of type LivingEntityConstructor parameters in net.minecraft.world.entity with type arguments of type LivingEntityModifierConstructorDescriptionprotected
LivingEntity
(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) -
Uses of LivingEntity in net.minecraft.world.entity.ai
Classes in net.minecraft.world.entity.ai with type parameters of type LivingEntityModifier and TypeClassDescriptionclass
Brain<E extends LivingEntity>
static final class
Brain.Provider<E extends LivingEntity>
Methods in net.minecraft.world.entity.ai with type parameters of type LivingEntityModifier 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
Fields in net.minecraft.world.entity.ai.attributes with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Map
<EntityType<? extends LivingEntity>, AttributeSupplier> DefaultAttributes.SUPPLIERS
Method parameters in net.minecraft.world.entity.ai.attributes with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic AttributeSupplier
DefaultAttributes.getSupplier
(EntityType<? extends LivingEntity> p_22298_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.behavior
Classes in net.minecraft.world.entity.ai.behavior with type parameters of type LivingEntityModifier 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>
Fields in net.minecraft.world.entity.ai.behavior declared as LivingEntityModifier and TypeFieldDescription(package private) final LivingEntity
PrepareRamNearestTarget.RamCandidate.target
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final Function
<LivingEntity, Double> FollowTemptation.closeEnoughDistance
private final Function
<LivingEntity, Float> FollowTemptation.speedModifier
private final Function
<LivingEntity, Optional<PositionTracker>> GoAndGiveItemsToTarget.targetPositionGetter
Methods in net.minecraft.world.entity.ai.behavior with type parameters of type LivingEntityModifier 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_) Methods in net.minecraft.world.entity.ai.behavior that return LivingEntityModifier 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_) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type LivingEntityModifier 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_) Optional
<? extends LivingEntity> StartAttacking.TargetFinder.get
(ServerLevel p_376683_, E p_376320_) 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_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
StopAttackingIfTargetInvalid.TargetErasedCallback.accept
(ServerLevel p_376733_, E p_376711_, LivingEntity p_376457_) private 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_, int p_320174_) 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_, int p_319876_) 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_) boolean
StopAttackingIfTargetInvalid.StopAttackCondition.test
(ServerLevel p_376868_, LivingEntity p_376919_) private void
GiveGiftToHero.throwGift
(ServerLevel p_376445_, 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_) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type LivingEntityModifier 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 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_) 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_) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type LivingEntityModifierConstructorDescriptionRamCandidate
(BlockPos p_147794_, BlockPos p_147795_, LivingEntity p_147796_) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type LivingEntityModifierConstructorDescriptionFollowTemptation
(Function<LivingEntity, Float> p_147486_) FollowTemptation
(Function<LivingEntity, Float> p_288997_, Function<LivingEntity, Double> p_288972_) GoAndGiveItemsToTarget
(Function<LivingEntity, Optional<PositionTracker>> p_249894_, float p_249937_, int p_249620_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.behavior.declarative
Classes in net.minecraft.world.entity.ai.behavior.declarative with type parameters of type LivingEntityModifier 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>
Methods in net.minecraft.world.entity.ai.behavior.declarative with type parameters of type LivingEntityModifier 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
Methods in net.minecraft.world.entity.ai.behavior.warden that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionstatic BehaviorControl
<LivingEntity> SetWardenLookTarget.create()
static BehaviorControl
<LivingEntity> TryToSniff.create()
Methods in net.minecraft.world.entity.ai.behavior.warden with parameters of type LivingEntityModifier 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_) Method parameters in net.minecraft.world.entity.ai.behavior.warden with type arguments of type LivingEntityModifier 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
Classes in net.minecraft.world.entity.ai.goal with type parameters of type LivingEntityFields in net.minecraft.world.entity.ai.goal declared as LivingEntityModifier 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
Fields in net.minecraft.world.entity.ai.goal with type parameters of type LivingEntityModifier and TypeFieldDescriptionprotected final Predicate
<LivingEntity> AvoidEntityGoal.avoidPredicate
protected final Class
<? extends LivingEntity> LookAtPlayerGoal.lookAtType
protected final Predicate
<LivingEntity> AvoidEntityGoal.predicateOnAvoidEntity
Methods in net.minecraft.world.entity.ai.goal with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected boolean
MeleeAttackGoal.canPerformAttack
(LivingEntity p_301299_) protected void
MeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_25557_) private boolean
TemptGoal.shouldFollow
(LivingEntity p_148139_) Constructor parameters in net.minecraft.world.entity.ai.goal with type arguments of type LivingEntityModifierConstructorDescriptionAvoidEntityGoal
(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
Classes in net.minecraft.world.entity.ai.goal.target with type parameters of type LivingEntityModifier and TypeClassDescriptionclass
NearestAttackableTargetGoal<T extends LivingEntity>
class
NearestAttackableWitchTargetGoal<T extends LivingEntity>
class
NearestHealableRaiderTargetGoal<T extends LivingEntity>
class
NonTameRandomTargetGoal<T extends LivingEntity>
Fields in net.minecraft.world.entity.ai.goal.target declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntity
OwnerHurtTargetGoal.ownerLastHurt
private LivingEntity
OwnerHurtByTargetGoal.ownerLastHurtBy
private LivingEntity
DefendVillageTargetGoal.potentialTarget
protected LivingEntity
NearestAttackableTargetGoal.target
protected LivingEntity
TargetGoal.targetMob
Methods in net.minecraft.world.entity.ai.goal.target with parameters of type LivingEntityModifier 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_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type LivingEntityModifier 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
Methods in net.minecraft.world.entity.ai.memory that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionNearestVisibleLivingEntities.find
(Predicate<LivingEntity> p_186129_) NearestVisibleLivingEntities.findAll
(Predicate<LivingEntity> p_186124_) NearestVisibleLivingEntities.findClosest
(Predicate<LivingEntity> p_186117_) Methods in net.minecraft.world.entity.ai.memory with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
NearestVisibleLivingEntities.contains
(LivingEntity p_186108_) Method parameters in net.minecraft.world.entity.ai.memory with type arguments of type LivingEntityModifier 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_) Constructors in net.minecraft.world.entity.ai.memory with parameters of type LivingEntityModifierConstructorDescriptionNearestVisibleLivingEntities
(ServerLevel p_376532_, LivingEntity p_186104_, List<LivingEntity> p_186105_) Constructor parameters in net.minecraft.world.entity.ai.memory with type arguments of type LivingEntityModifierConstructorDescriptionNearestVisibleLivingEntities
(ServerLevel p_376532_, LivingEntity p_186104_, List<LivingEntity> p_186105_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.sensing
Classes in net.minecraft.world.entity.ai.sensing with type parameters of type LivingEntityModifier and TypeClassDescriptionclass
MobSensor<T extends LivingEntity>
class
NearestLivingEntitySensor<T extends LivingEntity>
class
Sensor<E extends LivingEntity>
Fields in net.minecraft.world.entity.ai.sensing with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final BiPredicate
<T, LivingEntity> MobSensor.mobTest
static final SensorType
<NearestLivingEntitySensor<LivingEntity>> SensorType.NEAREST_LIVING_ENTITIES
Methods in net.minecraft.world.entity.ai.sensing that return types with arguments of type LivingEntityModifier 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
(ServerLevel p_376249_, LivingEntity p_148298_) private List
<LivingEntity> VillagerBabiesSensor.getNearestVillagerBabies
(LivingEntity p_26837_) static BiPredicate
<ServerLevel, LivingEntity> Sensor.wasEntityAttackableLastNTicks
(LivingEntity p_362583_, int p_363318_) Methods in net.minecraft.world.entity.ai.sensing with parameters of type LivingEntityModifier 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_) protected double
PlayerSensor.getFollowDistance
(LivingEntity p_363246_) private Optional
<LivingEntity> NearestVisibleLivingEntitySensor.getNearestEntity
(ServerLevel p_376249_, 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
(ServerLevel p_376646_, LivingEntity p_148313_, LivingEntity p_148314_) static boolean
Sensor.isEntityAttackableIgnoringLineOfSight
(ServerLevel p_376119_, LivingEntity p_182378_, LivingEntity p_182379_) static boolean
Sensor.isEntityTargetable
(ServerLevel p_376505_, 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
(ServerLevel p_376498_, LivingEntity p_148266_, LivingEntity p_148267_) protected boolean
FrogAttackablesSensor.isMatchingEntity
(ServerLevel p_376635_, LivingEntity p_217810_, LivingEntity p_217811_) protected abstract boolean
NearestVisibleLivingEntitySensor.isMatchingEntity
(ServerLevel p_376187_, LivingEntity p_148292_, LivingEntity p_148293_) protected boolean
VillagerHostilesSensor.isMatchingEntity
(ServerLevel p_376393_, LivingEntity p_148344_, LivingEntity p_148345_) private boolean
FrogAttackablesSensor.isUnreachableAttackTarget
(LivingEntity p_238336_, LivingEntity p_238337_) private boolean
VillagerBabiesSensor.isVillagerBaby
(LivingEntity p_26839_) static BiPredicate
<ServerLevel, LivingEntity> Sensor.wasEntityAttackableLastNTicks
(LivingEntity p_362583_, int p_363318_) Method parameters in net.minecraft.world.entity.ai.sensing with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional
<LivingEntity> WardenEntitySensor.getClosest
(Warden p_217843_, Predicate<LivingEntity> p_217844_) Constructor parameters in net.minecraft.world.entity.ai.sensing with type arguments of type LivingEntityModifierConstructorDescriptionMobSensor
(int p_316590_, BiPredicate<T, LivingEntity> p_316273_, Predicate<T> p_316373_, MemoryModuleType<Boolean> p_316764_, int p_316209_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.targeting
Methods in net.minecraft.world.entity.ai.targeting with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
TargetingConditions.Selector.test
(LivingEntity p_376107_, ServerLevel p_376747_) boolean
TargetingConditions.test
(ServerLevel p_376690_, LivingEntity p_26886_, LivingEntity p_26887_) -
Uses of LivingEntity in net.minecraft.world.entity.ambient
Subclasses of LivingEntity in net.minecraft.world.entity.ambient -
Uses of LivingEntity in net.minecraft.world.entity.animal
Classes in net.minecraft.world.entity.animal with type parameters of type LivingEntityModifier 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>
Subclasses of LivingEntity in net.minecraft.world.entity.animalModifier 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
Fields in net.minecraft.world.entity.animal declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntity
Fox.DefendTrustedTargetGoal.trustedLastHurt
private LivingEntity
Fox.DefendTrustedTargetGoal.trustedLastHurtBy
Fields in net.minecraft.world.entity.animal with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Optional<EntityReference<LivingEntity>>> private static final EntityDataAccessor
<Optional<EntityReference<LivingEntity>>> private static final com.mojang.serialization.Codec
<List<EntityReference<LivingEntity>>> Methods in net.minecraft.world.entity.animal with type parameters of type LivingEntityModifier and TypeMethodDescriptionstatic <T extends LivingEntity & Bucketable>
Optional<InteractionResult> Bucketable.bucketMobPickup
(Player p_148829_, InteractionHand p_148830_, T p_148831_) Methods in net.minecraft.world.entity.animal that return LivingEntityMethods in net.minecraft.world.entity.animal that return types with arguments of type LivingEntityModifier and TypeMethodDescription(package private) Stream
<EntityReference<LivingEntity>> Fox.getTrustedEntities()
Methods in net.minecraft.world.entity.animal with parameters of type LivingEntityModifier and TypeMethodDescription(package private) void
Fox.addTrustedEntity
(LivingEntity p_393835_) protected 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_) boolean
Dolphin.canAttack
(LivingEntity p_363474_) protected void
Fox.FoxMeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_28724_) protected void
PolarBear.PolarBearMeleeAttackGoal.checkAndPerformAttack
(LivingEntity p_29589_) Pig.getDismountLocationForPassenger
(LivingEntity p_29487_) static boolean
Fox.isPathClear
(Fox p_28472_, LivingEntity p_28473_) void
SnowGolem.performRangedAttack
(LivingEntity p_29912_, float p_29913_) void
Fox.setTarget
(LivingEntity p_28574_) void
Panda.PandaLookAtPlayerGoal.setTarget
(LivingEntity p_29313_) boolean
Fox.FoxAlertableEntitiesSelector.test
(LivingEntity p_28653_, ServerLevel p_376835_) (package private) boolean
Fox.trusts
(LivingEntity p_394151_) Method parameters in net.minecraft.world.entity.animal with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate void
Fox.addTrustedEntity
(EntityReference<LivingEntity> p_393599_) Constructor parameters in net.minecraft.world.entity.animal with type arguments of type LivingEntityModifierConstructorDescriptionDefendTrustedTargetGoal
(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, TargetingConditions.Selector p_376538_) 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
Subclasses of LivingEntity in net.minecraft.world.entity.animal.allayMethods in net.minecraft.world.entity.animal.allay with parameters of type LivingEntityModifier 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.armadillo
Subclasses of LivingEntity in net.minecraft.world.entity.animal.armadilloMethods in net.minecraft.world.entity.animal.armadillo with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world.entity.animal.axolotl
Subclasses of LivingEntity in net.minecraft.world.entity.animal.axolotlMethods in net.minecraft.world.entity.animal.axolotl that return LivingEntityMethods in net.minecraft.world.entity.animal.axolotl that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionstatic BehaviorControl
<LivingEntity> ValidatePlayDead.create()
private static Optional
<? extends LivingEntity> AxolotlAi.findNearestValidAttackTarget
(ServerLevel p_376235_, Axolotl p_149299_) Methods in net.minecraft.world.entity.animal.axolotl with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static boolean
AxolotlAi.canSetWalkTargetFromLookTarget
(LivingEntity p_182381_) 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
(ServerLevel p_376262_, Axolotl p_218444_, LivingEntity p_218445_) Method parameters in net.minecraft.world.entity.animal.axolotl with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> p_218438_, ServerLevelAccessor p_218439_, EntitySpawnReason p_360359_, BlockPos p_218441_, RandomSource p_218442_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.camel
Subclasses of LivingEntity in net.minecraft.world.entity.animal.camelMethods in net.minecraft.world.entity.animal.camel with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world.entity.animal.frog
Subclasses of LivingEntity in net.minecraft.world.entity.animal.frogMethods in net.minecraft.world.entity.animal.frog that return LivingEntityMethods in net.minecraft.world.entity.animal.frog with parameters of type LivingEntityModifier 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
Subclasses of LivingEntity in net.minecraft.world.entity.animal.goat -
Uses of LivingEntity in net.minecraft.world.entity.animal.horse
Subclasses of LivingEntity in net.minecraft.world.entity.animal.horseModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Fields in net.minecraft.world.entity.animal.horse declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntity
TraderLlama.TraderLlamaDefendWanderingTraderGoal.ownerLastHurtBy
Fields in net.minecraft.world.entity.animal.horse with type parameters of type LivingEntityMethods in net.minecraft.world.entity.animal.horse that return LivingEntityMethods in net.minecraft.world.entity.animal.horse that return types with arguments of type LivingEntityMethods in net.minecraft.world.entity.animal.horse with parameters of type LivingEntityModifier and TypeMethodDescriptionAbstractHorse.getDismountLocationForPassenger
(LivingEntity p_30576_) private Vec3
AbstractHorse.getDismountLocationInDirection
(Vec3 p_30562_, LivingEntity p_30563_) protected Vec2
AbstractHorse.getRiddenRotation
(LivingEntity p_275502_) void
Llama.performRangedAttack
(LivingEntity p_30762_, float p_30763_) void
AbstractHorse.setOwner
(LivingEntity p_393827_) private void
Llama.spit
(LivingEntity p_30828_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.sheep
Subclasses of LivingEntity in net.minecraft.world.entity.animal.sheep -
Uses of LivingEntity in net.minecraft.world.entity.animal.sniffer
Subclasses of LivingEntity in net.minecraft.world.entity.animal.sniffer -
Uses of LivingEntity in net.minecraft.world.entity.animal.wolf
Classes in net.minecraft.world.entity.animal.wolf with type parameters of type LivingEntityModifier and TypeClassDescription(package private) class
Wolf.WolfAvoidEntityGoal<T extends LivingEntity>
Subclasses of LivingEntity in net.minecraft.world.entity.animal.wolfMethods in net.minecraft.world.entity.animal.wolf with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
Wolf.wantsToAttack
(LivingEntity p_406214_, LivingEntity p_406223_) -
Uses of LivingEntity in net.minecraft.world.entity.boss.enderdragon
Subclasses of LivingEntity in net.minecraft.world.entity.boss.enderdragonMethods in net.minecraft.world.entity.boss.enderdragon with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world.entity.boss.enderdragon.phases
Fields in net.minecraft.world.entity.boss.enderdragon.phases declared as LivingEntityMethods in net.minecraft.world.entity.boss.enderdragon.phases with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world.entity.boss.wither
Subclasses of LivingEntity in net.minecraft.world.entity.boss.witherMethods in net.minecraft.world.entity.boss.wither with parameters of type LivingEntityModifier 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
Subclasses of LivingEntity in net.minecraft.world.entity.decoration -
Uses of LivingEntity in net.minecraft.world.entity.item
Fields in net.minecraft.world.entity.item declared as LivingEntityMethods in net.minecraft.world.entity.item that return LivingEntityConstructors in net.minecraft.world.entity.item with parameters of type LivingEntityModifierConstructorDescriptionPrimedTnt
(Level p_32079_, double p_32080_, double p_32081_, double p_32082_, LivingEntity p_32083_) -
Uses of LivingEntity in net.minecraft.world.entity.monster
Classes in net.minecraft.world.entity.monster with type parameters of type LivingEntityModifier and TypeClassDescription(package private) static class
Spider.SpiderTargetGoal<T extends LivingEntity>
Subclasses of LivingEntity in net.minecraft.world.entity.monsterModifier 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
class
Fields in net.minecraft.world.entity.monster declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntity
Guardian.clientSideCachedAttackTarget
private LivingEntity
EnderMan.EndermanFreezeWhenLookedAt.target
Fields in net.minecraft.world.entity.monster with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Predicate
<LivingEntity> Ravager.ROAR_TARGET_ON_CLIENT
Methods in net.minecraft.world.entity.monster that return LivingEntityModifier and TypeMethodDescriptionGuardian.getActiveAttackTarget()
Strider.getControllingPassenger()
CrossbowAttackMob.getTarget()
Zoglin.getTarget()
Methods in net.minecraft.world.entity.monster that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionprivate Optional
<? extends LivingEntity> Zoglin.findNearestValidAttackTarget
(ServerLevel p_376132_) Methods in net.minecraft.world.entity.monster with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected void
Ravager.blockedByItem
(LivingEntity p_33361_) protected void
Zoglin.blockedByItem
(LivingEntity p_34246_) boolean
AbstractIllager.canAttack
(LivingEntity p_186270_) (package private) boolean
Phantom.canAttack
(ServerLevel p_376229_, LivingEntity p_376094_, TargetingConditions p_376891_) protected void
Slime.dealDamage
(LivingEntity p_33638_) Strider.getDismountLocationForPassenger
(LivingEntity p_33908_) private boolean
Zoglin.isTargetable
(ServerLevel p_376303_, LivingEntity p_34253_) boolean
Zombie.killedEntity
(ServerLevel p_219160_, LivingEntity p_219161_) 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_) boolean
Guardian.GuardianAttackSelector.test
(LivingEntity p_32881_, ServerLevel p_376639_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.breeze
Subclasses of LivingEntity in net.minecraft.world.entity.monster.breezeMethods in net.minecraft.world.entity.monster.breeze that return LivingEntityMethods in net.minecraft.world.entity.monster.breeze that return types with arguments of type LivingEntityMethods in net.minecraft.world.entity.monster.breeze with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static boolean
Shoot.isTargetWithinRange
(Breeze p_312114_, LivingEntity p_312647_) private static boolean
LongJump.outOfAggroRange
(Breeze p_312045_, LivingEntity p_312043_) static Vec3
BreezeUtil.randomPointBehindTarget
(LivingEntity p_316886_, RandomSource p_316867_) private static Vec3
Slide.randomPointInMiddleCircle
(Breeze p_311931_, LivingEntity p_312413_) private static BlockPos
LongJump.snapToSurface
(LivingEntity p_311909_, Vec3 p_312597_) private static boolean
LongJump.tooCloseForJump
(Breeze p_312356_, LivingEntity p_312654_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.creaking
Subclasses of LivingEntity in net.minecraft.world.entity.monster.creakingMethods in net.minecraft.world.entity.monster.creaking that return LivingEntityMethods in net.minecraft.world.entity.monster.creaking with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static boolean
CreakingAi.isAttackTargetStillReachable
(Creaking p_397141_, LivingEntity p_397218_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.hoglin
Subclasses of LivingEntity in net.minecraft.world.entity.monster.hoglinMethods in net.minecraft.world.entity.monster.hoglin that return LivingEntityMethods in net.minecraft.world.entity.monster.hoglin that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional
<? extends LivingEntity> HoglinAi.findNearestValidAttackTarget
(ServerLevel p_376560_, Hoglin p_34611_) Methods in net.minecraft.world.entity.monster.hoglin with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected void
Hoglin.blockedByItem
(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
(ServerLevel p_376768_, LivingEntity p_34643_, LivingEntity p_34644_) private static void
HoglinAi.maybeRetaliate
(ServerLevel p_376686_, 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
(ServerLevel p_376449_, Hoglin p_34596_, LivingEntity p_34597_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.piglin
Subclasses of LivingEntity in net.minecraft.world.entity.monster.piglinMethods in net.minecraft.world.entity.monster.piglin that return LivingEntityMethods in net.minecraft.world.entity.monster.piglin that return types with arguments of type LivingEntityModifier 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
(ServerLevel p_376590_, Piglin p_35001_) private static Optional
<? extends LivingEntity> PiglinBruteAi.findNearestValidAttackTarget
(ServerLevel p_376426_, AbstractPiglin p_35087_) private static Optional
<LivingEntity> PiglinAi.getAngerTarget
(AbstractPiglin p_34976_) static Optional
<LivingEntity> PiglinAi.getAvoidTarget
(Piglin p_34987_) Methods in net.minecraft.world.entity.monster.piglin with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static void
PiglinAi.admireGoldItem
(LivingEntity p_34939_) protected static void
PiglinAi.broadcastAngerTarget
(ServerLevel p_376810_, AbstractPiglin p_376255_, LivingEntity p_376115_) 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
(ServerLevel p_376103_, Piglin p_34901_, LivingEntity p_34902_) private static boolean
PiglinBruteAi.isNearestValidAttackTarget
(ServerLevel p_376673_, AbstractPiglin p_35089_, LivingEntity p_35090_) static boolean
PiglinAi.isPlayerHoldingLovedItem
(LivingEntity p_34884_) static boolean
PiglinAi.isWearingSafeArmor
(LivingEntity p_371788_) protected static void
PiglinAi.maybeRetaliate
(ServerLevel p_376349_, 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
(ServerLevel p_376847_, AbstractPiglin p_34925_, LivingEntity p_34926_) protected static void
PiglinBruteAi.setAngerTarget
(PiglinBrute p_149989_, LivingEntity p_149990_) private static void
PiglinAi.setAngerTargetIfCloserThanCurrent
(ServerLevel p_376637_, AbstractPiglin p_34963_, LivingEntity p_34964_) private static void
PiglinAi.setAngerTargetToNearestTargetablePlayerIfFound
(ServerLevel p_376569_, AbstractPiglin p_34945_, LivingEntity p_34946_) private static void
PiglinAi.setAvoidTargetAndDontHuntForAWhile
(Piglin p_34968_, LivingEntity p_34969_) private static boolean
PiglinAi.wantsToDance
(LivingEntity p_34811_, LivingEntity p_34812_) protected static void
PiglinAi.wasHurtBy
(ServerLevel p_376829_, Piglin p_34838_, LivingEntity p_34839_) protected static void
PiglinBruteAi.wasHurtBy
(ServerLevel p_376396_, PiglinBrute p_35097_, LivingEntity p_35098_) private static boolean
PiglinAi.wasHurtRecently
(LivingEntity p_34989_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.warden
Subclasses of LivingEntity in net.minecraft.world.entity.monster.wardenMethods in net.minecraft.world.entity.monster.warden that return LivingEntityMethods in net.minecraft.world.entity.monster.warden that return types with arguments of type LivingEntityMethods in net.minecraft.world.entity.monster.warden with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static boolean
WardenAi.isTarget
(Warden p_219515_, LivingEntity p_219516_) private static void
WardenAi.onTargetInvalid
(ServerLevel p_376213_, 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
Subclasses of LivingEntity in net.minecraft.world.entity.npcMethods in net.minecraft.world.entity.npc with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.world.entity.player
Subclasses of LivingEntity in net.minecraft.world.entity.playerMethods in net.minecraft.world.entity.player with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected void
Player.blockUsingItem
(ServerLevel p_400223_, LivingEntity p_399637_) protected void
Player.doAutoAttackOnTouch
(LivingEntity p_36355_) boolean
Player.killedEntity
(ServerLevel p_219735_, LivingEntity p_219736_) -
Uses of LivingEntity in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntity
FireworkRocketEntity.attachedToEntity
private LivingEntity
EvokerFangs.owner
Fields in net.minecraft.world.entity.projectile with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final Predicate
<LivingEntity> AbstractThrownPotion.WATER_SENSITIVE_OR_ON_FIRE
Methods in net.minecraft.world.entity.projectile that return LivingEntityMethods in net.minecraft.world.entity.projectile with parameters of type LivingEntityModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
AbstractThrownPotion.calculateHorizontalHurtKnockbackDirection
(LivingEntity p_400055_, DamageSource p_399475_) it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
FireworkRocketEntity.calculateHorizontalHurtKnockbackDirection
(LivingEntity p_345239_, DamageSource p_345155_) it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
Projectile.calculateHorizontalHurtKnockbackDirection
(LivingEntity p_344992_, DamageSource p_345905_) Projectile.ProjectileFactory.create
(ServerLevel p_362263_, LivingEntity p_363113_, ItemStack p_364268_) private void
EvokerFangs.dealDamageTo
(LivingEntity p_36945_) protected void
AbstractArrow.doKnockback
(LivingEntity p_346111_, DamageSource p_346412_) 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_, ItemStack p_345078_) static InteractionHand
ProjectileUtil.getWeaponHoldingHand
(LivingEntity livingEntity, Predicate<Item> itemPredicate) static InteractionHand
ProjectileUtil.getWeaponHoldingHand
(LivingEntity p_37298_, Item p_37299_) Deprecated.void
EvokerFangs.setOwner
(LivingEntity p_36939_) static <T extends Projectile>
TProjectile.spawnProjectileFromRotation
(Projectile.ProjectileFactory<T> p_364847_, ServerLevel p_364917_, ItemStack p_361900_, LivingEntity p_364717_, float p_360563_, float p_361014_, float p_365444_) static <T extends Projectile>
TProjectile.spawnProjectileUsingShoot
(Projectile.ProjectileFactory<T> p_363835_, ServerLevel p_361870_, ItemStack p_365211_, LivingEntity p_361058_, double p_362249_, double p_362086_, double p_360421_, float p_363492_, float p_363425_) Constructors in net.minecraft.world.entity.projectile with parameters of type LivingEntityModifierConstructorDescriptionprotected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36721_, LivingEntity p_345310_, Level p_36722_, ItemStack p_309145_, ItemStack p_345000_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36817_, LivingEntity p_347648_, Vec3 p_347596_, Level p_36824_) AbstractThrownPotion
(EntityType<? extends AbstractThrownPotion> p_399755_, Level p_399661_, LivingEntity p_399813_, ItemStack p_400023_) Arrow
(Level p_36866_, LivingEntity p_345746_, ItemStack p_309200_, ItemStack p_345461_) DragonFireball
(Level p_36903_, LivingEntity p_36904_, Vec3 p_347512_) 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_, Vec3 p_347671_, Level p_37004_) FireworkRocketEntity
(Level p_37058_, ItemStack p_37059_, LivingEntity p_37060_) LargeFireball
(Level p_181151_, LivingEntity p_181152_, Vec3 p_347580_, int p_181156_) ShulkerBullet
(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_) SmallFireball
(Level p_37375_, LivingEntity p_37376_, Vec3 p_347501_) Snowball
(Level p_37394_, LivingEntity p_363644_, ItemStack p_361895_) SpectralArrow
(Level p_37414_, LivingEntity p_309162_, ItemStack p_309167_, ItemStack p_346408_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37438_, LivingEntity p_37439_, Level p_37440_, ItemStack p_363259_) ThrownEgg
(Level p_37476_, LivingEntity p_363925_, ItemStack p_363058_) ThrownEnderpearl
(Level p_37499_, LivingEntity p_37500_, ItemStack p_360657_) ThrownExperienceBottle
(Level p_37518_, LivingEntity p_37519_, ItemStack p_364032_) ThrownLingeringPotion
(Level p_400111_, LivingEntity p_400085_, ItemStack p_399851_) ThrownSplashPotion
(Level p_399777_, LivingEntity p_400264_, ItemStack p_400186_) ThrownTrident
(Level p_37569_, LivingEntity p_37570_, ItemStack p_37571_) WitherSkull
(Level p_37609_, LivingEntity p_37610_, Vec3 p_347464_) -
Uses of LivingEntity in net.minecraft.world.entity.raid
Subclasses of LivingEntity in net.minecraft.world.entity.raid -
Uses of LivingEntity in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return LivingEntityMethods in net.minecraft.world.entity.vehicle with parameters of type LivingEntityModifier 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_) AbstractBoat.getDismountLocationForPassenger
(LivingEntity p_376670_) AbstractMinecart.getDismountLocationForPassenger
(LivingEntity p_38145_) -
Uses of LivingEntity in net.minecraft.world.food
Methods in net.minecraft.world.food with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
FoodProperties.onConsume
(Level p_366676_, LivingEntity p_366505_, ItemStack p_366556_, Consumable p_366719_) -
Uses of LivingEntity in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as LivingEntityConstructors in net.minecraft.world.inventory with parameters of type LivingEntityModifierConstructorDescriptionArmorSlot
(Container p_345898_, LivingEntity p_345231_, EquipmentSlot p_345728_, int p_345121_, int p_346000_, int p_346095_, ResourceLocation p_344841_) -
Uses of LivingEntity in net.minecraft.world.item
Methods in net.minecraft.world.item that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Predicate
<LivingEntity> MaceItem.knockbackPredicate
(Entity p_338698_, Entity p_361210_) Methods in net.minecraft.world.item with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate ItemStack
ItemStack.applyAfterUseComponentSideEffects
(LivingEntity p_366464_, ItemStack p_366810_) private void
ItemStack.applyDamage
(int p_361754_, LivingEntity p_364853_, Consumer<Item> p_360895_) boolean
DebugStickItem.canDestroyBlock
(ItemStack p_393705_, BlockState p_393781_, Level p_393500_, BlockPos p_394185_, LivingEntity p_394515_) boolean
Item.canDestroyBlock
(ItemStack p_394530_, BlockState p_394066_, Level p_394541_, BlockPos p_394506_, LivingEntity p_394296_) static boolean
MaceItem.canSmashAttack
(LivingEntity p_344836_) void
BucketItem.checkExtraContent
(LivingEntity p_394527_, Level p_150712_, ItemStack p_150713_, BlockPos p_150714_) default void
DispensibleContainerItem.checkExtraContent
(LivingEntity p_394463_, Level p_150818_, ItemStack p_150819_, BlockPos p_150820_) void
MobBucketItem.checkExtraContent
(LivingEntity p_394402_, Level p_151147_, ItemStack p_151148_, BlockPos p_151149_) void
ItemStack.consume
(int p_326311_, LivingEntity p_326200_) ItemStack.consumeAndReturn
(int p_347624_, LivingEntity p_347710_) ArrowItem.createArrow
(Level p_40513_, ItemStack p_40514_, LivingEntity p_40515_, ItemStack p_344832_) SpectralArrowItem.createArrow
(Level p_43237_, ItemStack p_43238_, LivingEntity p_43239_, ItemStack p_345773_) protected AbstractThrownPotion
LingeringPotionItem.createPotion
(ServerLevel p_400122_, LivingEntity p_400210_, ItemStack p_399574_) protected AbstractThrownPotion
SplashPotionItem.createPotion
(ServerLevel p_399816_, LivingEntity p_400003_, ItemStack p_399587_) protected abstract AbstractThrownPotion
ThrowablePotionItem.createPotion
(ServerLevel p_400124_, LivingEntity p_399487_, ItemStack p_400222_) protected Projectile
CrossbowItem.createProjectile
(Level p_331583_, LivingEntity p_40863_, ItemStack p_40864_, ItemStack p_40865_, boolean p_40866_) protected Projectile
ProjectileWeaponItem.createProjectile
(Level p_331008_, LivingEntity p_330781_, ItemStack p_330846_, ItemStack p_331497_, boolean p_331305_) ProjectileWeaponItem.draw
(ItemStack p_331565_, ItemStack p_330406_, LivingEntity p_330823_) boolean
BucketItem.emptyContents
(LivingEntity p_394627_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_) Deprecated.boolean
BucketItem.emptyContents
(LivingEntity p_394627_, Level p_150717_, BlockPos p_150718_, BlockHitResult p_150719_, ItemStack container) boolean
DispensibleContainerItem.emptyContents
(LivingEntity p_394105_, Level p_150822_, BlockPos p_150823_, BlockHitResult p_150824_) Deprecated.boolean
SolidBucketItem.emptyContents
(LivingEntity p_393886_, Level p_151193_, BlockPos p_151194_, BlockHitResult p_151195_) Item.finishUsingItem
(ItemStack p_41409_, Level p_41410_, LivingEntity p_41411_) ItemStack.finishUsingItem
(Level p_41672_, LivingEntity p_41673_) SpyglassItem.finishUsingItem
(ItemStack p_151209_, Level p_151210_, LivingEntity p_151211_) static int
CrossbowItem.getChargeDuration
(ItemStack p_352255_, LivingEntity p_345687_) Item.getDamageSource
(LivingEntity p_373049_) MaceItem.getDamageSource
(LivingEntity p_372868_) static ItemStack
ProjectileWeaponItem.getHeldProjectile
(LivingEntity p_43011_, Predicate<ItemStack> p_43012_) private static double
MaceItem.getKnockbackPower
(Entity p_364341_, LivingEntity p_338630_, Vec3 p_338866_) private static float
CrossbowItem.getPowerForTime
(int p_40854_, ItemStack p_40855_, LivingEntity p_344803_) private static org.joml.Vector3f
CrossbowItem.getProjectileShotVector
(LivingEntity p_331584_, Vec3 p_331590_, float p_331104_) int
BowItem.getUseDuration
(ItemStack p_40680_, LivingEntity p_345962_) int
BrushItem.getUseDuration
(ItemStack p_272765_, LivingEntity p_344739_) int
BundleItem.getUseDuration
(ItemStack p_371683_, LivingEntity p_371530_) int
CrossbowItem.getUseDuration
(ItemStack p_40938_, LivingEntity p_344898_) int
EnderEyeItem.getUseDuration
(ItemStack p_326954_, LivingEntity p_346241_) int
InstrumentItem.getUseDuration
(ItemStack p_220131_, LivingEntity p_345916_) int
Item.getUseDuration
(ItemStack p_41454_, LivingEntity p_344979_) int
ItemStack.getUseDuration
(LivingEntity p_345724_) int
SpyglassItem.getUseDuration
(ItemStack p_151222_, LivingEntity p_345399_) int
TridentItem.getUseDuration
(ItemStack p_43419_, LivingEntity p_345001_) void
ItemStack.hurtAndBreak
(int p_220158_, ServerLevel p_346256_, LivingEntity p_220160_, Consumer<Item> p_348596_) void
ItemStack.hurtAndBreak
(int p_41623_, LivingEntity p_41624_, EquipmentSlot p_319898_) ItemStack.hurtAndConvertOnBreak
(int p_352405_, ItemLike p_352337_, LivingEntity p_352175_, EquipmentSlot p_352058_) void
Item.hurtEnemy
(ItemStack p_41395_, LivingEntity p_41396_, LivingEntity p_41397_) boolean
ItemStack.hurtEnemy
(LivingEntity p_41641_, LivingEntity p_364087_) void
MaceItem.hurtEnemy
(ItemStack p_334046_, LivingEntity p_333712_, LivingEntity p_333812_) 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_) ShearsItem.interactLivingEntity
(ItemStack stack, Player player, LivingEntity entity, InteractionHand hand) Neo: Migrate shear behavior intoShearsItem.interactLivingEntity(net.minecraft.world.item.ItemStack, net.minecraft.world.entity.player.Player, net.minecraft.world.entity.LivingEntity, net.minecraft.world.InteractionHand)
to call into IShearable instead of relying onMob.mobInteract(net.minecraft.world.entity.player.Player, net.minecraft.world.InteractionHand)
boolean
ArrowItem.isInfinite
(ItemStack ammo, ItemStack bow, LivingEntity livingEntity) Called to determine if this arrow will be infinite when fired.boolean
Item.mineBlock
(ItemStack p_41416_, Level p_41417_, BlockState p_41418_, BlockPos p_41419_, LivingEntity p_41420_) boolean
ShearsItem.mineBlock
(ItemStack p_411066_, Level p_411074_, BlockState p_411062_, BlockPos p_411048_, LivingEntity p_411065_) void
BrushItem.onUseTick
(Level p_273467_, LivingEntity p_273619_, ItemStack p_273316_, int p_273101_) void
BundleItem.onUseTick
(Level p_371661_, LivingEntity p_371559_, ItemStack p_371431_, int p_371432_) 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_) void
CrossbowItem.performShooting
(Level p_40888_, LivingEntity p_40889_, InteractionHand p_40890_, ItemStack p_40891_, float p_40892_, float p_40893_, LivingEntity p_331602_) protected void
BucketItem.playEmptySound
(LivingEntity p_394061_, LevelAccessor p_40697_, BlockPos p_40698_) protected void
MobBucketItem.playEmptySound
(LivingEntity p_394554_, LevelAccessor p_151152_, BlockPos p_151153_) void
Item.postHurtEnemy
(ItemStack p_346136_, LivingEntity p_346250_, LivingEntity p_346014_) void
ItemStack.postHurtEnemy
(LivingEntity p_346409_, LivingEntity p_363649_) void
MaceItem.postHurtEnemy
(ItemStack p_345716_, LivingEntity p_345817_, LivingEntity p_346003_) private int
ItemStack.processDurabilityChange
(int p_361290_, ServerLevel p_361409_, LivingEntity p_364940_) boolean
BowItem.releaseUsing
(ItemStack p_40667_, Level p_40668_, LivingEntity p_40669_, int p_40670_) boolean
CrossbowItem.releaseUsing
(ItemStack p_40875_, Level p_40876_, LivingEntity p_40877_, int p_40878_) boolean
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_) boolean
SpyglassItem.releaseUsing
(ItemStack p_151213_, Level p_151214_, LivingEntity p_151215_, int p_151216_) boolean
TridentItem.releaseUsing
(ItemStack p_43394_, Level p_43395_, LivingEntity p_43396_, int p_43397_) protected void
ProjectileWeaponItem.shoot
(ServerLevel p_346125_, LivingEntity p_330728_, InteractionHand p_331152_, ItemStack p_330646_, List<ItemStack> p_331726_, float p_331007_, float p_331445_, boolean p_331107_, LivingEntity p_331167_) protected void
BowItem.shootProjectile
(LivingEntity p_331372_, Projectile p_332000_, int p_330631_, float p_331251_, float p_331199_, float p_330857_, LivingEntity p_331572_) protected void
CrossbowItem.shootProjectile
(LivingEntity p_40896_, Projectile p_332122_, int p_331865_, float p_40900_, float p_40902_, float p_40903_, LivingEntity p_330303_) protected abstract void
ProjectileWeaponItem.shootProjectile
(LivingEntity p_330966_, Projectile p_332201_, int p_331696_, float p_331444_, float p_331156_, float p_331718_, LivingEntity p_331705_) private void
SpyglassItem.stopUsing
(LivingEntity p_151207_) private static boolean
CrossbowItem.tryLoadProjectiles
(LivingEntity p_40860_, ItemStack p_40861_) protected static ItemStack
ProjectileWeaponItem.useAmmo
(ItemStack p_331207_, ItemStack p_331434_, LivingEntity p_330302_, boolean p_330934_) -
Uses of LivingEntity in net.minecraft.world.item.alchemy
Methods in net.minecraft.world.item.alchemy with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
PotionContents.applyToLivingEntity
(LivingEntity p_366471_, float p_393741_) void
PotionContents.onConsume
(Level p_366836_, LivingEntity p_366750_, ItemStack p_366399_, Consumable p_366541_) -
Uses of LivingEntity in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
UseCooldown.apply
(ItemStack p_366427_, LivingEntity p_366834_) void
DeathProtection.applyEffects
(ItemStack p_372914_, LivingEntity p_373008_) boolean
Consumable.canConsume
(LivingEntity p_366522_, ItemStack p_366908_) void
BlocksAttacks.disable
(ServerLevel p_400187_, LivingEntity p_399747_, float p_399988_, ItemStack p_399719_) void
Consumable.emitParticlesAndSounds
(RandomSource p_366511_, LivingEntity p_366794_, ItemStack p_366479_, int p_366619_) void
BlocksAttacks.hurtBlockingItem
(Level p_400285_, ItemStack p_399533_, LivingEntity p_400149_, InteractionHand p_400151_, float p_399754_) void
BlocksAttacks.hurtBlockingItem
(Level p_400285_, ItemStack p_399533_, LivingEntity p_400149_, InteractionHand p_400151_, float p_399754_, int fixedDamage) void
BlocksAttacks.onBlocked
(ServerLevel p_400270_, LivingEntity p_399896_) Consumable.onConsume
(Level p_366638_, LivingEntity p_366573_, ItemStack p_366688_) void
ConsumableListener.onConsume
(Level p_366714_, LivingEntity p_366581_, ItemStack p_366512_, Consumable p_366630_) void
OminousBottleAmplifier.onConsume
(Level p_366547_, LivingEntity p_366849_, ItemStack p_366530_, Consumable p_366459_) void
SuspiciousStewEffects.onConsume
(Level p_366904_, LivingEntity p_366405_, ItemStack p_366604_, Consumable p_366817_) Consumable.startConsuming
(LivingEntity p_366412_, ItemStack p_366449_, InteractionHand p_366742_) -
Uses of LivingEntity in net.minecraft.world.item.consume_effects
Methods in net.minecraft.world.item.consume_effects with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
ApplyStatusEffectsConsumeEffect.apply
(Level p_366679_, ItemStack p_366517_, LivingEntity p_366435_) boolean
ClearAllStatusEffectsConsumeEffect.apply
(Level p_366806_, ItemStack p_366692_, LivingEntity p_366699_) boolean
ConsumeEffect.apply
(Level p_366583_, ItemStack p_366466_, LivingEntity p_366759_) boolean
PlaySoundConsumeEffect.apply
(Level p_366628_, ItemStack p_366717_, LivingEntity p_366700_) boolean
RemoveStatusEffectsConsumeEffect.apply
(Level p_366881_, ItemStack p_366460_, LivingEntity p_366649_) boolean
TeleportRandomlyConsumeEffect.apply
(Level p_366648_, ItemStack p_366476_, LivingEntity p_366884_) -
Uses of LivingEntity in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as LivingEntityModifier and TypeFieldDescriptionprivate final LivingEntity
EnchantedItemInUse.owner
The field for theowner
record component.Methods in net.minecraft.world.item.enchantment that return LivingEntityModifier and TypeMethodDescriptionEnchantedItemInUse.owner()
Returns the value of theowner
record component.Methods in net.minecraft.world.item.enchantment with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic float
EnchantmentHelper.getDamageProtection
(ServerLevel p_346015_, LivingEntity p_346118_, DamageSource p_44858_) static int
EnchantmentHelper.getEnchantmentLevel
(Holder<Enchantment> p_345086_, LivingEntity p_44838_) static Optional
<EnchantedItemInUse> EnchantmentHelper.getRandomItemWith
(DataComponentType<?> p_345509_, LivingEntity p_44841_, Predicate<ItemStack> p_44842_) Enchantment.getSlotItems
(LivingEntity p_44685_) static float
EnchantmentHelper.getTridentSpinAttackStrength
(ItemStack p_352129_, LivingEntity p_345705_) static boolean
EnchantmentHelper.isImmuneToDamage
(ServerLevel p_346228_, LivingEntity p_345220_, DamageSource p_345884_) static float
EnchantmentHelper.modifyCrossbowChargingTime
(ItemStack p_352460_, LivingEntity p_347534_, float p_345633_) static void
EnchantmentHelper.onHitBlock
(ServerLevel p_346213_, ItemStack p_344826_, LivingEntity p_345015_, Entity p_345210_, EquipmentSlot p_345889_, Vec3 p_345922_, BlockState p_350787_, Consumer<Item> p_348575_) static float
EnchantmentHelper.processEquipmentDropChance
(ServerLevel p_346339_, LivingEntity p_345864_, DamageSource p_345060_, float p_346089_) static void
EnchantmentHelper.runIterationOnEquipment
(LivingEntity p_344744_, EnchantmentHelper.EnchantmentInSlotVisitor p_345709_) static void
EnchantmentHelper.runIterationOnItem
(ItemStack p_44852_, EquipmentSlot p_345566_, LivingEntity p_345792_, EnchantmentHelper.EnchantmentInSlotVisitor p_345683_) void
Enchantment.runLocationChangedEffects
(ServerLevel p_345522_, int p_345228_, EnchantedItemInUse p_345521_, LivingEntity p_346133_) static void
EnchantmentHelper.runLocationChangedEffects
(ServerLevel p_345674_, LivingEntity p_346396_) static void
EnchantmentHelper.runLocationChangedEffects
(ServerLevel p_345755_, ItemStack p_345291_, LivingEntity p_346348_, EquipmentSlot p_345919_) void
Enchantment.stopLocationBasedEffects
(int p_345030_, EnchantedItemInUse p_345497_, LivingEntity p_344904_) static void
EnchantmentHelper.stopLocationBasedEffects
(LivingEntity p_346034_) static void
EnchantmentHelper.stopLocationBasedEffects
(ItemStack p_344726_, LivingEntity p_346085_, EquipmentSlot p_345691_) static void
EnchantmentHelper.tickEffects
(ServerLevel p_345788_, LivingEntity p_344873_) Constructors in net.minecraft.world.item.enchantment with parameters of type LivingEntityModifierConstructorDescriptionEnchantedItemInUse
(ItemStack p_344800_, EquipmentSlot p_344722_, LivingEntity p_345536_) EnchantedItemInUse
(ItemStack itemStack, EquipmentSlot inSlot, LivingEntity owner, Consumer<Item> onBreak) Creates an instance of aEnchantedItemInUse
record class. -
Uses of LivingEntity in net.minecraft.world.item.equipment
Methods in net.minecraft.world.item.equipment with parameters of type LivingEntityModifier and TypeMethodDescriptionEquippable.equipOnTarget
(Player p_397505_, LivingEntity p_397083_, ItemStack p_397903_) -
Uses of LivingEntity in net.minecraft.world.level
Methods in net.minecraft.world.level that return LivingEntityModifier and TypeMethodDescriptionExplosion.getIndirectSourceEntity()
static LivingEntity
Explosion.getIndirectSourceEntity
(Entity p_363745_) ServerExplosion.getIndirectSourceEntity()
-
Uses of LivingEntity in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
BarrierBlock.canPlaceLiquid
(LivingEntity p_394532_, BlockGetter p_295048_, BlockPos p_295143_, BlockState p_294224_, Fluid p_294851_) boolean
KelpBlock.canPlaceLiquid
(LivingEntity p_393686_, BlockGetter p_54304_, BlockPos p_54305_, BlockState p_54306_, Fluid p_54307_) boolean
KelpPlantBlock.canPlaceLiquid
(LivingEntity p_394660_, BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) boolean
LiquidBlockContainer.canPlaceLiquid
(LivingEntity p_393589_, BlockGetter p_54766_, BlockPos p_54767_, BlockState p_54768_, Fluid p_54769_) boolean
SeagrassBlock.canPlaceLiquid
(LivingEntity p_394548_, BlockGetter p_296449_, BlockPos p_154511_, BlockState p_154512_, Fluid p_295712_) default boolean
SimpleWaterloggedBlock.canPlaceLiquid
(LivingEntity p_393688_, BlockGetter p_56301_, BlockPos p_56302_, BlockState p_56303_, Fluid p_56304_) boolean
SlabBlock.canPlaceLiquid
(LivingEntity p_394277_, BlockGetter p_56363_, BlockPos p_56364_, BlockState p_56365_, Fluid p_56366_) boolean
TallSeagrassBlock.canPlaceLiquid
(LivingEntity p_394229_, BlockGetter p_154753_, BlockPos p_154754_, BlockState p_154755_, Fluid p_154756_) boolean
TrapDoorBlock.isLadder
(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) boolean
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) BarrierBlock.pickupBlock
(LivingEntity p_393874_, LevelAccessor p_295817_, BlockPos p_295857_, BlockState p_294189_) BubbleColumnBlock.pickupBlock
(LivingEntity p_394411_, LevelAccessor p_152712_, BlockPos p_152713_, BlockState p_152714_) BucketPickup.pickupBlock
(LivingEntity p_394251_, LevelAccessor p_152719_, BlockPos p_152720_, BlockState p_152721_) LiquidBlock.pickupBlock
(LivingEntity p_393591_, LevelAccessor p_153772_, BlockPos p_153773_, BlockState p_153774_) PowderSnowBlock.pickupBlock
(LivingEntity p_394634_, LevelAccessor p_154281_, BlockPos p_154282_, BlockState p_154283_) default ItemStack
SimpleWaterloggedBlock.pickupBlock
(LivingEntity p_394370_, LevelAccessor p_154560_, BlockPos p_154561_, BlockState p_154562_) private static void
LecternBlock.placeBook
(LivingEntity p_347484_, Level p_270065_, BlockPos p_270155_, BlockState p_270753_, ItemStack p_270173_) private static boolean
TntBlock.prime
(Level p_394104_, BlockPos p_393490_, LivingEntity p_411047_) Deprecated.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
CommandBlock.setPlacedBy
(Level p_51804_, BlockPos p_51805_, BlockState p_51806_, LivingEntity p_51807_, ItemStack p_51808_) void
CrafterBlock.setPlacedBy
(Level p_307219_, BlockPos p_307681_, BlockState p_307383_, LivingEntity p_307647_, ItemStack p_307190_) void
DiodeBlock.setPlacedBy
(Level p_52506_, BlockPos p_52507_, BlockState p_52508_, LivingEntity p_52509_, ItemStack p_52510_) 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
JukeboxBlock.setPlacedBy
(Level p_54264_, BlockPos p_54265_, BlockState p_54266_, LivingEntity p_54267_, ItemStack p_54268_) void
MossyCarpetBlock.setPlacedBy
(Level p_380310_, BlockPos p_380202_, BlockState p_379659_, LivingEntity p_379877_, ItemStack p_380344_) void
PitcherCropBlock.setPlacedBy
(Level p_277432_, BlockPos p_277632_, BlockState p_277479_, LivingEntity p_277805_, ItemStack p_277663_) 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_) static boolean
LecternBlock.tryPlaceBook
(LivingEntity p_347473_, Level p_270604_, BlockPos p_270276_, BlockState p_270445_, ItemStack p_270458_) -
Uses of LivingEntity in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as LivingEntityFields in net.minecraft.world.level.block.entity with type parameters of type LivingEntityMethods in net.minecraft.world.level.block.entity that return LivingEntityModifier and TypeMethodDescriptionprivate static LivingEntity
ConduitBlockEntity.findDestroyTarget
(Level p_155425_, BlockPos p_155426_, UUID p_155427_) Methods in net.minecraft.world.level.block.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
BrushableBlockEntity.brush
(long p_277786_, ServerLevel p_373105_, LivingEntity p_393879_, Direction p_277424_, ItemStack p_372848_) private void
BrushableBlockEntity.brushingCompleted
(ServerLevel p_373046_, LivingEntity p_394011_, ItemStack p_373073_) void
StructureBlockEntity.createdBy
(LivingEntity p_59852_) private void
BrushableBlockEntity.dropContent
(ServerLevel p_373112_, LivingEntity p_393620_, ItemStack p_372836_) private static void
BellBlockEntity.glow
(LivingEntity p_58841_) private static boolean
BellBlockEntity.isRaiderWithinRange
(BlockPos p_155197_, LivingEntity p_155198_) boolean
CampfireBlockEntity.placeFood
(ServerLevel p_380019_, LivingEntity p_347582_, ItemStack p_238286_) private void
SculkCatalystBlockEntity.CatalystListener.tryAwardItSpreadsAdvancement
(Level p_281279_, LivingEntity p_281378_) private void
BrushableBlockEntity.unpackLootTable
(ServerLevel p_373015_, LivingEntity p_394489_, ItemStack p_372798_) Method parameters in net.minecraft.world.level.block.entity with type arguments of type LivingEntityModifier 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
Methods in net.minecraft.world.level.block.piston with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
PistonBaseBlock.setPlacedBy
(Level p_60172_, BlockPos p_60173_, BlockState p_60174_, LivingEntity p_60175_, ItemStack p_60176_) -
Uses of LivingEntity in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic boolean
ClientHooks.isNameplateInRenderDistance
(LivingEntity entity, double squareDistance) -
Uses of LivingEntity in net.neoforged.neoforge.client.color.item
Methods in net.neoforged.neoforge.client.color.item with parameters of type LivingEntityModifier and TypeMethodDescriptionint
FluidContentsTint.calculate
(ItemStack stack, @Nullable ClientLevel level, @Nullable LivingEntity entity) -
Uses of LivingEntity in net.neoforged.neoforge.client.event
Classes in net.neoforged.neoforge.client.event with type parameters of type LivingEntityModifier and TypeClassDescriptionclass
RenderLivingEvent<T extends LivingEntity,
S extends LivingEntityRenderState, M extends EntityModel<? super S>> Fired when aLivingEntity
is rendered.static class
RenderLivingEvent.Post<T extends LivingEntity,
S extends LivingEntityRenderState, M extends EntityModel<? super S>> Fired after an entity is rendered, if the correspondingRenderLivingEvent.Post
is not cancelled.static class
RenderLivingEvent.Pre<T extends LivingEntity,
S extends LivingEntityRenderState, M extends EntityModel<? super S>> Fired before an entity is rendered. -
Uses of LivingEntity in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type LivingEntityModifier and TypeMethodDescriptiondefault HumanoidModel.ArmPose
IClientItemExtensions.getArmPose
(LivingEntity entityLiving, InteractionHand hand, ItemStack itemStack) This method returns an ArmPose that can be defined using theinvalid reference
net.minecraft.client.model.HumanoidModel.ArmPose#create(String, boolean, IArmPoseTransformer)
default void
IClientItemExtensions.setupModelAnimations
(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, Model model, float limbSwing, float limbSwingAmount, float partialTick, float ageInTicks, float netHeadYaw, float headPitch) Called when an armor piece is about to be rendered, allowing parts of the model to be animated or changed. -
Uses of LivingEntity in net.neoforged.neoforge.client.model.item
Methods in net.neoforged.neoforge.client.model.item with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
DynamicFluidContainerModel.update
(ItemStackRenderState renderState, ItemStack stack, ItemModelResolver modelResolver, ItemDisplayContext displayContext, @Nullable ClientLevel level, @Nullable LivingEntity entity, int p_387820_) -
Uses of LivingEntity in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Map
<EntityType<? extends LivingEntity>, AttributeSupplier> CommonHooks.FORGE_ATTRIBUTES
Methods in net.neoforged.neoforge.common that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionstatic Map
<EntityType<? extends LivingEntity>, AttributeSupplier> CommonHooks.getAttributesView()
Deprecated.Methods in net.neoforged.neoforge.common with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic boolean
CommonHooks.canEntityDestroy
(ServerLevel level, BlockPos pos, LivingEntity entity) static boolean
CommonHooks.canMobEffectBeApplied
(LivingEntity entity, MobEffectInstance effect, @Nullable Entity source) Checks if a mob effect can be applied to an entity by firingMobEffectEvent.Applicable
.static double
CommonHooks.getEntityVisibilityMultiplier
(LivingEntity entity, Entity lookingEntity, double originalMultiplier) static ItemStack
CommonHooks.getProjectile
(LivingEntity entity, ItemStack projectileWeaponItem, ItemStack projectile) Hook to fireLivingGetProjectileEvent
.CommonHooks.isLivingOnLadder
(BlockState state, Level level, BlockPos pos, LivingEntity entity) static void
CommonHooks.onArmorHurt
(DamageSource source, EquipmentSlot[] slots, float damage, LivingEntity armoredEntity) This is invoked indoHurtEquipment(DamageSource, float, EquipmentSlot...)
and replaces the existing item hurt and break logic with an event-sensitive version.static LivingShieldBlockEvent
CommonHooks.onDamageBlock
(LivingEntity blocker, DamageContainer container, float blockedDamage, boolean originalBlocked) Creates, posts, and returns aLivingShieldBlockEvent
.static boolean
CommonHooks.onEntityIncomingDamage
(LivingEntity entity, DamageContainer container) Called after invulnerability checks inEntity.hurt(DamageSource, float)
, this method creates and posts the first event in the LivingEntity damage sequence,LivingIncomingDamageEvent
.static void
CommonHooks.onLivingBreathe
(LivingEntity entity, int consumeAirAmount, int refillAirAmount) Handles living entities being underwater.static LivingChangeTargetEvent
CommonHooks.onLivingChangeTarget
(LivingEntity entity, @Nullable LivingEntity originalTarget, LivingChangeTargetEvent.ILivingTargetType targetType) static void
CommonHooks.onLivingDamagePost
(LivingEntity entity, DamageContainer container) Creates and posts aLivingDamageEvent.Post
.static float
CommonHooks.onLivingDamagePre
(LivingEntity entity, DamageContainer container) Creates and posts anLivingDamageEvent.Pre
.static boolean
CommonHooks.onLivingDeath
(LivingEntity entity, DamageSource src) static boolean
CommonHooks.onLivingDrops
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, boolean recentlyHit) static LivingFallEvent
CommonHooks.onLivingFall
(LivingEntity entity, double distance, float damageMultiplier) static void
CommonHooks.onLivingJump
(LivingEntity entity) static LivingKnockBackEvent
CommonHooks.onLivingKnockBack
(LivingEntity target, float strength, double ratioX, double ratioZ) static LivingSwapItemsEvent.Hands
CommonHooks.onLivingSwapHandItems
(LivingEntity livingEntity) static boolean
CommonHooks.onLivingUseTotem
(LivingEntity entity, DamageSource damageSource, ItemStack totem, InteractionHand hand) -
Uses of LivingEntity in net.neoforged.neoforge.common.damagesource
Methods in net.neoforged.neoforge.common.damagesource with parameters of type LivingEntityModifier and TypeMethodDescriptionIDeathMessageProvider.getDeathMessage
(LivingEntity entity, CombatEntry lastEntry, @Nullable CombatEntry mostSignificantFall) Computes the death message from the available context.
This method is not invoked if there are no available combat entries, since the damage source would not be available. -
Uses of LivingEntity in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with type parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
intIItemExtension.damageItem
(ItemStack stack, int amount, T entity, Consumer<Item> onBroken) Reduce the durability of this item by the amount given.Methods in net.neoforged.neoforge.common.extensions that return LivingEntityMethods in net.neoforged.neoforge.common.extensions with parameters of type LivingEntityModifier and TypeMethodDescriptiondefault boolean
IBlockExtension.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
IBlockStateExtension.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
IItemExtension.canEquip
(ItemStack stack, EquipmentSlot armorType, LivingEntity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default boolean
IItemStackExtension.canEquip
(EquipmentSlot armorType, LivingEntity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default boolean
IItemExtension.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
IItemStackExtension.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
IDispensibleContainerItemExtension.emptyContents
(@Nullable LivingEntity entity, Level level, BlockPos pos, @Nullable BlockHitResult hitResult, @Nullable ItemStack container) Empties the contents of the container and returns whether it was successful.default boolean
IBlockExtension.isBed
(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlock
checks.default boolean
IBlockStateExtension.isBed
(BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlock
checks.default boolean
IItemExtension.isGazeDisguise
(ItemStack stack, Player player, @Nullable LivingEntity entity) Whether thisItem
can be used to hide player's gaze from Endermen and Creakings.default boolean
IItemStackExtension.isGazeDisguise
(Player player, @Nullable LivingEntity entity) Whether thisItem
can be used to hide player's gaze from Endermen and Creakings.default boolean
IBlockExtension.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
IBlockStateExtension.isLadder
(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default boolean
IBlockExtension.isScaffolding
(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IBlockStateExtension.isScaffolding
(LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default boolean
IItemExtension.makesPiglinsNeutral
(ItemStack stack, LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default boolean
IItemStackExtension.makesPiglinsNeutral
(LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default boolean
IFluidExtension.move
(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default boolean
IFluidStateExtension.move
(LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default boolean
IBlockExtension.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 boolean
IBlockStateExtension.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
IItemExtension.onEntitySwing
(ItemStack stack, LivingEntity entity, InteractionHand hand) Called when a entity tries to play the 'swing' animation.default boolean
IItemStackExtension.onEntitySwing
(LivingEntity entity, InteractionHand hand) Called when a entity tries to play the 'swing' animation.default void
IItemExtension.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
IItemStackExtension.onStopUsing
(LivingEntity entity, int count) Called when an entity stops using an item item for any reason.default void
IBlockExtension.playFallSound
(BlockState state, Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inplayBlockFallSound()
.default void
IBlockStateExtension.playFallSound
(Level level, BlockPos pos, LivingEntity entity) Allows a block to override the standard fall sound played inplayBlockFallSound()
.default void
IBlockExtension.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
IBlockStateExtension.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.neoforged.neoforge.common.util
Subclasses of LivingEntity in net.neoforged.neoforge.common.utilModifier and TypeClassDescriptionclass
A basic fake server player implementation that can be used to simulate player actions. -
Uses of LivingEntity in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic boolean
EventHooks.canEntityContinueSleeping
(LivingEntity sleeper, @Nullable Player.BedSleepingProblem problem) Checks if a sleeping entity can continue sleeping with the given sleeping problem.static boolean
EventHooks.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) static int
EventHooks.getExperienceDrop
(LivingEntity entity, @Nullable Player attackingPlayer, int originalExperience) static boolean
EventHooks.onEffectRemoved
(LivingEntity entity, Holder<MobEffect> effect) static boolean
EventHooks.onEffectRemoved
(LivingEntity entity, MobEffectInstance effectInstance) EventHooks.onEnderTeleport
(LivingEntity entity, double targetX, double targetY, double targetZ) static boolean
EventHooks.onEntityDestroyBlock
(LivingEntity entity, BlockPos pos, BlockState state) EventHooks.onItemConsumptionTeleport
(LivingEntity entity, ItemStack itemStack, double targetX, double targetY, double targetZ) static ItemStack
EventHooks.onItemUseFinish
(LivingEntity entity, ItemStack item, int duration, ItemStack result) static int
EventHooks.onItemUseStart
(LivingEntity entity, ItemStack item, int duration) Deprecated, for removal: This API element is subject to removal in a future version.Usethe hand sensitive version
as this version provides wrong hand informationstatic int
EventHooks.onItemUseStart
(LivingEntity entity, ItemStack item, InteractionHand hand, int duration) static int
EventHooks.onItemUseTick
(LivingEntity entity, ItemStack item, int duration) static void
EventHooks.onLivingConvert
(LivingEntity entity, LivingEntity outcome) static float
EventHooks.onLivingHeal
(LivingEntity entity, float amount) static boolean
EventHooks.onUseItemStop
(LivingEntity entity, ItemStack item, int duration) Method parameters in net.neoforged.neoforge.event with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic boolean
EventHooks.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) -
Uses of LivingEntity in net.neoforged.neoforge.event.entity
Fields in net.neoforged.neoforge.event.entity declared as LivingEntityModifier and TypeFieldDescriptionprivate final LivingEntity
EntityTeleportEvent.EnderEntity.entityLiving
private final LivingEntity
EntityTeleportEvent.ItemConsumption.entityLiving
Fields in net.neoforged.neoforge.event.entity with type parameters of type LivingEntityModifier 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
Methods in net.neoforged.neoforge.event.entity that return LivingEntityModifier and TypeMethodDescriptionEntityTeleportEvent.EnderEntity.getEntityLiving()
EntityTeleportEvent.ItemConsumption.getEntityLiving()
Methods in net.neoforged.neoforge.event.entity that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionList
<EntityType<? extends LivingEntity>> EntityAttributeModificationEvent.getTypes()
Method parameters in net.neoforged.neoforge.event.entity with type arguments of type LivingEntityModifier and TypeMethodDescriptionvoid
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) void
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute, double value) boolean
EntityAttributeModificationEvent.has
(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) void
EntityAttributeCreationEvent.put
(EntityType<? extends LivingEntity> entity, AttributeSupplier map) Constructors in net.neoforged.neoforge.event.entity with parameters of type LivingEntityModifierConstructorDescriptionEnderEntity
(LivingEntity entity, double targetX, double targetY, double targetZ) ItemConsumption
(LivingEntity entity, ItemStack itemStack, double targetX, double targetY, double targetZ) Constructor parameters in net.neoforged.neoforge.event.entity with type arguments of type LivingEntityModifierConstructorDescriptionEntityAttributeCreationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier> map) EntityAttributeModificationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier.Builder> mapIn) -
Uses of LivingEntity in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as LivingEntityModifier and TypeFieldDescriptionprivate final LivingEntity
LivingEvent.livingEntity
private @Nullable LivingEntity
LivingChangeTargetEvent.newAboutToBeSetTarget
private final @Nullable LivingEntity
LivingChangeTargetEvent.originalAboutToBeSetTarget
private final LivingEntity
LivingConversionEvent.Post.outcome
Fields in net.neoforged.neoforge.event.entity.living with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final EntityType
<? extends LivingEntity> LivingConversionEvent.Pre.outcome
Methods in net.neoforged.neoforge.event.entity.living that return LivingEntityModifier and TypeMethodDescriptionLivingEvent.getEntity()
@Nullable LivingEntity
LivingChangeTargetEvent.getNewAboutToBeSetTarget()
Returns the new target that this entity will begin to track..@Nullable LivingEntity
LivingChangeTargetEvent.getOriginalAboutToBeSetTarget()
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)Methods in net.neoforged.neoforge.event.entity.living that return types with arguments of type LivingEntityModifier and TypeMethodDescriptionEntityType
<? extends LivingEntity> LivingConversionEvent.Pre.getOutcome()
Gets the entity type of the new entity this living entity is converting toMethods in net.neoforged.neoforge.event.entity.living with parameters of type LivingEntityModifier and TypeMethodDescriptionvoid
LivingChangeTargetEvent.setNewAboutToBeSetTarget
(@Nullable LivingEntity newAboutToBeSetTarget) Sets the new target this entity shall have.Constructors in net.neoforged.neoforge.event.entity.living with parameters of type LivingEntityModifierConstructorDescriptionAdded
(LivingEntity living, MobEffectInstance oldEffectInstance, MobEffectInstance newEffectInstance, Entity source) Applicable
(LivingEntity living, MobEffectInstance effectInstance, @Nullable Entity source) ArmorHurtEvent
(EnumMap<EquipmentSlot, ArmorHurtEvent.ArmorEntry> armorMap, LivingEntity player) EffectParticleModificationEvent
(LivingEntity entity, MobEffectInstance effect) Expired
(LivingEntity living, MobEffectInstance effectInstance) Finish
(LivingEntity entity, ItemStack item, int duration, ItemStack result) Hands
(LivingEntity entity) LivingBreatheEvent
(LivingEntity entity, boolean canBreathe, int consumeAirAmount, int refillAirAmount) LivingChangeTargetEvent
(LivingEntity entity, @Nullable LivingEntity aboutToBeSetTarget, LivingChangeTargetEvent.ILivingTargetType targetType) LivingConversionEvent
(LivingEntity entity) private
LivingDamageEvent
(LivingEntity entity) LivingDeathEvent
(LivingEntity entity, DamageSource source) LivingDestroyBlockEvent
(LivingEntity entity, BlockPos pos, BlockState state) LivingDropsEvent
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, boolean recentlyHit) LivingDrownEvent
(LivingEntity entity) Constructor which auto-populates with all vanilla values.LivingDrownEvent
(LivingEntity entity, boolean isDrowning, float damageAmount, int bubbleCount) Constructs a new LivingDrownEvent.private
LivingEntityUseItemEvent
(LivingEntity entity, ItemStack item, int duration) private
LivingEntityUseItemEvent
(LivingEntity entity, ItemStack item, InteractionHand hand, int duration) LivingEquipmentChangeEvent
(LivingEntity entity, EquipmentSlot slot, ItemStack from, ItemStack to) LivingEvent
(LivingEntity entity) LivingExperienceDropEvent
(LivingEntity entity, @Nullable Player attackingPlayer, int originalExperience) LivingFallEvent
(LivingEntity entity, double distance, float damageMultiplier) LivingGetProjectileEvent
(LivingEntity livingEntity, ItemStack projectileWeaponItemStack, ItemStack ammo) LivingHealEvent
(LivingEntity entity, float amount) LivingIncomingDamageEvent
(LivingEntity entity, DamageContainer container) LivingKnockBackEvent
(LivingEntity target, float strength, double ratioX, double ratioZ) LivingShieldBlockEvent
(LivingEntity blocker, DamageContainer container, float blockedDamage, boolean originalBlockedState) LivingSwapItemsEvent
(LivingEntity entity) LivingUseTotemEvent
(LivingEntity entity, DamageSource source, ItemStack totem, InteractionHand hand) LivingVisibilityEvent
(LivingEntity livingEntity, @Nullable Entity lookingEntity, double originalMultiplier) protected
MobEffectEvent
(LivingEntity living, MobEffectInstance effectInstance) Post
(LivingEntity entity, LivingEntity outcome) Post
(LivingEntity entity, DamageContainer container) Pre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) Pre
(LivingEntity entity, DamageContainer container) Remove
(LivingEntity living, Holder<MobEffect> effect) Remove
(LivingEntity living, MobEffectInstance effectInstance) Start
(LivingEntity entity, ItemStack item, int duration) Deprecated, for removal: This API element is subject to removal in a future version.Usethe hand sensitive version
as this version provides wrong hand informationStart
(LivingEntity entity, ItemStack item, InteractionHand hand, int duration) Stop
(LivingEntity entity, ItemStack item, int duration) Tick
(LivingEntity entity, ItemStack item, int duration) Constructor parameters in net.neoforged.neoforge.event.entity.living with type arguments of type LivingEntityModifierConstructorDescriptionPre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) -
Uses of LivingEntity in net.neoforged.neoforge.event.entity.player
Constructors in net.neoforged.neoforge.event.entity.player with parameters of type LivingEntityModifierConstructorDescriptionCanContinueSleepingEvent
(LivingEntity entity, @Nullable Player.BedSleepingProblem problem) -
Uses of LivingEntity in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type LivingEntityModifier and TypeMethodDescriptionboolean
FluidType.canDrownIn
(LivingEntity entity) Returns whether the entity can drown in the fluid.@Nullable SoundEvent
FluidType.getSound
(@Nullable LivingEntity entity, BlockGetter getter, BlockPos pos, SoundAction action) Returns a sound to play when a certain action is performed at a position.boolean
FluidType.move
(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.void
FluidType.onVaporize
(@Nullable LivingEntity entity, Level level, BlockPos pos, FluidStack stack) Performs an action when a fluid can be vaporized when placed into a level. -
Uses of LivingEntity in net.neoforged.neoforge.items.wrapper
Fields in net.neoforged.neoforge.items.wrapper declared as LivingEntityModifier and TypeFieldDescriptionprotected final LivingEntity
EntityEquipmentInvWrapper.entity
The entity.Constructors in net.neoforged.neoforge.items.wrapper with parameters of type LivingEntityModifierConstructorDescriptionEntityArmorInvWrapper
(LivingEntity entity) EntityEquipmentInvWrapper
(LivingEntity entity, EquipmentSlot.Type slotType) EntityHandsInvWrapper
(LivingEntity entity)
PLAYER_NOT_WEARING_DISGUISE_ITEM_FOR_TARGET
with target info instead