net.minecraft.world.entity.animal

public class Fox

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

ath
net.minecraft.world.entity.animal.Fox
net.minecraft.class_4019
net.minecraft.entity.passive.FoxEntity
net.minecraft.entity.passive.FoxEntity
net.minecraft.server.v1_15_R1.EntityFox

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public SoundEvent
d(bek 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
do()
isImmobile()
method_6062()
isImmobile()
func_70610_aX()
isFrozen()
private boolean
j(bek arg0)
canEat(ItemStack arg0)
method_18430(class_1799 arg0)
canEat(ItemStack stack)
func_213464_j(ItemStack arg0)
protected void
a(ajg arg0)
populateDefaultEquipmentSlots(DifficultyInstance arg0)
method_5964(class_1266 arg0)
initEquipment(LocalDifficulty arg0)
func_180481_a(DifficultyInstance arg0)
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public Fox
b(akl arg0)
getBreedOffspring(AgableMob arg0)
method_18260(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public SpawnGroupData
a(bju arg0, ajg arg1, akz arg2, alj arg3, jt 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(IWorld arg0, LocalDifficulty arg1, SpawnType 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
eD()
setTargetGoals()
method_18280()
addTypeSpecificGoals()
func_213501_ej()
initializePathFinderGoals()
protected void
a(ayg arg0, bek 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(alg arg0, ako 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
eq()
getFoxType()
method_18271()
getFoxType()
func_213471_dV()
getFoxType()
private void
a(ath$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>
eE()
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(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
er()
isSitting()
method_18272()
isSitting()
func_213455_dW()
isSitting()
public void
r(boolean arg0)
setSitting(boolean arg0)
method_18294(boolean arg0)
setSitting(boolean sitting)
func_213466_r(boolean arg0)
setSitting(boolean arg0)
public boolean
es()
isFaceplanted()
method_18273()
isWalking()
func_213472_dX()
private void
v(boolean arg0)
setFaceplanted(boolean arg0)
method_18295(boolean arg0)
setWalking(boolean walking)
func_213492_v(boolean arg0)
private boolean
eF()
isDefending()
method_18282()
isAggressive()
func_213473_el()
private void
w(boolean arg0)
setDefending(boolean arg0)
method_18301(boolean arg0)
setAggressive(boolean aggressive)
func_213482_w(boolean arg0)
public boolean
dQ()
isSleeping()
method_6113()
isSleeping()
func_70608_bn()
isSleeping()
private void
x(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(bek arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canPickUp(ItemStack arg0)
func_213365_e(ItemStack arg0)
protected boolean
g(bek arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
canPickupItem(ItemStack arg0)
func_175448_a(ItemStack arg0)
private void
k(bek arg0)
spitOutItem(ItemStack arg0)
method_18289(class_1799 arg0)
spit(ItemStack arg0)
func_213495_k(ItemStack arg0)
private void
l(bek arg0)
dropItemStack(ItemStack arg0)
method_18291(class_1799 arg0)
dropItem(ItemStack arg0)
func_213486_l(ItemStack arg0)
protected void
a(avy arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
i(bek arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected void
a(ayg arg0, akl arg1)
onOffspringSpawnedFromEgg(Player arg0, AgableMob arg1)
method_18249(class_1657 arg0, class_1296 arg1)
onPlayerSpawnedChild(PlayerEntity arg0, PassiveEntity arg1)
func_213406_a(PlayerEntity arg0, AgeableEntity arg1)
public boolean
et()
isPouncing()
method_18274()
isChasing()
func_213480_dY()
public void
s(boolean arg0)
setIsPouncing(boolean arg0)
method_18296(boolean arg0)
setChasing(boolean arg0)
func_213461_s(boolean arg0)
public boolean
ez()
isFullyCrouched()
method_18275()
isFullyCrouched()
func_213490_ee()
public void
t(boolean arg0)
setIsCrouching(boolean arg0)
method_18297(boolean arg0)
setCrouching(boolean arg0)
func_213451_t(boolean arg0)
setCrouching(boolean arg0)
public boolean
bo()
isCrouching()
method_18276()
isInSneakingPose()
func_213453_ef()
isCrouching()
public void
u(boolean arg0)
setIsInterested(boolean arg0)
method_18299(boolean arg0)
setRollingHead(boolean arg0)
func_213502_u(boolean arg0)
public boolean
eA()
isInterested()
method_18277()
isRollingHead()
func_213467_eg()
public void
h(akw 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)
func_225508_e_(float arg0, float arg1)
private void
eG()
wakeUp()
method_18283()
wakeUp()
func_213454_em()
private void
eH()
clearStates()
method_18284()
stopActions()
func_213499_en()
private boolean
eI()
canMove()
method_18285()
wantsToPickupItem()
func_213478_eo()
public void
B()
playAmbientSound()
method_5966()
playAmbientSound()
func_70642_aH()
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(ajw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
private boolean
c(UUID arg0)
trusts(UUID arg0)
method_18428(UUID arg0)
canTrust(UUID arg0)
func_213468_c(UUID arg0)
protected void
d(ajw arg0)
dropAllDeathLoot(DamageSource arg0)
method_16080(class_1282 arg0)
drop(DamageSource arg0)
func_213345_d(DamageSource arg0)
public static boolean
a(ath arg0, akw arg1)
isPathClear(Fox arg0, LivingEntity arg1)
method_18257(class_4019 arg0, class_1309 arg1)
canJumpChase(FoxEntity arg0, LivingEntity arg1)
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
v(float arg0)
getHeadRollAngle(float arg0)
method_18298(float arg0)
getHeadRoll(float arg0)
func_213475_v(float arg0)
public float
w(float arg0)
getCrouchAmount(float arg0)
method_18300(float arg0)
getBodyRotationHeightOffset(float arg0)
func_213503_w(float arg0)