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.gui
Methods in net.minecraft.client.gui that return LivingEntityMethods in net.minecraft.client.gui with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate intGui.getVehicleMaxHearts(LivingEntity p_93023_) voidGuiGraphics.renderItem(LivingEntity p_282154_, ItemStack p_282777_, int p_282110_, int p_281371_, int p_283572_) private voidGuiGraphics.renderItem(LivingEntity p_283524_, Level p_282461_, ItemStack p_283653_, int p_283141_, int p_282560_, int p_282425_) private voidGuiGraphics.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 voidInventoryScreen.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 voidInventoryScreen.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 voidInventoryScreen.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.model
Classes in net.minecraft.client.model with type parameters of type LivingEntityModifier and TypeClassDescriptionclassElytraModel<T extends LivingEntity>classEndermanModel<T extends LivingEntity>classHumanoidArmorModel<T extends LivingEntity>classHumanoidModel<T extends LivingEntity>classPlayerModel<T extends LivingEntity>Methods in net.minecraft.client.model with type parameters of type LivingEntityModifier and TypeMethodDescription<T extends LivingEntity>
voidHumanoidModel.ArmPose.applyTransform(HumanoidModel<T> model, T entity, HumanoidArm arm) Methods in net.minecraft.client.model with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic voidAnimationUtils.animateCrossbowCharge(ModelPart p_102087_, ModelPart p_102088_, LivingEntity p_102089_, boolean p_102090_) -
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 floatLightTexture.calculateDarknessScale(LivingEntity p_234313_, float p_234314_, float p_234315_) floatFogRenderer.DarknessFogFunction.getModifiedVoidDarkness(LivingEntity p_234189_, MobEffectInstance p_234190_, float p_234191_, float p_234192_) default floatFogRenderer.MobEffectFogFunction.getModifiedVoidDarkness(LivingEntity p_234208_, MobEffectInstance p_234209_, float p_234210_, float p_234211_) static floatGameRenderer.getNightVisionScale(LivingEntity p_109109_, float p_109110_) default booleanFogRenderer.MobEffectFogFunction.isEnabled(LivingEntity p_234206_, float p_234207_) voidItemInHandRenderer.renderItem(LivingEntity p_270072_, ItemStack p_270793_, ItemDisplayContext p_270837_, boolean p_270203_, PoseStack p_270974_, MultiBufferSource p_270686_, int p_270103_) voidFogRenderer.BlindnessFogFunction.setupFog(FogRenderer.FogData p_234181_, LivingEntity p_234182_, MobEffectInstance p_234183_, float p_234184_, float p_234185_) voidFogRenderer.DarknessFogFunction.setupFog(FogRenderer.FogData p_234194_, LivingEntity p_234195_, MobEffectInstance p_234196_, float p_234197_, float p_234198_) voidFogRenderer.MobEffectFogFunction.setupFog(FogRenderer.FogData p_234212_, LivingEntity p_234213_, MobEffectInstance p_234214_, float p_234215_, float p_234216_) -
Uses of LivingEntity in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model with parameters of type LivingEntityModifier and TypeMethodDescriptionItemOverrides.resolve(BakedModel p_173465_, ItemStack p_173466_, ClientLevel p_173467_, LivingEntity p_173468_, int p_173469_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity
Classes in net.minecraft.client.renderer.entity with type parameters of type LivingEntityModifier and TypeClassDescriptionclassLivingEntityRenderer<T extends LivingEntity,M extends EntityModel<T>> Methods in net.minecraft.client.renderer.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionItemRenderer.getModel(ItemStack p_174265_, Level p_174266_, LivingEntity p_174267_, int p_174268_) static intLivingEntityRenderer.getOverlayCoords(LivingEntity p_115339_, float p_115340_) private Vec3GuardianRenderer.getPosition(LivingEntity p_114803_, double p_114804_, float p_114805_) static booleanLivingEntityRenderer.isEntityUpsideDown(LivingEntity p_194454_) voidItemRenderer.renderStatic(LivingEntity p_270101_, ItemStack p_270637_, ItemDisplayContext p_270437_, boolean p_270434_, PoseStack p_270230_, MultiBufferSource p_270411_, Level p_270641_, int p_270595_, int p_270927_, int p_270845_) -
Uses of LivingEntity in net.minecraft.client.renderer.entity.layers
Classes in net.minecraft.client.renderer.entity.layers with type parameters of type LivingEntityModifier and TypeClassDescriptionclassArrowLayer<T extends LivingEntity,M extends PlayerModel<T>> classBeeStingerLayer<T extends LivingEntity,M extends PlayerModel<T>> classCrossedArmsItemLayer<T extends LivingEntity,M extends EntityModel<T>> classCustomHeadLayer<T extends LivingEntity,M extends EntityModel<T> & HeadedModel> classElytraLayer<T extends LivingEntity,M extends EntityModel<T>> classEnderEyesLayer<T extends LivingEntity>classHumanoidArmorLayer<T extends LivingEntity,M extends HumanoidModel<T>, A extends HumanoidModel<T>> classItemInHandLayer<T extends LivingEntity,M extends EntityModel<T> & ArmedModel> classSlimeOuterLayer<T extends LivingEntity>classSpinAttackEffectLayer<T extends LivingEntity>classStuckInBodyLayer<T extends LivingEntity,M extends PlayerModel<T>> classVillagerProfessionLayer<T extends LivingEntity & VillagerDataHolder,M extends EntityModel<T> & VillagerHeadModel> classWitchItemLayer<T extends LivingEntity>Methods in net.minecraft.client.renderer.entity.layers with type parameters of type LivingEntityModifier and TypeMethodDescriptionprotected static <T extends LivingEntity>
voidRenderLayer.coloredCutoutModelCopyLayerRender(EntityModel<T> p_117360_, EntityModel<T> p_117361_, ResourceLocation p_117362_, PoseStack p_117363_, MultiBufferSource p_117364_, int p_117365_, T p_117366_, float p_117367_, float p_117368_, float p_117369_, float p_117370_, float p_117371_, float p_117372_, float p_117373_, float p_117374_, float p_117375_) protected static <T extends LivingEntity>
voidRenderLayer.renderColoredCutoutModel(EntityModel<T> p_117377_, ResourceLocation p_117378_, PoseStack p_117379_, MultiBufferSource p_117380_, int p_117381_, T p_117382_, float p_117383_, float p_117384_, float p_117385_) Methods in net.minecraft.client.renderer.entity.layers with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidItemInHandLayer.renderArmWithItem(LivingEntity p_117185_, ItemStack p_117186_, ItemDisplayContext p_270970_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_) protected voidPlayerItemInHandLayer.renderArmWithItem(LivingEntity p_270884_, ItemStack p_270379_, ItemDisplayContext p_270607_, HumanoidArm p_270324_, PoseStack p_270124_, MultiBufferSource p_270414_, int p_270295_) private voidPlayerItemInHandLayer.renderArmWithSpyglass(LivingEntity p_174518_, ItemStack p_174519_, HumanoidArm p_174520_, PoseStack p_174521_, MultiBufferSource p_174522_, int p_174523_) -
Uses of LivingEntity in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type LivingEntityModifier and TypeMethodDescriptiondefault floatClampedItemPropertyFunction.call(ItemStack p_174560_, ClientLevel p_174561_, LivingEntity p_174562_, int p_174563_) Deprecated.floatItemPropertyFunction.call(ItemStack p_174676_, ClientLevel p_174677_, LivingEntity p_174678_, int p_174679_) Deprecated.floatClampedItemPropertyFunction.unclampedCall(ItemStack p_174564_, ClientLevel p_174565_, LivingEntity p_174566_, int p_174567_) floatCompassItemPropertyFunction.unclampedCall(ItemStack p_234960_, ClientLevel p_234961_, LivingEntity p_234962_, int p_234963_) -
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 TypeMethodDescriptionvoidGameTestHelper.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 voidDebugPackets.sendEntityBrain(LivingEntity p_133696_) Constructors in net.minecraft.network.protocol.game with parameters of type LivingEntity -
Uses of LivingEntity in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return LivingEntityModifier and TypeMethodDescriptionprivate static LivingEntityAttributeCommand.getEntityWithAttribute(Entity p_252105_, Holder<Attribute> p_248921_) private static LivingEntityAttributeCommand.getLivingEntity(Entity p_136440_) -
Uses of LivingEntity in net.minecraft.server.level
Subclasses of LivingEntity in net.minecraft.server.level -
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 FallLocationFallLocation.getCurrentFallLocation(LivingEntity p_289566_) 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 TypeMethodDescriptionbooleanAbsorptionMobEffect.applyEffectTick(LivingEntity p_294484_, int p_294672_) booleanBadOmenMobEffect.applyEffectTick(LivingEntity p_296327_, int p_294357_) booleanHealOrHarmMobEffect.applyEffectTick(LivingEntity p_295255_, int p_295147_) booleanHungerMobEffect.applyEffectTick(LivingEntity p_296407_, int p_296356_) booleanMobEffect.applyEffectTick(LivingEntity p_19467_, int p_19468_) booleanPoisonMobEffect.applyEffectTick(LivingEntity p_296276_, int p_296233_) booleanRaidOmenMobEffect.applyEffectTick(LivingEntity p_338728_, int p_338249_) booleanRegenerationMobEffect.applyEffectTick(LivingEntity p_295924_, int p_296417_) booleanSaturationMobEffect.applyEffectTick(LivingEntity p_295892_, int p_296026_) booleanWitherMobEffect.applyEffectTick(LivingEntity p_296279_, int p_294798_) voidHealOrHarmMobEffect.applyInstantenousEffect(Entity p_294574_, Entity p_295692_, LivingEntity p_296483_, int p_296095_, double p_295178_) voidMobEffect.applyInstantenousEffect(Entity p_19462_, Entity p_19463_, LivingEntity p_19464_, int p_19465_, double p_19466_) floatMobEffectInstance.getBlendFactor(LivingEntity p_316410_, float p_316194_) static intMobEffectUtil.getDigSpeedAmplification(LivingEntity p_19587_) floatMobEffectInstance.BlendState.getFactor(LivingEntity p_316317_, float p_316789_) static booleanMobEffectUtil.hasDigSpeed(LivingEntity p_19585_) static booleanMobEffectUtil.hasWaterBreathing(LivingEntity p_19589_) voidMobEffect.onEffectAdded(LivingEntity p_338333_, int p_338715_) voidMobEffectInstance.onEffectAdded(LivingEntity p_338286_) voidAbsorptionMobEffect.onEffectStarted(LivingEntity p_294820_, int p_295222_) voidMobEffect.onEffectStarted(LivingEntity p_296490_, int p_296147_) voidMobEffectInstance.onEffectStarted(LivingEntity p_295220_) voidInfestedMobEffect.onMobHurt(LivingEntity p_338481_, int p_338438_, DamageSource p_338894_, float p_338367_) voidMobEffect.onMobHurt(LivingEntity p_338186_, int p_338204_, DamageSource p_338393_, float p_338618_) voidMobEffectInstance.onMobHurt(LivingEntity p_338201_, DamageSource p_338572_, float p_338779_) voidMobEffect.onMobRemoved(LivingEntity p_338500_, int p_338476_, Entity.RemovalReason p_338373_) voidMobEffectInstance.onMobRemoved(LivingEntity p_338566_, Entity.RemovalReason p_338384_) voidOozingMobEffect.onMobRemoved(LivingEntity p_338339_, int p_338421_, Entity.RemovalReason p_338677_) voidWeavingMobEffect.onMobRemoved(LivingEntity p_338209_, int p_338446_, Entity.RemovalReason p_338624_) voidWindChargedMobEffect.onMobRemoved(LivingEntity p_338439_, int p_338875_, Entity.RemovalReason p_338258_) private voidInfestedMobEffect.spawnSilverfish(Level p_338804_, LivingEntity p_341023_, double p_338557_, double p_338848_, double p_338562_) booleanMobEffectInstance.tick(LivingEntity p_19553_, Runnable p_19554_) -
Uses of LivingEntity in net.minecraft.world.entity
Subclasses of LivingEntity in net.minecraft.world.entityModifier and TypeClassDescriptionclassclassclassclassclassclassFields in net.minecraft.world.entity declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntityLivingEntity.lastHurtByMobprivate LivingEntityLivingEntity.lastHurtMobprivate LivingEntityAreaEffectCloud.ownerprivate LivingEntityMob.targetMethods 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 LivingEntityOwnableEntity.getOwner()Interaction.getTarget()Mob.getTarget()NeutralMob.getTarget()Targeting.getTarget()protected final LivingEntityMob.getTargetFromBrain()Methods in net.minecraft.world.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidLivingEntity.blockedByShield(LivingEntity p_21246_) protected voidLivingEntity.blockUsingShield(LivingEntity p_21200_) booleanLivingEntity.canAttack(LivingEntity p_21171_) booleanLivingEntity.canAttack(LivingEntity p_21041_, TargetingConditions p_21042_) booleanNeutralMob.canAttack(LivingEntity p_181126_) booleanTamableAnimal.canAttack(LivingEntity p_21822_) private static SlotAccessLivingEntity.createEquipmentSlotAccess(LivingEntity p_147196_, EquipmentSlot p_147197_) protected voidLivingEntity.createWitherRose(LivingEntity p_21269_) protected voidLivingEntity.doAutoAttackOnTouch(LivingEntity p_21277_) voidEntity.doEnchantDamageEffects(LivingEntity p_19971_, Entity p_19972_) static SlotAccessSlotAccess.forEquipmentSlot(LivingEntity p_147300_, EquipmentSlot p_147301_) static SlotAccessSlotAccess.forEquipmentSlot(LivingEntity p_147303_, EquipmentSlot p_147304_, Predicate<ItemStack> p_147305_) Entity.getDismountLocationForPassenger(LivingEntity p_20123_) default booleanNeutralMob.isAngryAt(LivingEntity p_21675_) booleanTamableAnimal.isOwnedBy(LivingEntity p_21831_) booleanMob.isWithinMeleeAttackRange(LivingEntity p_217067_) booleanEntity.killedEntity(ServerLevel p_216988_, LivingEntity p_216989_) voidLivingEntity.setLastHurtByMob(LivingEntity p_21039_) voidNeutralMob.setLastHurtByMob(LivingEntity p_21669_) voidAreaEffectCloud.setOwner(LivingEntity p_19719_) voidMob.setTarget(LivingEntity p_21544_) voidNeutralMob.setTarget(LivingEntity p_21681_) booleanTamableAnimal.wantsToAttack(LivingEntity p_21810_, LivingEntity p_21811_) Method parameters in net.minecraft.world.entity with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic booleanGlowSquid.checkGlowSquidSpawnRules(EntityType<? extends LivingEntity> p_217018_, ServerLevelAccessor p_217019_, MobSpawnType p_217020_, BlockPos p_217021_, RandomSource p_217022_) Constructor parameters in net.minecraft.world.entity with type arguments of type LivingEntityModifierConstructorDescriptionprotectedLivingEntity(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 TypeClassDescriptionclassBrain<E extends LivingEntity>static final classBrain.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.SUPPLIERSMethod parameters in net.minecraft.world.entity.ai.attributes with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic AttributeSupplierDefaultAttributes.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 TypeClassDescriptionclassBehavior<E extends LivingEntity>interfaceBehaviorControl<E extends LivingEntity>classCrossbowAttack<E extends Mob & CrossbowAttackMob,T extends LivingEntity> classGateBehavior<E extends LivingEntity>classGoAndGiveItemsToTarget<E extends LivingEntity & InventoryCarrier>classOneShot<E extends LivingEntity>classRunOne<E extends LivingEntity>Fields in net.minecraft.world.entity.ai.behavior declared as LivingEntityModifier and TypeFieldDescription(package private) final LivingEntityPrepareRamNearestTarget.RamCandidate.targetFields in net.minecraft.world.entity.ai.behavior with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final Function<LivingEntity, Double> FollowTemptation.closeEnoughDistanceprivate final Function<LivingEntity, Float> FollowTemptation.speedModifierprivate final Function<LivingEntity, Optional<PositionTracker>> GoAndGiveItemsToTarget.targetPositionGetterMethods 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 LivingEntityCrossbowAttack.getAttackTarget(LivingEntity p_22785_) static LivingEntityBehaviorUtils.getNearestTarget(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) PrepareRamNearestTarget.RamCandidate.getTarget()static LivingEntityBehaviorUtils.getTargetNearestMe(LivingEntity p_22607_, LivingEntity p_22608_, LivingEntity p_22609_) private LivingEntityShowTradesToPlayer.lookAtTarget(Villager p_24138_) private static LivingEntityPlayTagWithOtherKids.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_) 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 TypeMethodDescriptionprivate static booleanInteractWithDoor.areOtherMobsComingThroughDoor(LivingEntity p_260091_, BlockPos p_259764_, Optional<List<LivingEntity>> p_259365_) private static booleanValidateNearbyPoi.bedIsOccupied(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_) PrepareRamNearestTarget.calculateRammingStartPosition(PathfinderMob p_147743_, LivingEntity p_147744_) static booleanBehaviorUtils.canSee(LivingEntity p_22668_, LivingEntity p_22669_) protected booleanCountDownCooldownTicks.canStillUse(ServerLevel p_147468_, LivingEntity p_147469_, long p_147470_) protected booleanSleepInBed.canStillUse(ServerLevel p_24161_, LivingEntity p_24162_, long p_24163_) private static voidPlayTagWithOtherKids.chaseKid(MemoryAccessor<?, LivingEntity> p_259811_, MemoryAccessor<?, PositionTracker> p_259299_, MemoryAccessor<?, WalkTarget> p_260056_, LivingEntity p_259463_) protected booleanSleepInBed.checkExtraStartConditions(ServerLevel p_24154_, LivingEntity p_24155_) private voidPrepareRamNearestTarget.chooseRamPosition(PathfinderMob p_147766_, LivingEntity p_147767_) static voidInteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel p_260343_, LivingEntity p_259371_, Node p_259408_, Node p_260013_, Set<GlobalPos> p_259401_, Optional<List<LivingEntity>> p_260015_) private voidCrossbowAttack.crossbowAttack(E p_22787_, LivingEntity p_22788_) final voidDoNothing.doStop(ServerLevel p_260265_, LivingEntity p_259336_, long p_259826_) static booleanBehaviorUtils.entityIsVisible(Brain<?> p_22637_, LivingEntity p_22638_) private voidShowTradesToPlayer.findItemsToDisplay(LivingEntity p_24113_, Villager p_24114_) private static LivingEntityCrossbowAttack.getAttackTarget(LivingEntity p_22785_) CountDownCooldownTicks.getCooldownTickMemory(LivingEntity p_147466_) static Optional<LivingEntity> BehaviorUtils.getLivingEntityFromUUIDMemory(LivingEntity p_22611_, MemoryModuleType<UUID> p_22612_) static LivingEntityBehaviorUtils.getNearestTarget(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) private static Vec3MoveToSkySeeingSpot.getOutdoorPosition(ServerLevel p_23565_, LivingEntity p_23566_) static LivingEntityBehaviorUtils.getTargetNearestMe(LivingEntity p_22607_, LivingEntity p_22608_, LivingEntity p_22609_) static booleanVillagerPanicTrigger.hasHostile(LivingEntity p_24688_) static booleanMoveToSkySeeingSpot.hasNoBlocksAbove(ServerLevel p_23559_, LivingEntity p_23560_, BlockPos p_23561_) static booleanBehaviorUtils.isBreeding(LivingEntity p_217127_) private static booleanPlayTagWithOtherKids.isChasingSomeone(LivingEntity p_23668_) private static booleanInteractWithDoor.isDoorTooFarAway(ServerLevel p_23308_, LivingEntity p_23309_, GlobalPos p_23310_) private static booleanPlayTagWithOtherKids.isFriendChasingMe(LivingEntity p_23642_, LivingEntity p_23643_) static booleanVillagerPanicTrigger.isHurt(LivingEntity p_24698_) static booleanBehaviorUtils.isOtherTargetMuchFurtherAwayThanCurrentAttackTarget(LivingEntity p_22599_, LivingEntity p_22600_, double p_22601_) private static booleanStopAttackingIfTargetInvalid.isTiredOfTryingToReachTarget(LivingEntity p_259416_, Optional<Long> p_259377_) private static booleanDismountOrSkipMounting.isVehicleValid(LivingEntity p_259293_, Entity p_260023_, int p_259048_) booleanBlockPosTracker.isVisibleBy(LivingEntity p_22679_) booleanEntityTracker.isVisibleBy(LivingEntity p_22853_) booleanPositionTracker.isVisibleBy(LivingEntity p_23739_) static booleanBehaviorUtils.isWithinAttackRange(Mob p_22633_, LivingEntity p_22634_, int p_22635_) static voidBehaviorUtils.lockGazeAndWalkToEachOther(LivingEntity p_22603_, LivingEntity p_22604_, float p_22605_, int p_320174_) private static voidBehaviorUtils.lookAtEachOther(LivingEntity p_22671_, LivingEntity p_22672_) static voidBehaviorUtils.lookAtEntity(LivingEntity p_22596_, LivingEntity p_22597_) private voidCrossbowAttack.lookAtTarget(Mob p_22798_, LivingEntity p_22799_) private static booleanVillagerGoalPackages.raidExistsAndActive(ServerLevel p_260274_, LivingEntity p_260163_) private static booleanVillagerGoalPackages.raidExistsAndNotVictory(ServerLevel p_259939_, LivingEntity p_259384_) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity p_22618_, BlockPos p_22619_, float p_22620_, int p_22621_) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity p_217129_, PositionTracker p_217130_, float p_217131_, int p_217132_) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity p_22591_, Entity p_22592_, float p_22593_, int p_22594_) private static voidBehaviorUtils.setWalkAndLookTargetMemoriesToEachOther(LivingEntity p_22661_, LivingEntity p_22662_, float p_22663_, int p_319876_) protected voidSleepInBed.start(ServerLevel p_24157_, LivingEntity p_24158_, long p_24159_) protected voidCountDownCooldownTicks.stop(ServerLevel p_147472_, LivingEntity p_147473_, long p_147474_) protected voidSleepInBed.stop(ServerLevel p_24165_, LivingEntity p_24166_, long p_24167_) private voidGiveGiftToHero.throwGift(Villager p_23012_, LivingEntity p_23013_) private static voidTradeWithVillager.throwHalfStack(Villager p_24426_, Set<Item> p_24427_, LivingEntity p_24428_) static voidBehaviorUtils.throwItem(LivingEntity p_22614_, ItemStack p_22615_, Vec3 p_22616_) static voidBehaviorUtils.throwItem(LivingEntity p_217134_, ItemStack p_217135_, Vec3 p_217136_, Vec3 p_217137_, float p_217138_) static voidGoAndGiveItemsToTarget.throwItem(LivingEntity p_217208_, ItemStack p_217209_, Vec3 p_217210_) protected voidCountDownCooldownTicks.tick(ServerLevel p_147476_, LivingEntity p_147477_, long p_147478_) final voidDoNothing.tickOrStop(ServerLevel p_259225_, LivingEntity p_259218_, long p_259803_) final booleanDoNothing.tryStart(ServerLevel p_259135_, LivingEntity p_259195_, long p_259189_) private static LivingEntityPlayTagWithOtherKids.whoAreYouChasing(LivingEntity p_23640_) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static booleanInteractWithDoor.areOtherMobsComingThroughDoor(LivingEntity p_260091_, BlockPos p_259764_, Optional<List<LivingEntity>> p_259365_) private static voidPlayTagWithOtherKids.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 voidInteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel p_260343_, LivingEntity p_259371_, Node p_259408_, Node p_260013_, Set<GlobalPos> p_259401_, Optional<List<LivingEntity>> p_260015_) static OneShot<AgeableMob> BabyFollowAdult.create(UniformInt p_259321_, Function<LivingEntity, Float> p_259190_) static OneShot<LivingEntity> SetEntityLookTarget.create(Predicate<LivingEntity> p_260088_, float p_259747_) private static BehaviorControl<LivingEntity> SetEntityLookTargetSometimes.create(float p_260336_, UniformInt p_259266_, Predicate<LivingEntity> p_260173_) Deprecated.static BehaviorControl<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create(Function<LivingEntity, Float> p_259507_) static OneShot<LivingEntity> SetWalkTargetFromLookTarget.create(Predicate<LivingEntity> p_260341_, Function<LivingEntity, Float> p_260269_, int p_259192_) static OneShot<LivingEntity> SetWalkTargetFromLookTarget.create(Predicate<LivingEntity> p_260341_, Function<LivingEntity, Float> p_260269_, int p_259192_) static <E extends Mob>
BehaviorControl<E> StartAttacking.create(Function<E, Optional<? extends LivingEntity>> p_259868_) static <E extends Mob>
BehaviorControl<E> StartAttacking.create(Predicate<E> p_259618_, Function<E, Optional<? extends LivingEntity>> p_259435_) static BehaviorControl<LivingEntity> StartCelebratingIfTargetDead.create(int p_259238_, BiPredicate<LivingEntity, LivingEntity> p_259102_) static BehaviorControl<LivingEntity> StartCelebratingIfTargetDead.create(int p_259238_, BiPredicate<LivingEntity, LivingEntity> p_259102_) static BehaviorControl<LivingEntity> StayCloseToTarget.create(Function<LivingEntity, Optional<PositionTracker>> p_272871_, Predicate<LivingEntity> p_273150_, int p_273536_, int p_273107_, float p_273745_) static BehaviorControl<LivingEntity> StayCloseToTarget.create(Function<LivingEntity, Optional<PositionTracker>> p_272871_, Predicate<LivingEntity> p_273150_, int p_273536_, int p_273107_, float p_273745_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(BiConsumer<E, LivingEntity> p_260165_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(Predicate<LivingEntity> p_259762_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(Predicate<LivingEntity> p_260357_, BiConsumer<E, LivingEntity> p_259568_, boolean p_260319_) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(Predicate<LivingEntity> p_260357_, BiConsumer<E, LivingEntity> p_259568_, boolean p_260319_) private static Optional<LivingEntity> PlayTagWithOtherKids.findSomeoneBeingChased(List<LivingEntity> p_259655_) static LivingEntityBehaviorUtils.getNearestTarget(LivingEntity p_22626_, Optional<LivingEntity> p_22627_, LivingEntity p_22628_) private static booleanBehaviorUtils.targetIsValid(Brain<?> p_22644_, MemoryModuleType<? extends LivingEntity> p_22645_, Predicate<LivingEntity> p_22646_) private static booleanBehaviorUtils.targetIsValid(Brain<?> p_22644_, MemoryModuleType<? extends LivingEntity> p_22645_, Predicate<LivingEntity> p_22646_) static booleanBehaviorUtils.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 TypeClassDescriptionclassBehaviorBuilder<E extends LivingEntity,M> (package private) static final classBehaviorBuilder.Constant<E extends LivingEntity,A> static final classBehaviorBuilder.Instance<E extends LivingEntity>(package private) static final classBehaviorBuilder.Instance.Mu<E extends LivingEntity>static final classBehaviorBuilder.Mu<E extends LivingEntity>(package private) static final classBehaviorBuilder.PureMemory<E extends LivingEntity,F extends com.mojang.datafixers.kinds.K1, Value> (package private) static interfaceBehaviorBuilder.TriggerWithResult<E extends LivingEntity,R> (package private) static final classBehaviorBuilder.TriggerWrapper<E extends LivingEntity>interfaceTrigger<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 booleanForceUnmount.checkExtraStartConditions(ServerLevel p_238424_, LivingEntity p_238425_) static voidSonicBoom.setCooldown(LivingEntity p_217699_, int p_217700_) protected voidForceUnmount.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 LivingEntityFollowOwnerGoal.ownerprivate LivingEntityLeapAtTargetGoal.targetprivate LivingEntityMoveTowardsTargetGoal.targetprivate LivingEntityOcelotAttackGoal.targetprivate LivingEntityRangedAttackGoal.targetprivate LivingEntitySwellGoal.targetprotected TAvoidEntityGoal.toAvoidFields in net.minecraft.world.entity.ai.goal with type parameters of type LivingEntityModifier and TypeFieldDescriptionprotected final Predicate<LivingEntity> AvoidEntityGoal.avoidPredicateprotected final Class<? extends LivingEntity> LookAtPlayerGoal.lookAtTypeprotected final Predicate<LivingEntity> AvoidEntityGoal.predicateOnAvoidEntityMethods in net.minecraft.world.entity.ai.goal with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected booleanMeleeAttackGoal.canPerformAttack(LivingEntity p_301299_) protected voidMeleeAttackGoal.checkAndPerformAttack(LivingEntity p_25557_) private booleanTemptGoal.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 TypeClassDescriptionclassNearestAttackableTargetGoal<T extends LivingEntity>classNearestAttackableWitchTargetGoal<T extends LivingEntity>classNearestHealableRaiderTargetGoal<T extends LivingEntity>classNonTameRandomTargetGoal<T extends LivingEntity>Fields in net.minecraft.world.entity.ai.goal.target declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntityOwnerHurtTargetGoal.ownerLastHurtprivate LivingEntityOwnerHurtByTargetGoal.ownerLastHurtByprivate LivingEntityDefendVillageTargetGoal.potentialTargetprotected LivingEntityNearestAttackableTargetGoal.targetprotected LivingEntityTargetGoal.targetMobMethods in net.minecraft.world.entity.ai.goal.target with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidHurtByTargetGoal.alertOther(Mob p_26042_, LivingEntity p_26043_) protected booleanTargetGoal.canAttack(LivingEntity p_26151_, TargetingConditions p_26152_) private booleanTargetGoal.canReach(LivingEntity p_26149_) voidNearestAttackableTargetGoal.setTarget(LivingEntity p_26071_) Constructor parameters in net.minecraft.world.entity.ai.goal.target with type arguments of type LivingEntityModifierConstructorDescriptionNearestAttackableTargetGoal(Mob p_199891_, Class<T> p_199892_, boolean p_199893_, Predicate<LivingEntity> p_199894_) NearestAttackableTargetGoal(Mob p_26053_, Class<T> p_26054_, int p_26055_, boolean p_26056_, boolean p_26057_, Predicate<LivingEntity> p_26058_) NearestAttackableWitchTargetGoal(Raider p_26076_, Class<T> p_26077_, int p_26078_, boolean p_26079_, boolean p_26080_, Predicate<LivingEntity> p_26081_) NearestHealableRaiderTargetGoal(Raider p_26087_, Class<T> p_26088_, boolean p_26089_, Predicate<LivingEntity> p_26090_) NonTameRandomTargetGoal(TamableAnimal p_26097_, Class<T> p_26098_, boolean p_26099_, Predicate<LivingEntity> p_26100_) -
Uses of LivingEntity in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final MemoryModuleType<LivingEntity> MemoryModuleType.ATTACK_TARGETstatic final MemoryModuleType<LivingEntity> MemoryModuleType.AVOID_TARGETstatic final MemoryModuleType<LivingEntity> MemoryModuleType.HURT_BY_ENTITYstatic final MemoryModuleType<LivingEntity> MemoryModuleType.INTERACTION_TARGETprivate final Predicate<LivingEntity> NearestVisibleLivingEntities.lineOfSightTestprivate final List<LivingEntity> NearestVisibleLivingEntities.nearbyEntitiesstatic final MemoryModuleType<LivingEntity> MemoryModuleType.NEAREST_ATTACKABLEstatic final MemoryModuleType<LivingEntity> MemoryModuleType.NEAREST_HOSTILEstatic final MemoryModuleType<List<LivingEntity>> MemoryModuleType.NEAREST_LIVING_ENTITIESstatic final MemoryModuleType<LivingEntity> MemoryModuleType.NEAREST_VISIBLE_ZOMBIFIEDstatic final MemoryModuleType<LivingEntity> MemoryModuleType.ROAR_TARGETstatic final MemoryModuleType<List<LivingEntity>> MemoryModuleType.VISIBLE_VILLAGER_BABIESMethods 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 TypeMethodDescriptionbooleanNearestVisibleLivingEntities.contains(LivingEntity p_186108_) Method parameters in net.minecraft.world.entity.ai.memory with type arguments of type LivingEntityModifier and TypeMethodDescriptionbooleanNearestVisibleLivingEntities.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(LivingEntity p_186104_, List<LivingEntity> p_186105_) Constructor parameters in net.minecraft.world.entity.ai.memory with type arguments of type LivingEntityModifierConstructorDescriptionNearestVisibleLivingEntities(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 TypeClassDescriptionclassMobSensor<T extends LivingEntity>classNearestLivingEntitySensor<T extends LivingEntity>classSensor<E extends LivingEntity>Fields in net.minecraft.world.entity.ai.sensing with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final BiPredicate<T, LivingEntity> MobSensor.mobTeststatic final SensorType<NearestLivingEntitySensor<LivingEntity>> SensorType.NEAREST_LIVING_ENTITIESMethods 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(LivingEntity p_148298_) private List<LivingEntity> VillagerBabiesSensor.getNearestVillagerBabies(LivingEntity p_26837_) Methods in net.minecraft.world.entity.ai.sensing with parameters of type LivingEntityModifier and TypeMethodDescriptionstatic voidGolemSensor.checkForNearbyGolem(LivingEntity p_26648_) protected voidDummySensor.doTick(ServerLevel p_26638_, LivingEntity p_26639_) protected voidGolemSensor.doTick(ServerLevel p_26645_, LivingEntity p_26646_) protected voidHurtBySensor.doTick(ServerLevel p_26670_, LivingEntity p_26671_) protected voidIsInWaterSensor.doTick(ServerLevel p_217816_, LivingEntity p_217817_) protected voidNearestVisibleLivingEntitySensor.doTick(ServerLevel p_148288_, LivingEntity p_148289_) protected voidPiglinBruteSpecificSensor.doTick(ServerLevel p_26721_, LivingEntity p_26722_) protected voidPiglinSpecificSensor.doTick(ServerLevel p_26726_, LivingEntity p_26727_) protected voidPlayerSensor.doTick(ServerLevel p_26740_, LivingEntity p_26741_) protected voidVillagerBabiesSensor.doTick(ServerLevel p_26834_, LivingEntity p_26835_) PiglinSpecificSensor.findNearestRepellent(ServerLevel p_26735_, LivingEntity p_26736_) private Optional<LivingEntity> NearestVisibleLivingEntitySensor.getNearestEntity(LivingEntity p_148298_) private List<LivingEntity> VillagerBabiesSensor.getNearestVillagerBabies(LivingEntity p_26837_) protected Optional<NearestVisibleLivingEntities> NearestVisibleLivingEntitySensor.getVisibleEntities(LivingEntity p_148291_) private NearestVisibleLivingEntitiesVillagerBabiesSensor.getVisibleEntities(LivingEntity p_186204_) static voidGolemSensor.golemDetected(LivingEntity p_26650_) private booleanAxolotlAttackablesSensor.isClose(LivingEntity p_148275_, LivingEntity p_148276_) private booleanVillagerHostilesSensor.isClose(LivingEntity p_26861_, LivingEntity p_26862_) static booleanSensor.isEntityAttackable(LivingEntity p_148313_, LivingEntity p_148314_) static booleanSensor.isEntityAttackableIgnoringLineOfSight(LivingEntity p_182378_, LivingEntity p_182379_) static booleanSensor.isEntityTargetable(LivingEntity p_26804_, LivingEntity p_26805_) private booleanVillagerHostilesSensor.isHostile(LivingEntity p_26868_) private booleanAxolotlAttackablesSensor.isHostileTarget(LivingEntity p_148270_) private booleanAxolotlAttackablesSensor.isHuntTarget(LivingEntity p_148272_, LivingEntity p_148273_) protected booleanAxolotlAttackablesSensor.isMatchingEntity(LivingEntity p_148266_, LivingEntity p_148267_) protected booleanFrogAttackablesSensor.isMatchingEntity(LivingEntity p_217810_, LivingEntity p_217811_) protected abstract booleanNearestVisibleLivingEntitySensor.isMatchingEntity(LivingEntity p_148292_, LivingEntity p_148293_) protected booleanVillagerHostilesSensor.isMatchingEntity(LivingEntity p_148344_, LivingEntity p_148345_) private booleanFrogAttackablesSensor.isUnreachableAttackTarget(LivingEntity p_238336_, LivingEntity p_238337_) private booleanVillagerBabiesSensor.isVillagerBaby(LivingEntity p_26839_) 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
Fields in net.minecraft.world.entity.ai.targeting with type parameters of type LivingEntityMethods in net.minecraft.world.entity.ai.targeting with parameters of type LivingEntityModifier and TypeMethodDescriptionbooleanTargetingConditions.test(LivingEntity p_26886_, LivingEntity p_26887_) Method parameters in net.minecraft.world.entity.ai.targeting with type arguments of type LivingEntity -
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 classCat.CatAvoidEntityGoal<T extends LivingEntity>(package private) static classOcelot.OcelotAvoidEntityGoal<T extends LivingEntity>(package private) static classPanda.PandaAvoidGoal<T extends LivingEntity>(package private) static classRabbit.RabbitAvoidEntityGoal<T extends LivingEntity>(package private) classWolf.WolfAvoidEntityGoal<T extends LivingEntity>Subclasses of LivingEntity in net.minecraft.world.entity.animalModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.animal declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntityFox.DefendTrustedTargetGoal.trustedLastHurtprivate LivingEntityFox.DefendTrustedTargetGoal.trustedLastHurtByFields in net.minecraft.world.entity.animal with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final Predicate<LivingEntity> Turtle.BABY_ON_LAND_SELECTORstatic final Predicate<LivingEntity> Wolf.PREY_SELECTORprivate static final Predicate<LivingEntity> Pufferfish.SCARY_MOBMethods 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 with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidBee.BeeHurtByOtherGoal.alertOther(Mob p_28035_, LivingEntity p_28036_) protected voidPanda.PandaHurtByTargetGoal.alertOther(Mob p_29295_, LivingEntity p_29296_) protected voidPolarBear.PolarBearHurtByTargetGoal.alertOther(Mob p_29580_, LivingEntity p_29581_) protected voidFox.FoxMeleeAttackGoal.checkAndPerformAttack(LivingEntity p_28724_) protected voidPolarBear.PolarBearMeleeAttackGoal.checkAndPerformAttack(LivingEntity p_29589_) Pig.getDismountLocationForPassenger(LivingEntity p_29487_) static booleanFox.isPathClear(Fox p_28472_, LivingEntity p_28473_) voidSnowGolem.performRangedAttack(LivingEntity p_29912_, float p_29913_) voidFox.setTarget(LivingEntity p_28574_) voidPanda.PandaLookAtPlayerGoal.setTarget(LivingEntity p_29313_) booleanFox.FoxAlertableEntitiesSelector.test(LivingEntity p_28653_) booleanWolf.wantsToAttack(LivingEntity p_30389_, LivingEntity p_30390_) Constructor parameters in net.minecraft.world.entity.animal with type arguments of type LivingEntityModifierConstructorDescriptionDefendTrustedTargetGoal(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, Predicate<LivingEntity> p_28637_) DefendTrustedTargetGoal(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, Predicate<LivingEntity> p_28637_) FoxLookAtPlayerGoal(Mob p_28707_, Class<? extends LivingEntity> p_28708_, float p_28709_) PandaLookAtPlayerGoal(Panda p_29308_, Class<? extends LivingEntity> p_29309_, float p_29310_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.allay
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 booleanAllayAi.hasWantedItem(LivingEntity p_273346_) static voidAllayAi.hearNoteblock(LivingEntity p_218417_, BlockPos p_218418_) private static booleanAllayAi.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(Axolotl p_149299_) Methods in net.minecraft.world.entity.animal.axolotl with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static booleanAxolotlAi.canSetWalkTargetFromLookTarget(LivingEntity p_182381_) private static floatAxolotlAi.getSpeedModifier(LivingEntity p_149301_) private static floatAxolotlAi.getSpeedModifierChasing(LivingEntity p_149289_) private static floatAxolotlAi.getSpeedModifierFollowingAdult(LivingEntity p_149295_) static voidAxolotl.onStopAttacking(Axolotl p_218444_, LivingEntity p_218445_) Method parameters in net.minecraft.world.entity.animal.axolotl with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic booleanAxolotl.checkAxolotlSpawnRules(EntityType<? extends LivingEntity> p_218438_, ServerLevelAccessor p_218439_, MobSpawnType p_218440_, BlockPos p_218441_, RandomSource p_218442_) -
Uses of LivingEntity in net.minecraft.world.entity.animal.camel
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 voidShootTongue.addUnreachableTargetToMemory(Frog p_238444_, LivingEntity p_243335_) static booleanFrog.canEat(LivingEntity p_218533_) private booleanShootTongue.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 TypeClassDescriptionclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.animal.horse declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntityTraderLlama.TraderLlamaDefendWanderingTraderGoal.ownerLastHurtByFields in net.minecraft.world.entity.animal.horse with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity> AbstractHorse.PARENT_HORSE_SELECTORMethods in net.minecraft.world.entity.animal.horse that return LivingEntityMethods in net.minecraft.world.entity.animal.horse with parameters of type LivingEntityModifier and TypeMethodDescriptionAbstractHorse.getDismountLocationForPassenger(LivingEntity p_30576_) private Vec3AbstractHorse.getDismountLocationInDirection(Vec3 p_30562_, LivingEntity p_30563_) protected Vec2AbstractHorse.getRiddenRotation(LivingEntity p_275502_) voidLlama.performRangedAttack(LivingEntity p_30762_, float p_30763_) private voidLlama.spit(LivingEntity p_30828_) -
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.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.witherFields in net.minecraft.world.entity.boss.wither with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Predicate<LivingEntity> WitherBoss.LIVING_ENTITY_SELECTORMethods in net.minecraft.world.entity.boss.wither with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate voidWitherBoss.performRangedAttack(int p_31458_, LivingEntity p_31459_) voidWitherBoss.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 classSpider.SpiderTargetGoal<T extends LivingEntity>Subclasses of LivingEntity in net.minecraft.world.entity.monsterModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.monster declared as LivingEntityModifier and TypeFieldDescriptionprivate LivingEntityGuardian.clientSideCachedAttackTargetprivate LivingEntityEnderMan.EndermanFreezeWhenLookedAt.targetFields in net.minecraft.world.entity.monster with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final Predicate<LivingEntity> EnderMan.EndermanLookForPlayerGoal.isAngerInducingMethods 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()Methods in net.minecraft.world.entity.monster with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidRavager.blockedByShield(LivingEntity p_33361_) protected voidZoglin.blockedByShield(LivingEntity p_34246_) booleanAbstractIllager.canAttack(LivingEntity p_186270_) protected voidSlime.dealDamage(LivingEntity p_33638_) Strider.getDismountLocationForPassenger(LivingEntity p_33908_) private booleanZoglin.isTargetable(LivingEntity p_34253_) booleanZombie.killedEntity(ServerLevel p_219160_, LivingEntity p_219161_) booleanDrowned.okTarget(LivingEntity p_32396_) default voidCrossbowAttackMob.performCrossbowAttack(LivingEntity p_32337_, float p_32338_) voidAbstractSkeleton.performRangedAttack(LivingEntity p_32141_, float p_32142_) voidDrowned.performRangedAttack(LivingEntity p_32356_, float p_32357_) voidIllusioner.performRangedAttack(LivingEntity p_32918_, float p_32919_) voidPillager.performRangedAttack(LivingEntity p_33272_, float p_33273_) voidRangedAttackMob.performRangedAttack(LivingEntity p_33317_, float p_33318_) voidWitch.performRangedAttack(LivingEntity p_34143_, float p_34144_) private voidZoglin.setAttackTarget(LivingEntity p_34255_) voidCreeper.setTarget(LivingEntity p_149691_) voidEnderMan.setTarget(LivingEntity p_32537_) voidZombifiedPiglin.setTarget(LivingEntity p_34478_) booleanGuardian.GuardianAttackSelector.test(LivingEntity p_32881_) Constructor parameters in net.minecraft.world.entity.monster with type arguments of type LivingEntityModifierConstructorDescriptionEndermanLookForPlayerGoal(EnderMan p_32573_, Predicate<LivingEntity> p_32574_) -
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 TypeMethodDescriptionstatic booleanShoot.isFacingTarget(Breeze p_311845_, LivingEntity p_312453_) private static booleanShoot.isTargetWithinRange(Breeze p_312114_, LivingEntity p_312647_) private static booleanLongJump.outOfAggroRange(Breeze p_312045_, LivingEntity p_312043_) static Vec3BreezeUtil.randomPointBehindTarget(LivingEntity p_316886_, RandomSource p_316867_) private static Vec3Slide.randomPointInMiddleCircle(Breeze p_311931_, LivingEntity p_312413_) private static BlockPosLongJump.snapToSurface(LivingEntity p_311909_, Vec3 p_312597_) private static booleanLongJump.tooCloseForJump(Breeze p_312356_, LivingEntity p_312654_) -
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(Hoglin p_34611_) Methods in net.minecraft.world.entity.monster.hoglin with parameters of type LivingEntityModifier and TypeMethodDescriptionprotected voidHoglin.blockedByShield(LivingEntity p_34550_) private static voidHoglinAi.broadcastAttackTarget(Hoglin p_34635_, LivingEntity p_34636_) private static voidHoglinAi.broadcastRetreat(Hoglin p_34606_, LivingEntity p_34607_) static booleanHoglinBase.hurtAndThrowTarget(LivingEntity p_34643_, LivingEntity p_34644_) private static voidHoglinAi.maybeRetaliate(Hoglin p_34625_, LivingEntity p_34626_) protected static voidHoglinAi.onHitTarget(Hoglin p_34580_, LivingEntity p_34581_) private static voidHoglinAi.retreatFromNearestTarget(Hoglin p_34613_, LivingEntity p_34614_) private static voidHoglinAi.setAttackTarget(Hoglin p_34630_, LivingEntity p_34631_) private static voidHoglinAi.setAttackTargetIfCloserThanCurrent(Hoglin p_34640_, LivingEntity p_34641_) private static voidHoglinAi.setAvoidTarget(Hoglin p_34620_, LivingEntity p_34621_) static voidHoglinBase.throwTarget(LivingEntity p_34646_, LivingEntity p_34647_) protected static voidHoglinAi.wasHurtBy(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(Piglin p_35001_) private static Optional<? extends LivingEntity> PiglinBruteAi.findNearestValidAttackTarget(AbstractPiglin p_35087_) private static Optional<LivingEntity> PiglinAi.getAngerTarget(AbstractPiglin p_34976_) static Optional<LivingEntity> PiglinAi.getAvoidTarget(Piglin p_34987_) private static Optional<? extends LivingEntity> PiglinBruteAi.getTargetIfWithinRange(AbstractPiglin p_35092_, MemoryModuleType<? extends LivingEntity> p_35093_) Methods in net.minecraft.world.entity.monster.piglin with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static voidPiglinAi.admireGoldItem(LivingEntity p_34939_) protected static voidPiglinAi.broadcastAngerTarget(AbstractPiglin p_34896_, LivingEntity p_34897_) private static voidPiglinAi.broadcastRetreat(Piglin p_34930_, LivingEntity p_34931_) private static booleanPiglinAi.doesntSeeAnyPlayerHoldingLovedItem(LivingEntity p_34983_) private static booleanPiglinAi.hasCrossbow(LivingEntity p_34919_) private static booleanPiglinAi.isNearestValidAttackTarget(Piglin p_34901_, LivingEntity p_34902_) private static booleanPiglinBruteAi.isNearestValidAttackTarget(AbstractPiglin p_35089_, LivingEntity p_35090_) static booleanPiglinAi.isPlayerHoldingLovedItem(LivingEntity p_34884_) static booleanPiglinAi.isWearingGold(LivingEntity p_34809_) protected static voidPiglinAi.maybeRetaliate(AbstractPiglin p_34827_, LivingEntity p_34828_) voidPiglin.performRangedAttack(LivingEntity p_34704_, float p_34705_) private static voidPiglinAi.retreatFromNearestTarget(Piglin p_34950_, LivingEntity p_34951_) private static booleanPiglinAi.seesPlayerHoldingLovedItem(LivingEntity p_34972_) protected static voidPiglinAi.setAngerTarget(AbstractPiglin p_34925_, LivingEntity p_34926_) protected static voidPiglinBruteAi.setAngerTarget(PiglinBrute p_149989_, LivingEntity p_149990_) private static voidPiglinAi.setAngerTargetIfCloserThanCurrent(AbstractPiglin p_34963_, LivingEntity p_34964_) private static voidPiglinAi.setAngerTargetToNearestTargetablePlayerIfFound(AbstractPiglin p_34945_, LivingEntity p_34946_) private static voidPiglinAi.setAvoidTargetAndDontHuntForAWhile(Piglin p_34968_, LivingEntity p_34969_) private static booleanPiglinAi.wantsToDance(LivingEntity p_34811_, LivingEntity p_34812_) protected static voidPiglinAi.wasHurtBy(Piglin p_34838_, LivingEntity p_34839_) protected static voidPiglinBruteAi.wasHurtBy(PiglinBrute p_35097_, LivingEntity p_35098_) private static booleanPiglinAi.wasHurtRecently(LivingEntity p_34989_) Method parameters in net.minecraft.world.entity.monster.piglin with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity> PiglinBruteAi.getTargetIfWithinRange(AbstractPiglin p_35092_, MemoryModuleType<? extends LivingEntity> p_35093_) -
Uses of LivingEntity in net.minecraft.world.entity.monster.warden
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 booleanWardenAi.isTarget(Warden p_219515_, LivingEntity p_219516_) private static voidWardenAi.onTargetInvalid(Warden p_219529_, LivingEntity p_219530_) voidWarden.setAttackTarget(LivingEntity p_219460_) static voidWardenAi.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 voidPlayer.blockUsingShield(LivingEntity p_36295_) protected voidPlayer.doAutoAttackOnTouch(LivingEntity p_36355_) booleanPlayer.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 LivingEntityFireworkRocketEntity.attachedToEntityprivate LivingEntityEvokerFangs.ownerFields in net.minecraft.world.entity.projectile with type parameters of type LivingEntityModifier and TypeFieldDescriptionstatic final Predicate<LivingEntity> ThrownPotion.WATER_SENSITIVE_OR_ON_FIREMethods in net.minecraft.world.entity.projectile that return LivingEntityMethods in net.minecraft.world.entity.projectile with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate voidEvokerFangs.dealDamageTo(LivingEntity p_36945_) protected voidAbstractArrow.doPostHurtEffects(LivingEntity p_36744_) protected voidArrow.doPostHurtEffects(LivingEntity p_36873_) protected voidSpectralArrow.doPostHurtEffects(LivingEntity p_37422_) static AbstractArrowProjectileUtil.getMobArrow(LivingEntity p_37301_, ItemStack p_37302_, float p_37303_) static InteractionHandProjectileUtil.getWeaponHoldingHand(LivingEntity livingEntity, Predicate<Item> itemPredicate) static InteractionHandProjectileUtil.getWeaponHoldingHand(LivingEntity p_37298_, Item p_37299_) Deprecated.voidAbstractArrow.setEnchantmentEffectsFromEntity(LivingEntity p_36746_, float p_36747_) voidEvokerFangs.setOwner(LivingEntity p_36939_) Constructors in net.minecraft.world.entity.projectile with parameters of type LivingEntityModifierConstructorDescriptionprotectedAbstractArrow(EntityType<? extends AbstractArrow> p_36717_, LivingEntity p_36718_, Level p_36719_, ItemStack p_309031_) AbstractHurtingProjectile(EntityType<? extends AbstractHurtingProjectile> p_36826_, LivingEntity p_36827_, double p_36828_, double p_36829_, double p_36830_, Level p_36831_) Arrow(Level p_36861_, LivingEntity p_308924_, ItemStack p_309188_) DragonFireball(Level p_36903_, LivingEntity p_36904_, double p_36905_, double p_36906_, double p_36907_) EvokerFangs(Level p_36926_, double p_36927_, double p_36928_, double p_36929_, float p_36930_, int p_36931_, LivingEntity p_36932_) Fireball(EntityType<? extends Fireball> p_36999_, LivingEntity p_37000_, double p_37001_, double p_37002_, double p_37003_, Level p_37004_) FireworkRocketEntity(Level p_37058_, ItemStack p_37059_, LivingEntity p_37060_) LargeFireball(Level p_181151_, LivingEntity p_181152_, double p_181153_, double p_181154_, double p_181155_, int p_181156_) ShulkerBullet(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_) SmallFireball(Level p_37375_, LivingEntity p_37376_, double p_37377_, double p_37378_, double p_37379_) Snowball(Level p_37399_, LivingEntity p_37400_) SpectralArrow(Level p_37414_, LivingEntity p_309162_, ItemStack p_309167_) ThrowableItemProjectile(EntityType<? extends ThrowableItemProjectile> p_37438_, LivingEntity p_37439_, Level p_37440_) protectedThrowableProjectile(EntityType<? extends ThrowableProjectile> p_37462_, LivingEntity p_37463_, Level p_37464_) ThrownEgg(Level p_37481_, LivingEntity p_37482_) ThrownEnderpearl(Level p_37499_, LivingEntity p_37500_) ThrownExperienceBottle(Level p_37518_, LivingEntity p_37519_) ThrownPotion(Level p_37535_, LivingEntity p_37536_) ThrownTrident(Level p_37569_, LivingEntity p_37570_, ItemStack p_37571_) WitherSkull(Level p_37609_, LivingEntity p_37610_, double p_37611_, double p_37612_, double p_37613_) -
Uses of LivingEntity in net.minecraft.world.entity.raid
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 booleanDismountHelper.canDismountTo(CollisionGetter p_38457_, LivingEntity p_38458_, AABB p_38459_) static booleanDismountHelper.canDismountTo(CollisionGetter p_150280_, Vec3 p_150281_, LivingEntity p_150282_, Pose p_150283_) AbstractMinecart.getDismountLocationForPassenger(LivingEntity p_38145_) Boat.getDismountLocationForPassenger(LivingEntity p_38357_) -
Uses of LivingEntity in net.minecraft.world.food
Methods in net.minecraft.world.food with parameters of type LivingEntity -
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(Player p_338613_, Entity p_338698_) Methods in net.minecraft.world.item with parameters of type LivingEntityModifier and TypeMethodDescriptionbooleanElytraItem.canElytraFly(ItemStack stack, LivingEntity entity) voidItemStack.consume(int p_326311_, LivingEntity p_326200_) ArrowItem.createArrow(Level p_40513_, ItemStack p_40514_, LivingEntity p_40515_) SpectralArrowItem.createArrow(Level p_43237_, ItemStack p_43238_, LivingEntity p_43239_) protected ProjectileCrossbowItem.createProjectile(Level p_331583_, LivingEntity p_40863_, ItemStack p_40864_, ItemStack p_40865_, boolean p_40866_) protected ProjectileProjectileWeaponItem.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_) booleanElytraItem.elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks) BowlFoodItem.finishUsingItem(ItemStack p_40684_, Level p_40685_, LivingEntity p_40686_) ChorusFruitItem.finishUsingItem(ItemStack p_40712_, Level p_40713_, LivingEntity p_40714_) HoneyBottleItem.finishUsingItem(ItemStack p_41348_, Level p_41349_, LivingEntity p_41350_) Item.finishUsingItem(ItemStack p_41409_, Level p_41410_, LivingEntity p_41411_) ItemStack.finishUsingItem(Level p_41672_, LivingEntity p_41673_) MilkBucketItem.finishUsingItem(ItemStack p_42923_, Level p_42924_, LivingEntity p_42925_) OminousBottleItem.finishUsingItem(ItemStack p_338871_, Level p_338693_, LivingEntity p_338370_) PotionItem.finishUsingItem(ItemStack p_42984_, Level p_42985_, LivingEntity p_42986_) SpyglassItem.finishUsingItem(ItemStack p_151209_, Level p_151210_, LivingEntity p_151211_) SuspiciousStewItem.finishUsingItem(ItemStack p_43263_, Level p_43264_, LivingEntity p_43265_) static ItemStackProjectileWeaponItem.getHeldProjectile(LivingEntity p_43011_, Predicate<ItemStack> p_43012_) private static doubleMaceItem.getKnockbackPower(Player p_338265_, LivingEntity p_338630_, Vec3 p_338866_) private static org.joml.Vector3fCrossbowItem.getProjectileShotVector(LivingEntity p_331584_, Vec3 p_331590_, float p_331104_) voidItemStack.hurtAndBreak(int p_220158_, RandomSource p_220159_, LivingEntity p_220160_, Runnable p_320659_) voidItemStack.hurtAndBreak(int p_41623_, LivingEntity p_41624_, EquipmentSlot p_319898_) booleanDiggerItem.hurtEnemy(ItemStack p_40994_, LivingEntity p_40995_, LivingEntity p_40996_) booleanItem.hurtEnemy(ItemStack p_41395_, LivingEntity p_41396_, LivingEntity p_41397_) voidItemStack.hurtEnemy(LivingEntity p_41641_, Player p_41642_) booleanMaceItem.hurtEnemy(ItemStack p_334046_, LivingEntity p_333712_, LivingEntity p_333812_) booleanSwordItem.hurtEnemy(ItemStack p_43278_, LivingEntity p_43279_, LivingEntity p_43280_) booleanTridentItem.hurtEnemy(ItemStack p_43390_, LivingEntity p_43391_, LivingEntity p_43392_) DyeItem.interactLivingEntity(ItemStack p_41085_, Player p_41086_, LivingEntity p_41087_, InteractionHand p_41088_) Item.interactLivingEntity(ItemStack p_41398_, Player p_41399_, LivingEntity p_41400_, InteractionHand p_41401_) ItemStack.interactLivingEntity(Player p_41648_, LivingEntity p_41649_, InteractionHand p_41650_) NameTagItem.interactLivingEntity(ItemStack p_42954_, Player p_42955_, LivingEntity p_42956_, InteractionHand p_42957_) SaddleItem.interactLivingEntity(ItemStack p_43055_, Player p_43056_, LivingEntity p_43057_, InteractionHand p_43058_) ShearsItem.interactLivingEntity(ItemStack stack, Player player, LivingEntity entity, InteractionHand hand) booleanArrowItem.isInfinite(ItemStack stack, ItemStack bow, LivingEntity livingEntity) booleanItem.mineBlock(ItemStack p_41416_, Level p_41417_, BlockState p_41418_, BlockPos p_41419_, LivingEntity p_41420_) booleanShearsItem.mineBlock(ItemStack p_43078_, Level p_43079_, BlockState p_43080_, BlockPos p_43081_, LivingEntity p_43082_) voidBrushItem.onUseTick(Level p_273467_, LivingEntity p_273619_, ItemStack p_273316_, int p_273101_) voidCrossbowItem.onUseTick(Level p_40910_, LivingEntity p_40911_, ItemStack p_40912_, int p_40913_) voidItem.onUseTick(Level p_41428_, LivingEntity p_41429_, ItemStack p_41430_, int p_41431_) voidItemStack.onUseTick(Level p_41732_, LivingEntity p_41733_, int p_41734_) voidCrossbowItem.performShooting(Level p_40888_, LivingEntity p_40889_, InteractionHand p_40890_, ItemStack p_40891_, float p_40892_, float p_40893_, LivingEntity p_331602_) voidBowItem.releaseUsing(ItemStack p_40667_, Level p_40668_, LivingEntity p_40669_, int p_40670_) voidCrossbowItem.releaseUsing(ItemStack p_40875_, Level p_40876_, LivingEntity p_40877_, int p_40878_) voidItem.releaseUsing(ItemStack p_41412_, Level p_41413_, LivingEntity p_41414_, int p_41415_) voidItemStack.releaseUsing(Level p_41675_, LivingEntity p_41676_, int p_41677_) voidSpyglassItem.releaseUsing(ItemStack p_151213_, Level p_151214_, LivingEntity p_151215_, int p_151216_) voidTridentItem.releaseUsing(ItemStack p_43394_, Level p_43395_, LivingEntity p_43396_, int p_43397_) protected voidProjectileWeaponItem.shoot(Level p_331270_, 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 voidBowItem.shootProjectile(LivingEntity p_331372_, Projectile p_332000_, int p_330631_, float p_331251_, float p_331199_, float p_330857_, LivingEntity p_331572_) protected voidCrossbowItem.shootProjectile(LivingEntity p_40896_, Projectile p_332122_, int p_331865_, float p_40900_, float p_40902_, float p_40903_, LivingEntity p_330303_) protected abstract voidProjectileWeaponItem.shootProjectile(LivingEntity p_330966_, Projectile p_332201_, int p_331696_, float p_331444_, float p_331156_, float p_331718_, LivingEntity p_331705_) private voidSpyglassItem.stopUsing(LivingEntity p_151207_) private static booleanCrossbowItem.tryLoadProjectiles(LivingEntity p_40860_, ItemStack p_40861_) protected static ItemStackProjectileWeaponItem.useAmmo(ItemStack p_331207_, ItemStack p_331434_, LivingEntity p_330302_, boolean p_330934_) -
Uses of LivingEntity in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidDamageEnchantment.doPostAttack(LivingEntity p_44638_, Entity p_44639_, int p_44640_) voidEnchantment.doPostAttack(LivingEntity p_44686_, Entity p_44687_, int p_44688_) static voidEnchantmentHelper.doPostDamageEffects(LivingEntity p_44897_, Entity p_44898_) voidEnchantment.doPostHurt(LivingEntity p_44692_, Entity p_44693_, int p_44694_) voidThornsEnchantment.doPostHurt(LivingEntity p_45215_, Entity p_45216_, int p_45217_) static voidEnchantmentHelper.doPostHurtEffects(LivingEntity p_44824_, Entity p_44825_) voidEnchantment.doPostItemStackHurt(LivingEntity p_338405_, Entity p_338648_, int p_338725_) voidWindBurstEnchantment.doPostItemStackHurt(LivingEntity p_338647_, Entity p_338351_, int p_338250_) static voidEnchantmentHelper.doPostItemStackHurtEffects(LivingEntity p_338188_, Entity p_338394_, ItemEnchantments p_338474_) static intEnchantmentHelper.getBlockEfficiency(LivingEntity p_44927_) static intEnchantmentHelper.getDepthStrider(LivingEntity p_44923_) static intEnchantmentHelper.getEnchantmentLevel(Enchantment p_44837_, LivingEntity p_44838_) static doubleProtectionEnchantment.getExplosionKnockbackAfterDampener(LivingEntity p_45136_, double p_45137_) static intProtectionEnchantment.getFireAfterDampener(LivingEntity p_45139_, int p_45140_) static intEnchantmentHelper.getFireAspect(LivingEntity p_44915_) static intEnchantmentHelper.getKnockbackBonus(LivingEntity p_44895_) static intEnchantmentHelper.getMobLooting(LivingEntity p_44931_) static Map.Entry<EquipmentSlot, ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_44907_, LivingEntity p_44908_) static Map.Entry<EquipmentSlot, ItemStack> EnchantmentHelper.getRandomItemWith(Enchantment p_44840_, LivingEntity p_44841_, Predicate<ItemStack> p_44842_) static intEnchantmentHelper.getRespiration(LivingEntity p_44919_) Enchantment.getSlotItems(LivingEntity p_44685_) static floatEnchantmentHelper.getSneakingSpeedBonus(LivingEntity p_220303_) static floatEnchantmentHelper.getSweepingDamageRatio(LivingEntity p_44822_) static booleanEnchantmentHelper.hasAquaAffinity(LivingEntity p_44935_) static booleanEnchantmentHelper.hasFrostWalker(LivingEntity p_44939_) static booleanEnchantmentHelper.hasSoulSpeed(LivingEntity p_44943_) static voidFrostWalkerEnchantment.onEntityMoved(LivingEntity p_45019_, Level p_45020_, BlockPos p_45021_, int p_45022_) -
Uses of LivingEntity in net.minecraft.world.level
Methods in net.minecraft.world.level with type parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T> EntityGetter.getNearbyEntities(Class<T> p_45972_, TargetingConditions p_45973_, LivingEntity p_45974_, AABB p_45975_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(Class<? extends T> p_45964_, TargetingConditions p_45965_, LivingEntity p_45966_, double p_45967_, double p_45968_, double p_45969_, AABB p_45970_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(List<? extends T> p_45983_, TargetingConditions p_45984_, LivingEntity p_45985_, double p_45986_, double p_45987_, double p_45988_) Methods in net.minecraft.world.level that return LivingEntityModifier and TypeMethodDescriptionExplosion.getIndirectSourceEntity()private static LivingEntityExplosion.getIndirectSourceEntityInternal(Entity p_312444_) Methods in net.minecraft.world.level with parameters of type LivingEntityModifier and TypeMethodDescriptiondefault <T extends LivingEntity>
List<T> EntityGetter.getNearbyEntities(Class<T> p_45972_, TargetingConditions p_45973_, LivingEntity p_45974_, AABB p_45975_) EntityGetter.getNearbyPlayers(TargetingConditions p_45956_, LivingEntity p_45957_, AABB p_45958_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(Class<? extends T> p_45964_, TargetingConditions p_45965_, LivingEntity p_45966_, double p_45967_, double p_45968_, double p_45969_, AABB p_45970_) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(List<? extends T> p_45983_, TargetingConditions p_45984_, LivingEntity p_45985_, double p_45986_, double p_45987_, double p_45988_) default PlayerEntityGetter.getNearestPlayer(TargetingConditions p_45947_, LivingEntity p_45948_) default PlayerEntityGetter.getNearestPlayer(TargetingConditions p_45950_, LivingEntity p_45951_, double p_45952_, double p_45953_, double p_45954_) -
Uses of LivingEntity in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type LivingEntityModifier and TypeMethodDescriptionprivate static voidTntBlock.explode(Level p_57437_, BlockPos p_57438_, LivingEntity p_57439_) Deprecated.booleanTrapDoorBlock.isLadder(BlockState state, LevelReader world, BlockPos pos, LivingEntity entity) voidTntBlock.onCaughtFire(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) voidBedBlock.setPlacedBy(Level p_49499_, BlockPos p_49500_, BlockState p_49501_, LivingEntity p_49502_, ItemStack p_49503_) voidBlock.setPlacedBy(Level p_49847_, BlockPos p_49848_, BlockState p_49849_, LivingEntity p_49850_, ItemStack p_49851_) voidCommandBlock.setPlacedBy(Level p_51804_, BlockPos p_51805_, BlockState p_51806_, LivingEntity p_51807_, ItemStack p_51808_) voidCrafterBlock.setPlacedBy(Level p_307219_, BlockPos p_307681_, BlockState p_307383_, LivingEntity p_307647_, ItemStack p_307190_) voidDiodeBlock.setPlacedBy(Level p_52506_, BlockPos p_52507_, BlockState p_52508_, LivingEntity p_52509_, ItemStack p_52510_) voidDoorBlock.setPlacedBy(Level p_52749_, BlockPos p_52750_, BlockState p_52751_, LivingEntity p_52752_, ItemStack p_52753_) voidDoublePlantBlock.setPlacedBy(Level p_52872_, BlockPos p_52873_, BlockState p_52874_, LivingEntity p_52875_, ItemStack p_52876_) voidJukeboxBlock.setPlacedBy(Level p_54264_, BlockPos p_54265_, BlockState p_54266_, LivingEntity p_54267_, ItemStack p_54268_) voidPitcherCropBlock.setPlacedBy(Level p_277432_, BlockPos p_277632_, BlockState p_277479_, LivingEntity p_277805_, ItemStack p_277663_) voidSmallDripleafBlock.setPlacedBy(Level p_154599_, BlockPos p_154600_, BlockState p_154601_, LivingEntity p_154602_, ItemStack p_154603_) voidStructureBlock.setPlacedBy(Level p_57122_, BlockPos p_57123_, BlockState p_57124_, LivingEntity p_57125_, ItemStack p_57126_) voidTripWireHookBlock.setPlacedBy(Level p_57680_, BlockPos p_57681_, BlockState p_57682_, LivingEntity p_57683_, ItemStack p_57684_) voidWitherSkullBlock.setPlacedBy(Level p_58260_, BlockPos p_58261_, BlockState p_58262_, LivingEntity p_58263_, ItemStack p_58264_) voidWitherWallSkullBlock.setPlacedBy(Level p_58278_, BlockPos p_58279_, BlockState p_58280_, LivingEntity p_58281_, ItemStack p_58282_) -
Uses of LivingEntity in net.minecraft.world.level.block.entity
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 LivingEntityConduitBlockEntity.findDestroyTarget(Level p_155425_, BlockPos p_155426_, UUID p_155427_) Methods in net.minecraft.world.level.block.entity with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidStructureBlockEntity.createdBy(LivingEntity p_59852_) private static voidBellBlockEntity.glow(LivingEntity p_58841_) private static booleanBellBlockEntity.isRaiderWithinRange(BlockPos p_155197_, LivingEntity p_155198_) private voidSculkCatalystBlockEntity.CatalystListener.tryAwardItSpreadsAdvancement(Level p_281279_, LivingEntity p_281378_) Method parameters in net.minecraft.world.level.block.entity with type arguments of type LivingEntityModifier and TypeMethodDescriptionprivate static booleanBellBlockEntity.areRaidersNearby(BlockPos p_155200_, List<LivingEntity> p_155201_) private static voidBellBlockEntity.makeRaidersGlow(Level p_155187_, BlockPos p_155188_, List<LivingEntity> p_155189_) voidBellBlockEntity.ResonationEndAction.run(Level p_155221_, BlockPos p_155222_, List<LivingEntity> p_155223_) private static voidBellBlockEntity.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 TypeMethodDescriptionvoidPistonBaseBlock.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 type parameters of type LivingEntityModifier and TypeMethodDescriptionstatic <T extends LivingEntity>
voidClientHooks.copyModelProperties(HumanoidModel<T> original, HumanoidModel<?> replacement) Copies humanoid model properties from the original model to another, used for armor modelsMethods in net.neoforged.neoforge.client with parameters of type LivingEntityModifier and TypeMethodDescriptionvoidIArmPoseTransformer.applyTransform(HumanoidModel<?> model, LivingEntity entity, HumanoidArm arm) This method should be used to apply all wanted transformations to the player when the ArmPose is active.static ModelClientHooks.getArmorModel(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlot slot, HumanoidModel<?> _default) -
Uses of LivingEntity in net.neoforged.neoforge.client.event
Classes in net.neoforged.neoforge.client.event with type parameters of type LivingEntityModifier and TypeClassDescriptionclassRenderLivingEvent<T extends LivingEntity,M extends EntityModel<T>> Fired when aLivingEntityis rendered.static classRenderLivingEvent.Post<T extends LivingEntity,M extends EntityModel<T>> Fired after an entity is rendered, if the correspondingRenderLivingEvent.Postis not cancelled.static classRenderLivingEvent.Pre<T extends LivingEntity,M extends EntityModel<T>> Fired before an entity is rendered.Fields in net.neoforged.neoforge.client.event declared as LivingEntityMethods in net.neoforged.neoforge.client.event that return LivingEntityConstructors in net.neoforged.neoforge.client.event with parameters of type LivingEntityModifierConstructorDescriptionPost(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) Pre(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) protectedRenderLivingEvent(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) -
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.ArmPoseIClientItemExtensions.getArmPose(LivingEntity entityLiving, InteractionHand hand, ItemStack itemStack) This method returns an ArmPose that can be defined using theHumanoidModel.ArmPose.create(String, boolean, IArmPoseTransformer)method.default ModelIClientItemExtensions.getGenericArmorModel(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the armor model for this item when it's equipped.default HumanoidModel<?> IClientItemExtensions.getHumanoidArmorModel(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the humanoid armor model for this item when it's equipped. -
Uses of LivingEntity in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type LivingEntityModifier and TypeMethodDescriptionDynamicFluidContainerModel.ContainedFluidOverrideHandler.resolve(BakedModel originalModel, ItemStack stack, @Nullable ClientLevel level, @Nullable LivingEntity entity, int seed) -
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_ATTRIBUTESMethods 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 booleanCommonHooks.canEntityDestroy(Level level, BlockPos pos, LivingEntity entity) static booleanCommonHooks.canMobEffectBeApplied(LivingEntity entity, MobEffectInstance effect) Checks if a mob effect can be applied to an entity by firingMobEffectEvent.Applicable.static doubleCommonHooks.getEntityVisibilityMultiplier(LivingEntity entity, Entity lookingEntity, double originalMultiplier) static intCommonHooks.getLootingLevel(LivingEntity target, @Nullable DamageSource cause, int level) static ItemStackCommonHooks.getProjectile(LivingEntity entity, ItemStack projectileWeaponItem, ItemStack projectile) Hook to fireLivingGetProjectileEvent.CommonHooks.isLivingOnLadder(BlockState state, Level level, BlockPos pos, LivingEntity entity) static booleanCommonHooks.onLivingAttack(LivingEntity entity, DamageSource src, float amount) static voidCommonHooks.onLivingBreathe(LivingEntity entity, int consumeAirAmount, int refillAirAmount) Handles living entities being underwater.static LivingChangeTargetEventCommonHooks.onLivingChangeTarget(LivingEntity entity, LivingEntity originalTarget, LivingChangeTargetEvent.ILivingTargetType targetType) static floatCommonHooks.onLivingDamage(LivingEntity entity, DamageSource src, float amount) static booleanCommonHooks.onLivingDeath(LivingEntity entity, DamageSource src) static booleanCommonHooks.onLivingDrops(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) static @org.jetbrains.annotations.Nullable float[]CommonHooks.onLivingFall(LivingEntity entity, float distance, float damageMultiplier) static floatCommonHooks.onLivingHurt(LivingEntity entity, DamageSource src, float amount) static voidCommonHooks.onLivingJump(LivingEntity entity) static LivingKnockBackEventCommonHooks.onLivingKnockBack(LivingEntity target, float strength, double ratioX, double ratioZ) static LivingSwapItemsEvent.HandsCommonHooks.onLivingSwapHandItems(LivingEntity livingEntity) static booleanCommonHooks.onLivingUseTotem(LivingEntity entity, DamageSource damageSource, ItemStack totem, InteractionHand hand) static booleanCommonHooks.onPlayerAttack(LivingEntity entity, DamageSource src, float amount) static ShieldBlockEventCommonHooks.onShieldBlock(LivingEntity blocker, DamageSource source, float blocked) -
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, Runnable 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 booleanIBlockExtension.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 booleanIBlockStateExtension.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 booleanIItemExtension.canDisableShield(ItemStack stack, ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault booleanIItemStackExtension.canDisableShield(ItemStack shield, LivingEntity entity, LivingEntity attacker) Can this Item disable a shielddefault booleanIItemExtension.canElytraFly(ItemStack stack, LivingEntity entity) Used to determine if the player can use Elytra flight.default booleanIItemStackExtension.canElytraFly(LivingEntity entity) Used to determine if the player can use Elytra flight.default booleanIItemExtension.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 booleanIItemStackExtension.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 booleanIItemExtension.elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default booleanIItemStackExtension.elytraFlightTick(LivingEntity entity, int flightTicks) Used to determine if the player can continue Elytra flight, this is called each tick, and can be used to apply ItemStack damage, consume Energy, or what have you.default @Nullable FoodPropertiesIItemExtension.getFoodProperties(ItemStack stack, @Nullable LivingEntity entity) Get the food properties for this item.default @Nullable FoodPropertiesIItemStackExtension.getFoodProperties(@Nullable LivingEntity entity) Get the food properties for this item.default booleanIBlockExtension.isBed(BlockState state, BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlockchecks.default booleanIBlockStateExtension.isBed(BlockGetter level, BlockPos pos, LivingEntity sleeper) Determines if this block is classified as a bed, replacinginstanceof BedBlockchecks.default booleanIBlockExtension.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 booleanIBlockStateExtension.isLadder(LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity can use this block to 'climb' like a ladder.default booleanIBlockExtension.isScaffolding(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default booleanIBlockStateExtension.isScaffolding(LivingEntity entity) Checks if a player or entity handles movement on this block like scaffolding.default booleanIItemExtension.makesPiglinsNeutral(ItemStack stack, LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default booleanIItemStackExtension.makesPiglinsNeutral(LivingEntity wearer) Called by Piglins to check if a given item prevents hostility on sight.default booleanIFluidExtension.move(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default booleanIFluidStateExtension.move(LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid.default voidIBlockExtension.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 voidIBlockStateExtension.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 booleanIItemExtension.onEntitySwing(ItemStack stack, LivingEntity entity) Called when a entity tries to play the 'swing' animation.default booleanIItemStackExtension.onEntitySwing(LivingEntity entity) Called when a entity tries to play the 'swing' animation.default voidIItemExtension.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 voidIItemStackExtension.onStopUsing(LivingEntity entity, int count) Called when an entity stops using an item item for any reason.default voidIBlockExtension.setBedOccupied(BlockState state, Level level, BlockPos pos, LivingEntity sleeper, boolean occupied) Called when a user either starts or stops sleeping in the bed.default voidIBlockStateExtension.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 TypeClassDescriptionclassA 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 booleanEventHooks.canEntityContinueSleeping(LivingEntity sleeper, @Nullable Player.BedSleepingProblem problem) Checks if a sleeping entity can continue sleeping with the given sleeping problem.static booleanEventHooks.canLivingConvert(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) static intEventHooks.getExperienceDrop(LivingEntity entity, Player attackingPlayer, int originalExperience) EventHooks.onChorusFruitTeleport(LivingEntity entity, double targetX, double targetY, double targetZ) static booleanEventHooks.onEffectRemoved(LivingEntity entity, Holder<MobEffect> effect, @Nullable EffectCure cure) static booleanEventHooks.onEffectRemoved(LivingEntity entity, MobEffectInstance effectInstance, @Nullable EffectCure cure) EventHooks.onEnderTeleport(LivingEntity entity, double targetX, double targetY, double targetZ) static booleanEventHooks.onEntityDestroyBlock(LivingEntity entity, BlockPos pos, BlockState state) static ItemStackEventHooks.onItemUseFinish(LivingEntity entity, ItemStack item, int duration, ItemStack result) static intEventHooks.onItemUseStart(LivingEntity entity, ItemStack item, int duration) static intEventHooks.onItemUseTick(LivingEntity entity, ItemStack item, int duration) static voidEventHooks.onLivingConvert(LivingEntity entity, LivingEntity outcome) static floatEventHooks.onLivingHeal(LivingEntity entity, float amount) static booleanEventHooks.onUseItemStop(LivingEntity entity, ItemStack item, int duration) Method parameters in net.neoforged.neoforge.event with type arguments of type LivingEntityModifier and TypeMethodDescriptionstatic booleanEventHooks.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 LivingEntityEntityTeleportEvent.ChorusFruit.entityLivingprivate final LivingEntityEntityTeleportEvent.EnderEntity.entityLivingFields in net.neoforged.neoforge.event.entity with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final Map<EntityType<? extends LivingEntity>, AttributeSupplier.Builder> EntityAttributeModificationEvent.entityAttributesprivate final List<EntityType<? extends LivingEntity>> EntityAttributeModificationEvent.entityTypesprivate final Map<EntityType<? extends LivingEntity>, AttributeSupplier> EntityAttributeCreationEvent.mapMethods in net.neoforged.neoforge.event.entity that return LivingEntityModifier and TypeMethodDescriptionEntityTeleportEvent.ChorusFruit.getEntityLiving()EntityTeleportEvent.EnderEntity.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 TypeMethodDescriptionvoidEntityAttributeModificationEvent.add(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) voidEntityAttributeModificationEvent.add(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute, double value) booleanEntityAttributeModificationEvent.has(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) voidEntityAttributeCreationEvent.put(EntityType<? extends LivingEntity> entity, AttributeSupplier map) Constructors in net.neoforged.neoforge.event.entity with parameters of type LivingEntityModifierConstructorDescriptionChorusFruit(LivingEntity entity, double targetX, double targetY, double targetZ) EnderEntity(LivingEntity entity, 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 LivingEntityLivingEvent.livingEntityprivate LivingEntityLivingChangeTargetEvent.newTargetprivate final LivingEntityLivingChangeTargetEvent.originalTargetprivate final LivingEntityLivingConversionEvent.Post.outcomeFields in net.neoforged.neoforge.event.entity.living with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate final EntityType<? extends LivingEntity> LivingConversionEvent.Pre.outcomeMethods in net.neoforged.neoforge.event.entity.living that return LivingEntityModifier and TypeMethodDescriptionLivingEvent.getEntity()LivingChangeTargetEvent.getNewTarget()Returns the new target of this entity..LivingChangeTargetEvent.getOriginalTarget()Returns the original entity MC intended to use as a target before firing this event..LivingConversionEvent.Post.getOutcome()Gets the finalized new entity (with all data like potion effect and equipments set)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 TypeMethodDescriptionvoidLivingChangeTargetEvent.setNewTarget(LivingEntity newTarget) 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) EffectParticleModificationEvent(LivingEntity entity, MobEffectInstance effect) Expired(LivingEntity living, MobEffectInstance effectInstance) Finish(LivingEntity entity, ItemStack item, int duration, ItemStack result) Hands(LivingEntity entity) LivingAttackEvent(LivingEntity entity, DamageSource source, float amount) LivingBreatheEvent(LivingEntity entity, boolean canBreathe, int consumeAirAmount, int refillAirAmount) LivingChangeTargetEvent(LivingEntity entity, LivingEntity originalTarget, LivingChangeTargetEvent.ILivingTargetType targetType) LivingConversionEvent(LivingEntity entity) LivingDamageEvent(LivingEntity entity, DamageSource source, float amount) LivingDeathEvent(LivingEntity entity, DamageSource source) LivingDestroyBlockEvent(LivingEntity entity, BlockPos pos, BlockState state) LivingDropsEvent(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) LivingDrownEvent(LivingEntity entity) Constructor which auto-populates with all vanilla values.LivingDrownEvent(LivingEntity entity, boolean isDrowning, float damageAmount, int bubbleCount) Constructs a new LivingDrownEvent.privateLivingEntityUseItemEvent(LivingEntity entity, ItemStack item, 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, float distance, float damageMultiplier) LivingGetProjectileEvent(LivingEntity livingEntity, ItemStack projectileWeaponItemStack, ItemStack ammo) LivingHealEvent(LivingEntity entity, float amount) LivingHurtEvent(LivingEntity entity, DamageSource source, float amount) LivingKnockBackEvent(LivingEntity target, float strength, double ratioX, double ratioZ) LivingSwapItemsEvent(LivingEntity entity) LivingUseTotemEvent(LivingEntity entity, DamageSource source, ItemStack totem, InteractionHand hand) LivingVisibilityEvent(LivingEntity livingEntity, @Nullable Entity lookingEntity, double originalMultiplier) LootingLevelEvent(LivingEntity entity, @Nullable DamageSource damageSource, int lootingLevel) protectedMobEffectEvent(LivingEntity living, MobEffectInstance effectInstance) Post(LivingEntity entity, LivingEntity outcome) Pre(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) Remove(LivingEntity living, Holder<MobEffect> effect, @Nullable EffectCure cure) Remove(LivingEntity living, MobEffectInstance effectInstance, @Nullable EffectCure cure) ShieldBlockEvent(LivingEntity blocker, DamageSource source, float blocked) Start(LivingEntity entity, ItemStack item, 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 TypeMethodDescriptionbooleanFluidType.canDrownIn(LivingEntity entity) Returns whether the entity can drown in the fluid.booleanFluidType.move(FluidState state, LivingEntity entity, Vec3 movementVector, double gravity) Performs how an entity moves when within the fluid. -
Uses of LivingEntity in net.neoforged.neoforge.items.wrapper
Fields in net.neoforged.neoforge.items.wrapper declared as LivingEntityModifier and TypeFieldDescriptionprotected final LivingEntityEntityEquipmentInvWrapper.entityThe entity.Constructors in net.neoforged.neoforge.items.wrapper with parameters of type LivingEntityModifierConstructorDescriptionEntityArmorInvWrapper(LivingEntity entity) EntityEquipmentInvWrapper(LivingEntity entity, EquipmentSlot.Type slotType) EntityHandsInvWrapper(LivingEntity entity) -
Uses of LivingEntity in net.neoforged.neoforge.oldtest.block
Methods in net.neoforged.neoforge.oldtest.block with parameters of type LivingEntityModifier and TypeMethodDescriptionbooleanScaffoldingTest.ScaffoldingMethodTestBlock.isScaffolding(BlockState state, LevelReader level, BlockPos pos, LivingEntity entity) -
Uses of LivingEntity in net.neoforged.neoforge.oldtest.client
Fields in net.neoforged.neoforge.oldtest.client with type parameters of type LivingEntityModifier and TypeFieldDescriptionprivate static final Lazy<HumanoidModel<LivingEntity>> CustomArmorModelTest.TintedArmorModel.ENDERMAN -
Uses of LivingEntity in net.neoforged.neoforge.oldtest.client.rendering
Subclasses of LivingEntity in net.neoforged.neoforge.oldtest.client.renderingConstructor parameters in net.neoforged.neoforge.oldtest.client.rendering with type arguments of type LivingEntityModifierConstructorDescriptionprotectedMyEntity(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) -
Uses of LivingEntity in net.neoforged.neoforge.oldtest.entity
Subclasses of LivingEntity in net.neoforged.neoforge.oldtest.entity -
Uses of LivingEntity in net.neoforged.neoforge.oldtest.item
Methods in net.neoforged.neoforge.oldtest.item with parameters of type LivingEntityModifier and TypeMethodDescriptionbooleanCustomElytraTest.CustomElytra.canElytraFly(ItemStack stack, LivingEntity entity) booleanCustomElytraTest.CustomElytra.elytraFlightTick(ItemStack stack, LivingEntity entity, int flightTicks) static voidStopUsingItemTest.InvertedTelescope.removeFov(LivingEntity living) -
Uses of LivingEntity in net.neoforged.testframework.gametest
Subclasses of LivingEntity in net.neoforged.testframework.gametestMethods in net.neoforged.testframework.gametest with type parameters of type LivingEntityModifier and TypeMethodDescription<E extends LivingEntity>
voidExtendedGameTestHelper.assertMobEffectAbsent(E entity, Holder<MobEffect> effect, String testName) <E extends LivingEntity>
voidExtendedGameTestHelper.assertMobEffectPresent(E entity, Holder<MobEffect> effect, String testName)