Package net.minecraft.world.entity
Class LivingEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
- All Implemented Interfaces:
- CommandSource,- Attackable,- EntityAccess,- Nameable,- ScoreHolder,- IAttachmentHolder,- IEntityExtension,- ILivingEntityExtension,- INBTSerializable<CompoundTag>
- Direct Known Subclasses:
- ArmorStand,- EntityRendererEventsTest.MyEntity,- Mob,- Player
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.world.entity.EntityEntity.MoveFunction, Entity.MovementEmission, Entity.RemovalReasonNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolderAttachmentHolder.AsField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate floatprivate final Map<MobEffect,MobEffectInstance> protected floatprotected floatstatic final intstatic final intfloatprotected intprivate final AttributeMapprotected intprivate static final floatprotected Brain<?>private final CombatTrackerprivate static final intprivate static final EntityDataAccessor<Integer>private static final EntityDataAccessor<Boolean>private static final EntityDataAccessor<Integer>private static final EntityDataAccessor<Float>protected static final EntityDataAccessor<Byte>private static final EntityDataAccessor<Integer>protected booleanstatic final intprotected intintstatic final doubleprotected static final floatprivate booleanprivate booleanstatic final intstatic final floatprotected intprivate static final intstatic final intintintfinal intprotected booleanprivate final NonNullList<ItemStack>private DamageSourceprivate longprivate final NonNullList<ItemStack>protected floatprivate LivingEntityprivate intprotected Playerprotected intprivate LivingEntityprivate intprivate BlockPosprotected intprotected intprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected static final intprotected static final intprotected static final intprivate static final org.slf4j.Loggerprivate static final doublestatic final doubleprotected intprivate intfloatprotected floatstatic final intintintfinal floatprotected floatprotected floatprivate booleanprotected static final EntityDimensionsprivate static final EntityDataAccessor<Optional<BlockPos>>private static final AttributeModifierprivate static final UUIDprivate floatprivate static final UUIDprivate static final UUIDprivate static final AttributeModifierprivate floatprivate floatstatic final intbooleanintprivate static final Stringprivate static final intfinal floatstatic final intprotected ItemStackprotected intprivate static final intfinal WalkAnimationStatefloatfloatfloatfloatfloatfloatfloatFields inherited from class net.minecraft.world.entity.EntityBASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolderATTACHMENTS_NBT_KEYFields inherited from interface net.minecraft.commands.CommandSourceNULLFields inherited from interface net.minecraft.world.scores.ScoreHolderWILDCARD, WILDCARD_NAME
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedLivingEntity(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidactuallyHurt(DamageSource p_21240_, float p_21241_) voidaddAdditionalSaveData(CompoundTag p_21145_) private voidaddEatEffect(ItemStack p_21064_, Level p_21065_, LivingEntity p_21066_) final booleanaddEffect(MobEffectInstance p_21165_) booleanaddEffect(MobEffectInstance p_147208_, Entity p_147209_) voidaiStep()voidanimateHurt(float p_265265_) static booleanareAllEffectsAmbient(Collection<MobEffectInstance> p_21180_) booleanvoidbaseTick()protected voidblockedByShield(LivingEntity p_21246_) protected voidblockUsingShield(LivingEntity p_21200_) protected Brain.Provider<?>private voidvoidbroadcastBreakEvent(EquipmentSlot p_21167_) voidbroadcastBreakEvent(InteractionHand p_21191_) voidcalculateEntityAnimation(boolean p_268129_) protected intcalculateFallDamage(float p_21237_, float p_21238_) booleancanAttack(LivingEntity p_21171_) booleancanAttack(LivingEntity p_21041_, TargetingConditions p_21042_) booleancanAttackType(EntityType<?> p_21032_) booleancanBeAffected(MobEffectInstance p_21197_) booleanbooleanfinal booleanDeprecated.booleanbooleanbooleanbooleanbooleancanStandOnFluid(FluidState p_204042_) booleancanTakeItem(ItemStack p_21249_) booleancauseFallDamage(float p_147187_, float p_147188_, DamageSource p_147189_) protected voidcheckAutoSpinAttack(AABB p_21072_, AABB p_21073_) private booleanprotected voidcheckFallDamage(double p_20990_, boolean p_20991_, BlockState p_20992_, BlockPos p_20993_) private booleancheckTotemDeathProtection(DamageSource p_21263_) voidprivate Map<EquipmentSlot,ItemStack> protected voidprivate static SlotAccesscreateEquipmentSlotAccess(LivingEntity p_147196_, EquipmentSlot p_147197_) static AttributeSupplier.Builderprotected voidcreateWitherRose(LivingEntity p_21269_) protected intdecreaseAirSupply(int p_21303_) protected voidprivate voidvoiddie(DamageSource p_21014_) private voiddismountVehicle(Entity p_21029_) protected voiddoAutoAttackOnTouch(LivingEntity p_21277_) protected booleandoesEmitEquipEvent(EquipmentSlot p_217035_) booleandoHurtTarget(Entity p_20970_) protected voidprotected voiddropAllDeathLoot(DamageSource p_21192_) protected voiddropCustomDeathLoot(DamageSource p_21018_, int p_21019_, boolean p_21020_) protected voidprotected voidprotected voiddropFromLootTable(DamageSource p_21021_, boolean p_21022_) private static byteentityEventForEquipmentBreak(EquipmentSlot p_21267_) booleanequipmentHasChanged(ItemStack p_252265_, ItemStack p_251043_) voidforceAddEffect(MobEffectInstance p_147216_, Entity p_147217_) floatfloatintfinal intfloatgetAttackAnim(float p_21325_) getAttribute(Attribute p_21052_) doublegetAttributeBaseValue(Holder<Attribute> p_248605_) doublegetAttributeBaseValue(Attribute p_21173_) doublegetAttributeValue(Holder<Attribute> p_251296_) doublegetAttributeValue(Attribute p_21134_) protected floatBrain<?>getBrain()private intprotected floatgetDamageAfterArmorAbsorb(DamageSource p_21162_, float p_21163_) protected floatgetDamageAfterMagicAbsorb(DamageSource p_21193_, float p_21194_) protected SoundEventgetDimensions(Pose p_21047_) com.google.common.collect.ImmutableList<Pose>protected SoundEventgetDrinkingSound(ItemStack p_21174_) getEatingSound(ItemStack p_21202_) private static EquipmentSlotgetEquipmentSlot(int p_147212_) static EquipmentSlotgetEquipmentSlotForItem(ItemStack p_147234_) intprotected final floatgetEyeHeight(Pose p_21049_, EntityDimensions p_21050_) private SoundEventgetFallDamageSound(int p_21313_) intgetFluidFallingAdjustedMovement(double p_20995_, boolean p_20996_, Vec3 p_20997_) protected floatprivate floatgetFrictionInfluencedSpeed(float p_21331_) floatprotected AABBfloatprotected SoundEventgetHurtSound(DamageSource p_21239_) abstract ItemStackgetItemBySlot(EquipmentSlot p_21127_) getItemInHand(InteractionHand p_21121_) floatprotected floatprivate ItemStackgetLastArmorItem(EquipmentSlot p_21199_) private ItemStackgetLastHandItem(EquipmentSlot p_21245_) intintgetLocalBoundsForPose(Pose p_21271_) longabstract HumanoidArmfinal floatprotected floatfinal floatfloatgetMyRidingOffset(Entity p_296379_) intgetPassengerRidingPosition(Entity p_295664_) getProjectile(ItemStack p_21272_) protected Vec3getRelativePortalPosition(Direction.Axis p_21085_, BlockUtil.FoundRectangle p_21086_) protected Vec3getRiddenInput(Player p_278326_, Vec3 p_275300_) protected floatgetRiddenSpeed(Player p_278286_) floatgetScale()getSlot(int p_147238_) protected floatfloatgetSpeed()protected floatgetStandingEyeHeight(Pose p_21131_, EntityDimensions p_21132_) final intfloatgetSwimAmount(float p_20999_) intintfloatgetViewYRot(float p_21286_) doublegetVisibilityPercent(Entity p_20969_) floatfloatprotected floatfloatprotected voidDeprecated.voidhandleDamageEvent(DamageSource p_270229_) voidhandleEntityEvent(byte p_20975_) private voidhandleEquipmentChanges(Map<EquipmentSlot, ItemStack> p_21143_) private voidhandleHandSwap(Map<EquipmentSlot, ItemStack> p_21092_) private Vec3handleOnClimbable(Vec3 p_21298_) handleRelativeFrictionAndCalculateMovement(Vec3 p_21075_, float p_21076_) booleanbooleanhasItemInSlot(EquipmentSlot p_21034_) booleanhasLineOfSight(Entity p_147185_) voidheal(float p_21116_) booleanhurt(DamageSource p_21016_, float p_21017_) protected voidhurtArmor(DamageSource p_21122_, float p_21123_) protected voidhurtCurrentlyUsedShield(float p_21316_) protected voidhurtHelmet(DamageSource p_147213_, float p_147214_) protected intincreaseAirSupply(int p_21307_) voidindicateDamage(double p_270514_, double p_270826_) protected voidinternalSetAbsorptionAmount(float p_295258_) protected booleanbooleanbooleanisAlive()protected booleanbooleanbooleanisBaby()booleanbooleanbooleanisDamageSourceBlocked(DamageSource p_21276_) booleanbooleanbooleanbooleanprotected booleanbooleanbooleanisInWall()booleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidprotected voidjumpInLiquid(TagKey<Fluid> p_204043_) Deprecated.voidkill()voidknockback(double p_147241_, double p_147242_, double p_147243_) protected voidlerpHeadRotationStep(int p_296134_, double p_296397_) voidlerpHeadTo(float p_21005_, int p_21006_) doublefloatdoublefloatdoublevoidlerpTo(double p_20977_, double p_20978_, double p_20979_, float p_20980_, float p_20981_, int p_20982_) voidlookAt(EntityAnchorArgument.Anchor p_21078_, Vec3 p_21079_) protected Brain<?>makeBrain(com.mojang.serialization.Dynamic<?> p_21069_) private voidfloatDeprecated.private voidonAttributeUpdated(Attribute p_294149_) protected voidprotected voidonChangedBlock(BlockPos p_21175_) booleanprotected voidonEffectAdded(MobEffectInstance p_147190_, Entity p_147191_) protected voidonEffectRemoved(MobEffectInstance p_21126_) protected voidonEffectUpdated(MobEffectInstance p_147192_, boolean p_147193_, Entity p_147194_) voidvoidonEquipItem(EquipmentSlot p_238393_, ItemStack p_238394_, ItemStack p_238395_) voidonItemPickup(ItemEntity p_21054_) voidprotected booleanvoidonSyncedDataUpdated(EntityDataAccessor<?> p_21104_) protected voidprotected voidplayHurtSound(DamageSource p_21160_) voidprotected voidbooleanrandomTeleport(double p_20985_, double p_20986_, double p_20987_, boolean p_20988_) voidreadAdditionalSaveData(CompoundTag p_21096_) voidrecreateFromPacket(ClientboundAddEntityPacket p_217037_) private voidvoidvoidremove(Entity.RemovalReason p_276115_) booleanbooleanremoveEffect(MobEffect p_21196_) removeEffectNoUpdate(MobEffect p_21164_) protected voidbooleanRemoves all potion effects that have the givenEffectCurein their set of curesprotected voidprotected voidstatic Vec3voidrideTick()voidsendEffectToPassengers(MobEffectInstance p_289695_) protected voidfinal voidsetAbsorptionAmount(float p_21328_) final voidsetArrowCount(int p_21318_) voidsetDiscardFriction(boolean p_147245_) voidsetHealth(float p_21154_) voidsetItemInHand(InteractionHand p_21009_, ItemStack p_21010_) abstract voidsetItemSlot(EquipmentSlot p_21036_, ItemStack p_21037_) voidsetJumping(boolean p_21314_) private voidsetLastArmorItem(EquipmentSlot p_21129_, ItemStack p_21130_) private voidsetLastHandItem(EquipmentSlot p_21169_, ItemStack p_21170_) voidsetLastHurtByMob(LivingEntity p_21039_) voidsetLastHurtByPlayer(Player p_21248_) voidsetLastHurtMob(Entity p_21336_) protected voidsetLivingEntityFlag(int p_21156_, boolean p_21157_) voidsetNoActionTime(int p_21311_) private voidsetPosToBed(BlockPos p_21081_) voidsetRecordPlayingNearby(BlockPos p_21082_, boolean p_21083_) voidsetSleepingPos(BlockPos p_21251_) voidsetSpeed(float p_21320_) voidsetSprinting(boolean p_21284_) final voidsetStingerCount(int p_21322_) voidsetYBodyRot(float p_21309_) voidsetYHeadRot(float p_21306_) booleanbooleanprotected booleanprotected booleanshouldRemoveSoulSpeed(BlockState p_21140_) booleanshouldRiderFaceForward(Player player) Returns true if the entity's rider (EntityPlayer) should face forward when mounted.booleanprivate booleanvoidprivate voidspawnItemParticles(ItemStack p_21061_, int p_21062_) protected voidvoidstartSleeping(BlockPos p_21141_) voidstartUsingItem(InteractionHand p_21159_) voidvoidvoidprivate voidvoidswing(InteractionHand p_21007_) voidswing(InteractionHand p_21012_, boolean p_21013_) voidvoidtick()protected voidprotected voidprotected floattickHeadTurn(float p_21260_, float p_21261_) protected voidtickRidden(Player p_278262_, Vec3 p_275242_) private booleantrapdoorUsableAsLadder(BlockPos p_21177_, BlockState p_21178_) voidprivate voidtravelRidden(Player p_278244_, Vec3 p_278231_) protected voidtriggerItemUseEffects(ItemStack p_21138_, int p_21139_) protected voidprotected voidprotected voidprivate voidprivate voidprotected voidprivate voidprotected voidprotected voidupdateUsingItem(ItemStack p_147201_) protected voidupdateWalkAnimation(float p_268283_) private voidprotected voidverifyEquippedItem(ItemStack p_181123_) booleanprotected booleanwouldNotSuffocateAtTargetPose(Pose p_294977_) Methods inherited from class net.minecraft.world.entity.EntityabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkDespawn, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCapability, getCapability, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEffectiveAi, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setData, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateInWaterStateAndDoWaterCurrentPushing, updateSwimming, waterSwimSoundMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolderareAttachmentsCompatible, deserializeAttachments, getData, hasAttachments, hasData, removeData, serializeAttachmentsMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSourcealwaysAcceptsMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHoldergetData, hasData, removeData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IEntityExtensioncanBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, sendPairingData, serializeNBT, shouldRiderSitMethods inherited from interface net.neoforged.neoforge.common.extensions.ILivingEntityExtensioncanDrownInFluidType, canSwimInFluidType, jumpInFluid, moveInFluid, self, sinkInFluidMethods inherited from interface net.minecraft.world.scores.ScoreHoldergetFeedbackDisplayName
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
TAG_ACTIVE_EFFECTS- See Also:
 
- 
SPEED_MODIFIER_SOUL_SPEED_UUID
- 
SPEED_MODIFIER_POWDER_SNOW_UUID
- 
SLOW_FALLING_ID
- 
SPEED_MODIFIER_SPRINTING
- 
SLOW_FALLING
- 
HAND_SLOTSpublic static final int HAND_SLOTS- See Also:
 
- 
ARMOR_SLOTSpublic static final int ARMOR_SLOTS- See Also:
 
- 
EQUIPMENT_SLOT_OFFSETpublic static final int EQUIPMENT_SLOT_OFFSET- See Also:
 
- 
ARMOR_SLOT_OFFSETpublic static final int ARMOR_SLOT_OFFSET- See Also:
 
- 
SWING_DURATIONpublic static final int SWING_DURATION- See Also:
 
- 
PLAYER_HURT_EXPERIENCE_TIMEpublic static final int PLAYER_HURT_EXPERIENCE_TIME- See Also:
 
- 
DAMAGE_SOURCE_TIMEOUTprivate static final int DAMAGE_SOURCE_TIMEOUT- See Also:
 
- 
MIN_MOVEMENT_DISTANCEpublic static final double MIN_MOVEMENT_DISTANCE- See Also:
 
- 
DEFAULT_BASE_GRAVITYpublic static final double DEFAULT_BASE_GRAVITY- See Also:
 
- 
DEATH_DURATIONpublic static final int DEATH_DURATION- See Also:
 
- 
WAIT_TICKS_BEFORE_ITEM_USE_EFFECTSprivate static final int WAIT_TICKS_BEFORE_ITEM_USE_EFFECTS- See Also:
 
- 
TICKS_PER_ELYTRA_FREE_FALL_EVENTprivate static final int TICKS_PER_ELYTRA_FREE_FALL_EVENT- See Also:
 
- 
FREE_FALL_EVENTS_PER_ELYTRA_BREAKprivate static final int FREE_FALL_EVENTS_PER_ELYTRA_BREAK- See Also:
 
- 
USE_ITEM_INTERVALpublic static final int USE_ITEM_INTERVAL- See Also:
 
- 
BASE_JUMP_POWERprivate static final float BASE_JUMP_POWER- See Also:
 
- 
MAX_LINE_OF_SIGHT_TEST_RANGEprivate static final double MAX_LINE_OF_SIGHT_TEST_RANGE- See Also:
 
- 
LIVING_ENTITY_FLAG_IS_USINGprotected static final int LIVING_ENTITY_FLAG_IS_USING- See Also:
 
- 
LIVING_ENTITY_FLAG_OFF_HANDprotected static final int LIVING_ENTITY_FLAG_OFF_HAND- See Also:
 
- 
LIVING_ENTITY_FLAG_SPIN_ATTACKprotected static final int LIVING_ENTITY_FLAG_SPIN_ATTACK- See Also:
 
- 
DATA_LIVING_ENTITY_FLAGS
- 
DATA_HEALTH_ID
- 
DATA_EFFECT_COLOR_ID
- 
DATA_EFFECT_AMBIENCE_ID
- 
DATA_ARROW_COUNT_ID
- 
DATA_STINGER_COUNT_ID
- 
SLEEPING_POS_ID
- 
DEFAULT_EYE_HEIGHTprotected static final float DEFAULT_EYE_HEIGHT- See Also:
 
- 
SLEEPING_DIMENSIONS
- 
EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HATpublic static final float EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT- See Also:
 
- 
attributes
- 
combatTracker
- 
activeEffects
- 
lastHandItemStacks
- 
lastArmorItemStacks
- 
swingingpublic boolean swinging
- 
discardFrictionprivate boolean discardFriction
- 
swingingArm
- 
swingTimepublic int swingTime
- 
removeArrowTimepublic int removeArrowTime
- 
removeStingerTimepublic int removeStingerTime
- 
hurtTimepublic int hurtTime
- 
hurtDurationpublic int hurtDuration
- 
deathTimepublic int deathTime
- 
oAttackAnimpublic float oAttackAnim
- 
attackAnimpublic float attackAnim
- 
attackStrengthTickerprotected int attackStrengthTicker
- 
walkAnimation
- 
invulnerableDurationpublic final int invulnerableDuration- See Also:
 
- 
timeOffspublic final float timeOffs
- 
rotApublic final float rotA
- 
yBodyRotpublic float yBodyRot
- 
yBodyRotOpublic float yBodyRotO
- 
yHeadRotpublic float yHeadRot
- 
yHeadRotOpublic float yHeadRotO
- 
lastHurtByPlayer
- 
lastHurtByPlayerTimeprotected int lastHurtByPlayerTime
- 
deadprotected boolean dead
- 
noActionTimeprotected int noActionTime
- 
oRunprotected float oRun
- 
runprotected float run
- 
animStepprotected float animStep
- 
animStepOprotected float animStepO
- 
rotOffsprotected float rotOffs
- 
deathScoreprotected int deathScore
- 
lastHurtprotected float lastHurt
- 
jumpingprotected boolean jumping
- 
xxapublic float xxa
- 
yyapublic float yya
- 
zzapublic float zza
- 
lerpStepsprotected int lerpSteps
- 
lerpXprotected double lerpX
- 
lerpYprotected double lerpY
- 
lerpZprotected double lerpZ
- 
lerpYRotprotected double lerpYRot
- 
lerpXRotprotected double lerpXRot
- 
lerpYHeadRotprotected double lerpYHeadRot
- 
lerpHeadStepsprotected int lerpHeadSteps
- 
effectsDirtyprivate boolean effectsDirty
- 
lastHurtByMob
- 
lastHurtByMobTimestampprivate int lastHurtByMobTimestamp
- 
lastHurtMob
- 
lastHurtMobTimestampprivate int lastHurtMobTimestamp
- 
speedprivate float speed
- 
noJumpDelayprivate int noJumpDelay
- 
absorptionAmountprivate float absorptionAmount
- 
useItem
- 
useItemRemainingprotected int useItemRemaining
- 
fallFlyTicksprotected int fallFlyTicks
- 
lastPos
- 
lastClimbablePos
- 
lastDamageSource
- 
lastDamageStampprivate long lastDamageStamp
- 
autoSpinAttackTicksprotected int autoSpinAttackTicks
- 
swimAmountprivate float swimAmount
- 
swimAmountOprivate float swimAmountO
- 
brain
- 
skipDropExperienceprivate boolean skipDropExperience
 
- 
- 
Constructor Details- 
LivingEntity
 
- 
- 
Method Details- 
getBrain
- 
brainProvider
- 
makeBrain
- 
killpublic void kill()
- 
canAttackType
- 
defineSynchedDataprotected void defineSynchedData()- Specified by:
- defineSynchedDatain class- Entity
 
- 
createLivingAttributes
- 
checkFallDamageprotected void checkFallDamage(double p_20990_, boolean p_20991_, BlockState p_20992_, BlockPos p_20993_) - Overrides:
- checkFallDamagein class- Entity
 
- 
canBreatheUnderwaterDeprecated.
- 
getSwimAmountpublic float getSwimAmount(float p_20999_) 
- 
baseTickpublic void baseTick()
- 
canSpawnSoulSpeedParticlepublic boolean canSpawnSoulSpeedParticle()
- 
spawnSoulSpeedParticleprotected void spawnSoulSpeedParticle()
- 
onSoulSpeedBlockprotected boolean onSoulSpeedBlock()
- 
getBlockSpeedFactorprotected float getBlockSpeedFactor()- Overrides:
- getBlockSpeedFactorin class- Entity
 
- 
shouldRemoveSoulSpeed
- 
removeSoulSpeedprotected void removeSoulSpeed()
- 
tryAddSoulSpeedprotected void tryAddSoulSpeed()
- 
removeFrostprotected void removeFrost()
- 
tryAddFrostprotected void tryAddFrost()
- 
onChangedBlock
- 
isBabypublic boolean isBaby()
- 
getScalepublic float getScale()
- 
isAffectedByFluidsprotected boolean isAffectedByFluids()
- 
tickDeathprotected void tickDeath()
- 
shouldDropExperiencepublic boolean shouldDropExperience()
- 
shouldDropLootprotected boolean shouldDropLoot()
- 
decreaseAirSupplyprotected int decreaseAirSupply(int p_21303_) 
- 
increaseAirSupplyprotected int increaseAirSupply(int p_21307_) 
- 
getExperienceRewardpublic int getExperienceReward()
- 
isAlwaysExperienceDropperprotected boolean isAlwaysExperienceDropper()
- 
getRandom
- 
getLastHurtByMob
- 
getLastAttacker- Specified by:
- getLastAttackerin interface- Attackable
 
- 
getLastHurtByMobTimestamppublic int getLastHurtByMobTimestamp()
- 
setLastHurtByPlayer
- 
setLastHurtByMob
- 
getLastHurtMob
- 
getLastHurtMobTimestamppublic int getLastHurtMobTimestamp()
- 
setLastHurtMob
- 
getNoActionTimepublic int getNoActionTime()
- 
setNoActionTimepublic void setNoActionTime(int p_21311_) 
- 
shouldDiscardFrictionpublic boolean shouldDiscardFriction()
- 
setDiscardFrictionpublic void setDiscardFriction(boolean p_147245_) 
- 
doesEmitEquipEvent
- 
onEquipItem
- 
remove
- 
addAdditionalSaveData- Specified by:
- addAdditionalSaveDatain class- Entity
 
- 
readAdditionalSaveData- Specified by:
- readAdditionalSaveDatain class- Entity
 
- 
tickEffectsprotected void tickEffects()
- 
updateInvisibilityStatusprotected void updateInvisibilityStatus()
- 
updateGlowingStatusprivate void updateGlowingStatus()
- 
getVisibilityPercent
- 
canAttack
- 
canAttack
- 
canBeSeenAsEnemypublic boolean canBeSeenAsEnemy()
- 
canBeSeenByAnyonepublic boolean canBeSeenByAnyone()
- 
areAllEffectsAmbient
- 
removeEffectParticlesprotected void removeEffectParticles()
- 
removeAllEffectspublic boolean removeAllEffects()
- 
getActiveEffects
- 
getActiveEffectsMap
- 
hasEffect
- 
getEffect
- 
addEffect
- 
addEffect
- 
canBeAffected
- 
forceAddEffect
- 
isInvertedHealAndHarmpublic boolean isInvertedHealAndHarm()
- 
removeEffectNoUpdate
- 
removeEffect
- 
onEffectAdded
- 
sendEffectToPassengers
- 
onEffectUpdatedprotected void onEffectUpdated(MobEffectInstance p_147192_, boolean p_147193_, @Nullable Entity p_147194_) 
- 
onEffectRemoved
- 
refreshDirtyAttributesprivate void refreshDirtyAttributes()
- 
onAttributeUpdated
- 
healpublic void heal(float p_21116_) 
- 
getHealthpublic float getHealth()
- 
setHealthpublic void setHealth(float p_21154_) 
- 
isDeadOrDyingpublic boolean isDeadOrDying()
- 
hurt
- 
blockUsingShield
- 
blockedByShield
- 
checkTotemDeathProtection
- 
getLastDamageSource
- 
playHurtSound
- 
isDamageSourceBlocked
- 
breakItem
- 
die
- 
createWitherRose
- 
dropAllDeathLoot
- 
dropEquipmentprotected void dropEquipment()
- 
dropExperienceprotected void dropExperience()
- 
dropCustomDeathLoot
- 
getLootTable
- 
getLootTableSeedpublic long getLootTableSeed()
- 
dropFromLootTable
- 
knockbackpublic void knockback(double p_147241_, double p_147242_, double p_147243_) 
- 
indicateDamagepublic void indicateDamage(double p_270514_, double p_270826_) 
- 
getHurtSound
- 
getDeathSound
- 
getFallDamageSound
- 
skipDropExperiencepublic void skipDropExperience()
- 
wasExperienceConsumedpublic boolean wasExperienceConsumed()
- 
getHurtDirpublic float getHurtDir()
- 
getHitbox
- 
getFallSounds
- 
getDrinkingSound
- 
getEatingSound
- 
getLastClimbablePos
- 
onClimbablepublic boolean onClimbable()
- 
trapdoorUsableAsLadder
- 
isAlivepublic boolean isAlive()
- 
causeFallDamage- Overrides:
- causeFallDamagein class- Entity
 
- 
calculateFallDamageprotected int calculateFallDamage(float p_21237_, float p_21238_) 
- 
playBlockFallSoundprotected void playBlockFallSound()
- 
animateHurtpublic void animateHurt(float p_265265_) - Overrides:
- animateHurtin class- Entity
 
- 
getArmorValuepublic int getArmorValue()
- 
hurtArmor
- 
hurtHelmet
- 
hurtCurrentlyUsedShieldprotected void hurtCurrentlyUsedShield(float p_21316_) 
- 
getDamageAfterArmorAbsorb
- 
getDamageAfterMagicAbsorb
- 
actuallyHurt
- 
getCombatTracker
- 
getKillCredit
- 
getMaxHealthpublic final float getMaxHealth()
- 
getMaxAbsorptionpublic final float getMaxAbsorption()
- 
getArrowCountpublic final int getArrowCount()
- 
setArrowCountpublic final void setArrowCount(int p_21318_) 
- 
getStingerCountpublic final int getStingerCount()
- 
setStingerCountpublic final void setStingerCount(int p_21322_) 
- 
getCurrentSwingDurationprivate int getCurrentSwingDuration()
- 
swing
- 
swing
- 
handleDamageEvent- Overrides:
- handleDamageEventin class- Entity
 
- 
handleEntityEventpublic void handleEntityEvent(byte p_20975_) - Overrides:
- handleEntityEventin class- Entity
 
- 
makePoofParticlesprivate void makePoofParticles()
- 
swapHandItemsprivate void swapHandItems()
- 
onBelowWorldprotected void onBelowWorld()- Overrides:
- onBelowWorldin class- Entity
 
- 
updateSwingTimeprotected void updateSwingTime()
- 
getAttribute
- 
getAttributeValue
- 
getAttributeValue
- 
getAttributeBaseValue
- 
getAttributeBaseValue
- 
getAttributes
- 
getMobType
- 
getMainHandItem
- 
getOffhandItem
- 
isHolding
- 
isHolding
- 
getItemInHand
- 
setItemInHand
- 
hasItemInSlot
- 
getArmorSlots- Overrides:
- getArmorSlotsin class- Entity
 
- 
getItemBySlot
- 
setItemSlot- Overrides:
- setItemSlotin class- Entity
 
- 
verifyEquippedItem
- 
getArmorCoverPercentagepublic float getArmorCoverPercentage()
- 
setSprintingpublic void setSprinting(boolean p_21284_) - Overrides:
- setSprintingin class- Entity
 
- 
getSoundVolumeprotected float getSoundVolume()
- 
getVoicePitchpublic float getVoicePitch()
- 
isImmobileprotected boolean isImmobile()
- 
push
- 
dismountVehicle
- 
shouldShowNamepublic boolean shouldShowName()- Overrides:
- shouldShowNamein class- Entity
 
- 
getJumpPowerprotected float getJumpPower()
- 
getJumpBoostPowerpublic float getJumpBoostPower()
- 
jumpFromGroundprotected void jumpFromGround()
- 
goDownInWaterDeprecated.
- 
jumpInLiquidDeprecated.
- 
getWaterSlowDownprotected float getWaterSlowDown()
- 
canStandOnFluid
- 
travel
- 
travelRidden
- 
tickRidden
- 
getRiddenInput
- 
getRiddenSpeed
- 
calculateEntityAnimationpublic void calculateEntityAnimation(boolean p_268129_) 
- 
updateWalkAnimationprotected void updateWalkAnimation(float p_268283_) 
- 
handleRelativeFrictionAndCalculateMovement
- 
getFluidFallingAdjustedMovement
- 
handleOnClimbable
- 
getFrictionInfluencedSpeedprivate float getFrictionInfluencedSpeed(float p_21331_) 
- 
getFlyingSpeedprotected float getFlyingSpeed()
- 
getSpeedpublic float getSpeed()
- 
setSpeedpublic void setSpeed(float p_21320_) 
- 
doHurtTarget
- 
tickpublic void tick()
- 
detectEquipmentUpdatesprivate void detectEquipmentUpdates()
- 
collectEquipmentChanges
- 
equipmentHasChanged
- 
handleHandSwap
- 
handleEquipmentChanges
- 
getLastArmorItem
- 
setLastArmorItem
- 
getLastHandItem
- 
setLastHandItem
- 
tickHeadTurnprotected float tickHeadTurn(float p_21260_, float p_21261_) 
- 
getMaxHeadRotationRelativeToBodyprotected float getMaxHeadRotationRelativeToBody()
- 
aiSteppublic void aiStep()
- 
isSensitiveToWaterpublic boolean isSensitiveToWater()
- 
updateFallFlyingprivate void updateFallFlying()
- 
serverAiStepprotected void serverAiStep()
- 
pushEntitiesprotected void pushEntities()
- 
checkAutoSpinAttack
- 
doPush
- 
doAutoAttackOnTouch
- 
isAutoSpinAttackpublic boolean isAutoSpinAttack()
- 
stopRidingpublic void stopRiding()- Overrides:
- stopRidingin class- Entity
 
- 
rideTickpublic void rideTick()
- 
lerpTopublic void lerpTo(double p_20977_, double p_20978_, double p_20979_, float p_20980_, float p_20981_, int p_20982_) 
- 
lerpTargetXpublic double lerpTargetX()- Overrides:
- lerpTargetXin class- Entity
 
- 
lerpTargetYpublic double lerpTargetY()- Overrides:
- lerpTargetYin class- Entity
 
- 
lerpTargetZpublic double lerpTargetZ()- Overrides:
- lerpTargetZin class- Entity
 
- 
lerpTargetXRotpublic float lerpTargetXRot()- Overrides:
- lerpTargetXRotin class- Entity
 
- 
lerpTargetYRotpublic float lerpTargetYRot()- Overrides:
- lerpTargetYRotin class- Entity
 
- 
lerpHeadTopublic void lerpHeadTo(float p_21005_, int p_21006_) - Overrides:
- lerpHeadToin class- Entity
 
- 
setJumpingpublic void setJumping(boolean p_21314_) 
- 
onItemPickup
- 
take
- 
hasLineOfSight
- 
getViewYRotpublic float getViewYRot(float p_21286_) - Overrides:
- getViewYRotin class- Entity
 
- 
getAttackAnimpublic float getAttackAnim(float p_21325_) 
- 
isPickablepublic boolean isPickable()- Overrides:
- isPickablein class- Entity
 
- 
isPushablepublic boolean isPushable()- Overrides:
- isPushablein class- Entity
 
- 
getYHeadRotpublic float getYHeadRot()- Overrides:
- getYHeadRotin class- Entity
 
- 
setYHeadRotpublic void setYHeadRot(float p_21306_) - Overrides:
- setYHeadRotin class- Entity
 
- 
setYBodyRotpublic void setYBodyRot(float p_21309_) - Overrides:
- setYBodyRotin class- Entity
 
- 
getRelativePortalPositionprotected Vec3 getRelativePortalPosition(Direction.Axis p_21085_, BlockUtil.FoundRectangle p_21086_) - Overrides:
- getRelativePortalPositionin class- Entity
 
- 
resetForwardDirectionOfRelativePortalPosition
- 
getAbsorptionAmountpublic float getAbsorptionAmount()
- 
setAbsorptionAmountpublic final void setAbsorptionAmount(float p_21328_) 
- 
internalSetAbsorptionAmountprotected void internalSetAbsorptionAmount(float p_295258_) 
- 
onEnterCombatpublic void onEnterCombat()
- 
onLeaveCombatpublic void onLeaveCombat()
- 
updateEffectVisibilityprotected void updateEffectVisibility()
- 
getMainArm
- 
isUsingItempublic boolean isUsingItem()
- 
getUsedItemHand
- 
updatingUsingItemprivate void updatingUsingItem()
- 
updateUsingItem
- 
shouldTriggerItemUseEffectsprivate boolean shouldTriggerItemUseEffects()
- 
updateSwimAmountprivate void updateSwimAmount()
- 
setLivingEntityFlagprotected void setLivingEntityFlag(int p_21156_, boolean p_21157_) 
- 
startUsingItem
- 
onSyncedDataUpdated- Overrides:
- onSyncedDataUpdatedin class- Entity
 
- 
lookAt
- 
triggerItemUseEffects
- 
spawnItemParticles
- 
completeUsingItemprotected void completeUsingItem()
- 
getUseItem
- 
getUseItemRemainingTickspublic int getUseItemRemainingTicks()
- 
getTicksUsingItempublic int getTicksUsingItem()
- 
releaseUsingItempublic void releaseUsingItem()
- 
stopUsingItempublic void stopUsingItem()
- 
isBlockingpublic boolean isBlocking()
- 
isSuppressingSlidingDownLadderpublic boolean isSuppressingSlidingDownLadder()
- 
isFallFlyingpublic boolean isFallFlying()
- 
isVisuallySwimmingpublic boolean isVisuallySwimming()- Overrides:
- isVisuallySwimmingin class- Entity
 
- 
getFallFlyingTickspublic int getFallFlyingTicks()
- 
randomTeleportpublic boolean randomTeleport(double p_20985_, double p_20986_, double p_20987_, boolean p_20988_) 
- 
isAffectedByPotionspublic boolean isAffectedByPotions()
- 
attackablepublic boolean attackable()
- 
setRecordPlayingNearby
- 
canTakeItem
- 
getDimensions- Overrides:
- getDimensionsin class- Entity
 
- 
getDismountPoses
- 
getLocalBoundsForPose
- 
wouldNotSuffocateAtTargetPose
- 
canChangeDimensionspublic boolean canChangeDimensions()- Overrides:
- canChangeDimensionsin class- Entity
 
- 
getSleepingPos
- 
setSleepingPos
- 
clearSleepingPospublic void clearSleepingPos()
- 
isSleepingpublic boolean isSleeping()
- 
startSleeping
- 
setPosToBed
- 
checkBedExistsprivate boolean checkBedExists()
- 
stopSleepingpublic void stopSleeping()
- 
getBedOrientation
- 
isInWallpublic boolean isInWall()
- 
getEyeHeight- Overrides:
- getEyeHeightin class- Entity
 
- 
getStandingEyeHeight
- 
getProjectile
- 
eat
- 
addEatEffect
- 
entityEventForEquipmentBreak
- 
broadcastBreakEvent
- 
broadcastBreakEvent
- 
removeEffectsCuredByRemoves all potion effects that have the givenEffectCurein their set of cures- Parameters:
- cure- the EffectCure being used
 
- 
shouldRiderFaceForwardReturns true if the entity's rider (EntityPlayer) should face forward when mounted. currently only used in vanilla code by pigs.- Parameters:
- player- The player who is riding the entity.
- Returns:
- If the player should orient the same direction as this entity.
 
- 
getBoundingBoxForCulling- Overrides:
- getBoundingBoxForCullingin class- Entity
 
- 
getEquipmentSlotForItem
- 
createEquipmentSlotAccessprivate static SlotAccess createEquipmentSlotAccess(LivingEntity p_147196_, EquipmentSlot p_147197_) 
- 
getEquipmentSlot
- 
getSlot
- 
canFreezepublic boolean canFreeze()
- 
isCurrentlyGlowingpublic boolean isCurrentlyGlowing()- Overrides:
- isCurrentlyGlowingin class- Entity
 
- 
getVisualRotationYInDegreespublic float getVisualRotationYInDegrees()- Overrides:
- getVisualRotationYInDegreesin class- Entity
 
- 
recreateFromPacket- Overrides:
- recreateFromPacketin class- Entity
 
- 
canDisableShieldpublic boolean canDisableShield()
- 
maxUpStepDeprecated.UseIEntityExtension.getStepHeight()to get the real step height value.Gets the value of the legacymaxUpStep()field.
- 
getPassengerRidingPosition- Overrides:
- getPassengerRidingPositionin class- Entity
 
- 
getMyRidingOffset- Overrides:
- getMyRidingOffsetin class- Entity
 
- 
lerpHeadRotationStepprotected void lerpHeadRotationStep(int p_296134_, double p_296397_) 
 
- 
IEntityExtension.getStepHeight()to get the real step height value.