net.minecraft.world.entity.animal

public class Fox

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

ays
net.minecraft.world.entity.animal.Fox
net.minecraft.class_4019
net.minecraft.entity.passive.FoxEntity
net.minecraft.entity.passive.FoxEntity
net.minecraft.server.v1_16_R1.EntityFox

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bv
DATA_TYPE_ID
field_17949
TYPE
field_213523_bz
private static final EntityDataAccessor<Byte>
bw
DATA_FLAGS_ID
field_17950
FOX_FLAGS
field_213524_bA
private static final EntityDataAccessor<Optional<UUID>>
bx
DATA_TRUSTED_ID_0
field_17951
OWNER
field_213509_bB
FIRST_TRUSTED_PLAYER
private static final EntityDataAccessor<Optional<UUID>>
by
DATA_TRUSTED_ID_1
field_17952
OTHER_TRUSTED
field_213510_bD
SECOND_TRUSTED_PLAYER
private static final Predicate<ItemEntity>
bz
ALLOWED_ITEMS
field_17953
PICKABLE_DROP_FILTER
field_213511_bE
private static final Predicate<Entity>
bA
TRUSTED_TARGET_SELECTOR
field_17954
JUST_ATTACKED_SOMETHING_FILTER
field_213512_bF
private static final Predicate<Entity>
bB
STALKABLE_PREY
field_17955
CHICKEN_AND_RABBIT_FILTER
field_213513_bG
private static final Predicate<Entity>
bC
AVOID_PLAYERS
field_17956
NOTICEABLE_PLAYER_FILTER
field_213514_bH
private Goal
bD
landTargetGoal
field_17957
followChickenAndRabbitGoal
field_213515_bI
private Goal
bE
turtleEggTargetGoal
field_17958
followBabyTurtleGoal
field_213516_bJ
private Goal
bF
fishTargetGoal
field_17959
followFishGoal
field_213517_bK
private float
bG
interestedAngle
field_17960
headRollProgress
field_213518_bL
private float
bH
interestedAngleO
field_17961
lastHeadRollProgress
field_213519_bM
private float
bI
crouchAmount
field_17962
extraRollingHeight
field_213520_bN
private float
bJ
crouchAmountO
field_17963
lastExtraRollingHeight
field_213521_bO
private int
bK
ticksSinceEaten
field_17964
eatingTime
field_213522_bP

Constructor summary

ModifierConstructor
public (EntityType<? extends Fox> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public SoundEvent
d(bki arg0)
getEatingSound(ItemStack arg0)
method_18869(class_1799 arg0)
getEatSound(ItemStack arg0)
func_213353_d(ItemStack arg0)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected boolean
dH()
isImmobile()
method_6062()
isImmobile()
func_70610_aX()
isFrozen()
private boolean
l(bki arg0)
canEat(ItemStack arg0)
method_18430(class_1799 arg0)
canEat(ItemStack stack)
func_213464_j(ItemStack arg0)
protected void
a(ane arg0)
populateDefaultEquipmentSlots(DifficultyInstance arg0)
method_5964(class_1266 arg0)
initEquipment(LocalDifficulty arg0)
func_180481_a(DifficultyInstance arg0)
public static AttributeSupplier$Builder
eL()
createAttributes()
method_26885()
createFoxAttributes()
func_234192_eI_()
public Fox
b(aok arg0)
getBreedOffspring(AgableMob arg0)
method_18260(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public SpawnGroupData
a(bqc arg0, ane arg1, apb arg2, apo arg3, le arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private void
fa()
setTargetGoals()
method_18280()
addTypeSpecificGoals()
func_213501_ej()
initializePathFinderGoals()
protected void
a(bec arg0, bki arg1)
usePlayerItem(Player arg0, ItemStack arg1)
method_6475(class_1657 arg0, class_1799 arg1)
eat(PlayerEntity arg0, ItemStack arg1)
func_175505_a(PlayerEntity arg0, ItemStack arg1)
protected float
b(apj arg0, aon arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public Fox$Type
eM()
getFoxType()
method_18271()
getFoxType()
func_213471_dV()
getFoxType()
private void
a(ays$v arg0)
setFoxType(Fox$Type arg0)
method_18255(class_4019$class_4039 arg0)
setType(FoxEntity$Type type)
func_213474_a(FoxEntity$Type arg0)
setFoxType(EntityFox$Type arg0)
private List<UUID>
fb()
getTrustedUUIDs()
method_18281()
getTrustedUuids()
func_213479_ek()
private void
b(UUID arg0)
addTrustedUUID(UUID arg0)
method_18266(UUID arg0)
addTrustedUuid(UUID uuid)
func_213465_b(UUID arg0)
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
eN()
isSitting()
method_18272()
isSitting()
func_213455_dW()
isSitting()
public void
t(boolean arg0)
setSitting(boolean arg0)
method_18294(boolean arg0)
setSitting(boolean sitting)
func_213466_r(boolean arg0)
setSitting(boolean arg0)
public boolean
eO()
isFaceplanted()
method_18273()
isWalking()
func_213472_dX()
private void
x(boolean arg0)
setFaceplanted(boolean arg0)
method_18295(boolean arg0)
setWalking(boolean walking)
func_213492_v(boolean arg0)
private boolean
fc()
isDefending()
method_18282()
isAggressive()
func_213473_el()
private void
y(boolean arg0)
setDefending(boolean arg0)
method_18301(boolean arg0)
setAggressive(boolean aggressive)
func_213482_w(boolean arg0)
public boolean
el()
isSleeping()
method_6113()
isSleeping()
func_70608_bn()
isSleeping()
private void
z(boolean arg0)
setSleeping(boolean arg0)
method_18302(boolean arg0)
setSleeping(boolean sleeping)
func_213485_x(boolean arg0)
setSleeping(boolean arg0)
private void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_18269(int arg0, boolean arg1)
setFoxFlag(int mask, boolean value)
func_213505_d(int arg0, boolean arg1)
private boolean
t(int arg0)
getFlag(int arg0)
method_18293(int arg0)
getFoxFlag(int bitmask)
func_213507_r(int arg0)
public boolean
e(bki arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canPickUp(ItemStack arg0)
func_213365_e(ItemStack arg0)
public boolean
h(bki arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
canPickupItem(ItemStack arg0)
func_175448_a(ItemStack arg0)
canPickup(ItemStack arg0)
private void
m(bki arg0)
spitOutItem(ItemStack arg0)
method_18289(class_1799 arg0)
spit(ItemStack stack)
func_213495_k(ItemStack arg0)
private void
n(bki arg0)
dropItemStack(ItemStack arg0)
method_18291(class_1799 arg0)
dropItem(ItemStack stack)
func_213486_l(ItemStack arg0)
protected void
b(bbg arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
k(bki arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected void
a(bec arg0, aoz arg1)
onOffspringSpawnedFromEgg(Player arg0, Mob arg1)
method_18249(class_1657 arg0, class_1308 arg1)
onPlayerSpawnedChild(PlayerEntity arg0, MobEntity arg1)
func_213406_a(PlayerEntity arg0, MobEntity arg1)
public boolean
eP()
isPouncing()
method_18274()
isChasing()
func_213480_dY()
public void
u(boolean arg0)
setIsPouncing(boolean arg0)
method_18296(boolean arg0)
setChasing(boolean chasing)
func_213461_s(boolean arg0)
public boolean
eW()
isFullyCrouched()
method_18275()
isFullyCrouched()
func_213490_ee()
public void
v(boolean arg0)
setIsCrouching(boolean arg0)
method_18297(boolean arg0)
setCrouching(boolean crouching)
func_213451_t(boolean arg0)
setCrouching(boolean arg0)
public boolean
bv()
isCrouching()
method_18276()
isInSneakingPose()
func_213453_ef()
isCrouching()
public void
w(boolean arg0)
setIsInterested(boolean arg0)
method_18299(boolean arg0)
setRollingHead(boolean rollingHead)
func_213502_u(boolean arg0)
public boolean
eX()
isInterested()
method_18277()
isRollingHead()
func_213467_eg()
public void
i(aoy arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
func_70624_b(LivingEntity arg0)
setGoalTarget(EntityLiving arg0)
protected int
e(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
computeFallDamage(float arg0, float arg1)
func_225508_e_(float arg0, float arg1)
private void
fd()
wakeUp()
method_18283()
stopSleeping()
func_213454_em()
private void
fe()
clearStates()
method_18284()
stopActions()
func_213499_en()
private boolean
ff()
canMove()
method_18285()
wantsToPickupItem()
func_213478_eo()
public void
F()
playAmbientSound()
method_5966()
playAmbientSound()
func_70642_aH()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
private boolean
c(UUID arg0)
trusts(UUID arg0)
method_18428(UUID arg0)
canTrust(UUID uuid)
func_213468_c(UUID arg0)
protected void
d(anw arg0)
dropAllDeathLoot(DamageSource arg0)
method_16080(class_1282 arg0)
drop(DamageSource arg0)
func_213345_d(DamageSource arg0)
public static boolean
a(ays arg0, aoy arg1)
isPathClear(Fox arg0, LivingEntity arg1)
method_18257(class_4019 arg0, class_1309 arg1)
canJumpChase(FoxEntity fox, LivingEntity chasedEntity)
func_213481_a(FoxEntity arg0, LivingEntity arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public float
u(float arg0)
getHeadRollAngle(float arg0)
method_18298(float arg0)
getHeadRoll(float tickDelta)
func_213475_v(float arg0)
public float
v(float arg0)
getCrouchAmount(float arg0)
method_18300(float arg0)
getBodyRotationHeightOffset(float tickDelta)
func_213503_w(float arg0)
public Vec3
ce()
getLeashOffset()
method_29919()
method_29919()
func_241205_ce_()