public class FoxEntity extends AnimalEntity
Modifier and Type | Class and Description |
---|---|
class |
FoxEntity.AlertablePredicate |
(package private) class |
FoxEntity.BaseGoal |
(package private) class |
FoxEntity.BiteGoal |
class |
FoxEntity.EatBerriesGoal |
(package private) class |
FoxEntity.FindItemsGoal |
(package private) class |
FoxEntity.FindShelterGoal |
(package private) class |
FoxEntity.FollowGoal |
(package private) class |
FoxEntity.FollowTargetGoal |
static class |
FoxEntity.FoxData |
(package private) class |
FoxEntity.JumpGoal |
class |
FoxEntity.LookHelperController |
(package private) class |
FoxEntity.MateGoal |
(package private) class |
FoxEntity.MoveHelperController |
(package private) class |
FoxEntity.PanicGoal |
class |
FoxEntity.PounceGoal |
(package private) class |
FoxEntity.RevengeGoal |
(package private) class |
FoxEntity.SitAndLookGoal |
(package private) class |
FoxEntity.SleepGoal |
(package private) class |
FoxEntity.StrollGoal |
(package private) class |
FoxEntity.SwimGoal |
static class |
FoxEntity.Type |
(package private) class |
FoxEntity.WatchGoal |
AgeableEntity.AgeableData
Entity.IMoveCallback
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<ItemEntity> |
ALLOWED_ITEMS |
private static java.util.function.Predicate<Entity> |
AVOID_PLAYERS |
private float |
crouchAmount |
private float |
crouchAmountO |
private static DataParameter<java.lang.Byte> |
DATA_FLAGS_ID |
private static DataParameter<java.util.Optional<java.util.UUID>> |
DATA_TRUSTED_ID_0 |
private static DataParameter<java.util.Optional<java.util.UUID>> |
DATA_TRUSTED_ID_1 |
private static DataParameter<java.lang.Integer> |
DATA_TYPE_ID |
private Goal |
fishTargetGoal |
private float |
interestedAngle |
private float |
interestedAngleO |
private Goal |
landTargetGoal |
private static java.util.function.Predicate<Entity> |
STALKABLE_PREY |
private int |
ticksSinceEaten |
private static java.util.function.Predicate<Entity> |
TRUSTED_TARGET_SELECTOR |
private Goal |
turtleEggTargetGoal |
age, forcedAge, forcedAgeTimer
ambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpReward
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
NULL
Constructor and Description |
---|
FoxEntity(EntityType<? extends FoxEntity> p_i50271_1_,
World p_i50271_2_) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(CompoundNBT p_213281_1_) |
private void |
addTrustedUUID(java.util.UUID p_213465_1_) |
void |
aiStep() |
protected int |
calculateFallDamage(float p_225508_1_,
float p_225508_2_) |
private boolean |
canEat(ItemStack p_213464_1_) |
boolean |
canHoldItem(ItemStack p_175448_1_) |
private boolean |
canMove() |
boolean |
canTakeItem(ItemStack p_213365_1_) |
private void |
clearStates() |
static AttributeModifierMap.MutableAttribute |
createAttributes() |
protected void |
defineSynchedData() |
protected void |
dropAllDeathLoot(DamageSource p_213345_1_) |
private void |
dropItemStack(ItemStack p_213486_1_) |
ILivingEntityData |
finalizeSpawn(IServerWorld p_213386_1_,
DifficultyInstance p_213386_2_,
SpawnReason p_213386_3_,
ILivingEntityData p_213386_4_,
CompoundNBT p_213386_5_) |
protected SoundEvent |
getAmbientSound() |
FoxEntity |
getBreedOffspring(ServerWorld p_241840_1_,
AgeableEntity p_241840_2_) |
float |
getCrouchAmount(float p_213503_1_) |
protected SoundEvent |
getDeathSound() |
SoundEvent |
getEatingSound(ItemStack p_213353_1_) |
private boolean |
getFlag(int p_213507_1_) |
FoxEntity.Type |
getFoxType() |
float |
getHeadRollAngle(float p_213475_1_) |
protected SoundEvent |
getHurtSound(DamageSource p_184601_1_) |
Vector3d |
getLeashOffset() |
protected float |
getStandingEyeHeight(Pose p_213348_1_,
EntitySize p_213348_2_) |
private java.util.List<java.util.UUID> |
getTrustedUUIDs() |
void |
handleEntityEvent(byte p_70103_1_) |
boolean |
isCrouching() |
private boolean |
isDefending() |
boolean |
isFaceplanted() |
boolean |
isFood(ItemStack p_70877_1_) |
boolean |
isFullyCrouched() |
protected boolean |
isImmobile() |
boolean |
isInterested() |
static boolean |
isPathClear(FoxEntity p_213481_0_,
LivingEntity p_213481_1_) |
boolean |
isPouncing() |
boolean |
isSitting() |
boolean |
isSleeping() |
protected void |
onOffspringSpawnedFromEgg(PlayerEntity p_213406_1_,
MobEntity p_213406_2_) |
protected void |
pickUpItem(ItemEntity p_175445_1_) |
void |
playAmbientSound() |
protected void |
populateDefaultEquipmentSlots(DifficultyInstance p_180481_1_) |
void |
readAdditionalSaveData(CompoundNBT p_70037_1_) |
protected void |
registerGoals() |
private void |
setDefending(boolean p_213482_1_) |
private void |
setFaceplanted(boolean p_213492_1_) |
private void |
setFlag(int p_213505_1_,
boolean p_213505_2_) |
private void |
setFoxType(FoxEntity.Type p_213474_1_) |
void |
setIsCrouching(boolean p_213451_1_) |
void |
setIsInterested(boolean p_213502_1_) |
void |
setIsPouncing(boolean p_213461_1_) |
void |
setSitting(boolean p_213466_1_) |
private void |
setSleeping(boolean p_213485_1_) |
void |
setTarget(LivingEntity p_70624_1_) |
private void |
setTargetGoals() |
private void |
spitOutItem(ItemStack p_213495_1_) |
void |
tick() |
private boolean |
trusts(java.util.UUID p_213468_1_) |
protected void |
usePlayerItem(PlayerEntity p_175505_1_,
ItemStack p_175505_2_) |
private void |
wakeUp() |
canFallInLove, canMate, checkAnimalSpawnRules, customServerAiStep, getAmbientSoundInterval, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, hurt, isInLove, mobInteract, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding
ageBoundaryReached, ageUp, ageUp, canBreed, getAge, isBaby, onSyncedDataUpdated, setAge, setBaby
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, onLeashDistance, tickLeash
ate, baseTick, canAttack, canAttackType, canBeControlledByRider, canBeLeashed, canCutCorner, canFireProjectileWeapon, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, convertTo, createBodyControl, createLootContext, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getEquipmentSlotForItem, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getRestrictCenter, getRestrictRadius, getSensing, getTarget, hasRestriction, interact, isAggressive, isControlledByLocalInstance, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isValidSlotForItem, isWithinRestriction, isWithinRestriction, jumpInLiquid, lookAt, playHurtSound, populateDefaultEquipmentEnchantments, removeAfterChangingDimensions, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSlot, setSpeed, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUp
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doPush, dropEquipment, dropExperience, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEffect, getEyeHeight, getFallDamageSound, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travel, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, makeStuckInBlock, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
getCapability
private static final DataParameter<java.lang.Integer> DATA_TYPE_ID
private static final DataParameter<java.lang.Byte> DATA_FLAGS_ID
private static final DataParameter<java.util.Optional<java.util.UUID>> DATA_TRUSTED_ID_0
private static final DataParameter<java.util.Optional<java.util.UUID>> DATA_TRUSTED_ID_1
private static final java.util.function.Predicate<ItemEntity> ALLOWED_ITEMS
private static final java.util.function.Predicate<Entity> TRUSTED_TARGET_SELECTOR
private static final java.util.function.Predicate<Entity> STALKABLE_PREY
private static final java.util.function.Predicate<Entity> AVOID_PLAYERS
private Goal landTargetGoal
private Goal turtleEggTargetGoal
private Goal fishTargetGoal
private float interestedAngle
private float interestedAngleO
private float crouchAmount
private float crouchAmountO
private int ticksSinceEaten
public FoxEntity(EntityType<? extends FoxEntity> p_i50271_1_, World p_i50271_2_)
protected void defineSynchedData()
defineSynchedData
in class AgeableEntity
protected void registerGoals()
registerGoals
in class MobEntity
public SoundEvent getEatingSound(ItemStack p_213353_1_)
getEatingSound
in class LivingEntity
public void aiStep()
aiStep
in class AnimalEntity
protected boolean isImmobile()
isImmobile
in class LivingEntity
private boolean canEat(ItemStack p_213464_1_)
protected void populateDefaultEquipmentSlots(DifficultyInstance p_180481_1_)
populateDefaultEquipmentSlots
in class MobEntity
public void handleEntityEvent(byte p_70103_1_)
handleEntityEvent
in class AnimalEntity
public static AttributeModifierMap.MutableAttribute createAttributes()
public FoxEntity getBreedOffspring(ServerWorld p_241840_1_, AgeableEntity p_241840_2_)
getBreedOffspring
in class AgeableEntity
@Nullable public ILivingEntityData finalizeSpawn(IServerWorld p_213386_1_, DifficultyInstance p_213386_2_, SpawnReason p_213386_3_, @Nullable ILivingEntityData p_213386_4_, @Nullable CompoundNBT p_213386_5_)
finalizeSpawn
in class AgeableEntity
private void setTargetGoals()
protected void usePlayerItem(PlayerEntity p_175505_1_, ItemStack p_175505_2_)
usePlayerItem
in class AnimalEntity
protected float getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
getStandingEyeHeight
in class LivingEntity
public FoxEntity.Type getFoxType()
private void setFoxType(FoxEntity.Type p_213474_1_)
private java.util.List<java.util.UUID> getTrustedUUIDs()
private void addTrustedUUID(@Nullable java.util.UUID p_213465_1_)
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
addAdditionalSaveData
in class AnimalEntity
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
readAdditionalSaveData
in class AnimalEntity
public boolean isSitting()
public void setSitting(boolean p_213466_1_)
public boolean isFaceplanted()
private void setFaceplanted(boolean p_213492_1_)
private boolean isDefending()
private void setDefending(boolean p_213482_1_)
public boolean isSleeping()
isSleeping
in class LivingEntity
private void setSleeping(boolean p_213485_1_)
private void setFlag(int p_213505_1_, boolean p_213505_2_)
private boolean getFlag(int p_213507_1_)
public boolean canTakeItem(ItemStack p_213365_1_)
canTakeItem
in class MobEntity
public boolean canHoldItem(ItemStack p_175448_1_)
canHoldItem
in class MobEntity
private void spitOutItem(ItemStack p_213495_1_)
private void dropItemStack(ItemStack p_213486_1_)
protected void pickUpItem(ItemEntity p_175445_1_)
pickUpItem
in class MobEntity
public boolean isFood(ItemStack p_70877_1_)
isFood
in class AnimalEntity
protected void onOffspringSpawnedFromEgg(PlayerEntity p_213406_1_, MobEntity p_213406_2_)
onOffspringSpawnedFromEgg
in class MobEntity
public boolean isPouncing()
public void setIsPouncing(boolean p_213461_1_)
public boolean isFullyCrouched()
public void setIsCrouching(boolean p_213451_1_)
public boolean isCrouching()
isCrouching
in class Entity
public void setIsInterested(boolean p_213502_1_)
public boolean isInterested()
public float getHeadRollAngle(float p_213475_1_)
public float getCrouchAmount(float p_213503_1_)
public void setTarget(@Nullable LivingEntity p_70624_1_)
protected int calculateFallDamage(float p_225508_1_, float p_225508_2_)
calculateFallDamage
in class LivingEntity
private void wakeUp()
private void clearStates()
private boolean canMove()
public void playAmbientSound()
playAmbientSound
in class MobEntity
@Nullable protected SoundEvent getAmbientSound()
getAmbientSound
in class MobEntity
@Nullable protected SoundEvent getHurtSound(DamageSource p_184601_1_)
getHurtSound
in class LivingEntity
@Nullable protected SoundEvent getDeathSound()
getDeathSound
in class LivingEntity
private boolean trusts(java.util.UUID p_213468_1_)
protected void dropAllDeathLoot(DamageSource p_213345_1_)
dropAllDeathLoot
in class LivingEntity
public static boolean isPathClear(FoxEntity p_213481_0_, LivingEntity p_213481_1_)
public Vector3d getLeashOffset()
getLeashOffset
in class Entity