net.minecraft.world.entity.animal

public class Fox

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

bah
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_R3.EntityFox

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bo
DATA_TYPE_ID
field_17949
TYPE
field_213523_bz
private static final EntityDataAccessor<Byte>
bp
DATA_FLAGS_ID
field_17950
FOX_FLAGS
field_213524_bA
private static final EntityDataAccessor<Optional<UUID>>
bq
DATA_TRUSTED_ID_0
field_17951
OWNER
field_213509_bB
FIRST_TRUSTED_PLAYER
private static final EntityDataAccessor<Optional<UUID>>
br
DATA_TRUSTED_ID_1
field_17952
OTHER_TRUSTED
field_213510_bD
SECOND_TRUSTED_PLAYER
private static final Predicate<ItemEntity>
bs
ALLOWED_ITEMS
field_17953
PICKABLE_DROP_FILTER
field_213511_bE
private static final Predicate<Entity>
bt
TRUSTED_TARGET_SELECTOR
field_17954
JUST_ATTACKED_SOMETHING_FILTER
field_213512_bF
private static final Predicate<Entity>
bu
STALKABLE_PREY
field_17955
CHICKEN_AND_RABBIT_FILTER
field_213513_bG
private static final Predicate<Entity>
bv
AVOID_PLAYERS
field_17956
NOTICEABLE_PLAYER_FILTER
field_213514_bH
private Goal
bw
landTargetGoal
field_17957
followChickenAndRabbitGoal
field_213515_bI
private Goal
bx
turtleEggTargetGoal
field_17958
followBabyTurtleGoal
field_213516_bJ
private Goal
by
fishTargetGoal
field_17959
followFishGoal
field_213517_bK
private float
bz
interestedAngle
field_17960
headRollProgress
field_213518_bL
private float
bA
interestedAngleO
field_17961
lastHeadRollProgress
field_213519_bM
private float
bB
crouchAmount
field_17962
extraRollingHeight
field_213520_bN
private float
bC
crouchAmountO
field_17963
lastExtraRollingHeight
field_213521_bO
private int
bD
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(bmb 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
dI()
isImmobile()
method_6062()
isImmobile()
func_70610_aX()
isFrozen()
private boolean
l(bmb arg0)
canEat(ItemStack arg0)
method_18430(class_1799 arg0)
canEat(ItemStack stack)
func_213464_j(ItemStack arg0)
protected void
a(aos arg0)
populateDefaultEquipmentSlots(DifficultyInstance arg0)
method_5964(class_1266 arg0)
initEquipment(LocalDifficulty arg0)
func_180481_a(DifficultyInstance arg0)
public static AttributeSupplier$Builder
eK()
createAttributes()
method_26885()
createFoxAttributes()
func_234192_eI_()
public Fox
b(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_18260(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc arg3, md arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private void
eZ()
setTargetGoals()
method_18280()
addTypeSpecificGoals()
func_213501_ej()
initializePathFinderGoals()
protected void
a(bfw arg0, bmb 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(aqx arg0, aqb 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
eL()
getFoxType()
method_18271()
getFoxType()
func_213471_dV()
getFoxType()
private void
a(bah$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>
fa()
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(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
eM()
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
eN()
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
fb()
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
em()
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(bmb arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
func_213365_e(ItemStack arg0)
public boolean
h(bmb arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
canPickupItem(ItemStack arg0)
func_175448_a(ItemStack arg0)
canPickup(ItemStack arg0)
private void
m(bmb arg0)
spitOutItem(ItemStack arg0)
method_18289(class_1799 arg0)
spit(ItemStack stack)
func_213495_k(ItemStack arg0)
private void
n(bmb arg0)
dropItemStack(ItemStack arg0)
method_18291(class_1799 arg0)
dropItem(ItemStack stack)
func_213486_l(ItemStack arg0)
protected void
b(bcv 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(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected void
a(bfw arg0, aqn 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
eO()
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
eV()
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
bz()
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
eW()
isInterested()
method_18277()
isRollingHead()
func_213467_eg()
public void
h(aqm 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
fc()
wakeUp()
method_18283()
stopSleeping()
func_213454_em()
private void
fd()
clearStates()
method_18284()
stopActions()
func_213499_en()
private boolean
fe()
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(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
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(apk arg0)
dropAllDeathLoot(DamageSource arg0)
method_16080(class_1282 arg0)
drop(DamageSource arg0)
func_213345_d(DamageSource arg0)
public static boolean
a(bah arg0, aqm 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
y(float arg0)
getHeadRollAngle(float arg0)
method_18298(float arg0)
getHeadRoll(float tickDelta)
func_213475_v(float arg0)
public float
z(float arg0)
getCrouchAmount(float arg0)
method_18300(float arg0)
getBodyRotationHeightOffset(float tickDelta)
func_213503_w(float arg0)
public Vec3
cf()
getLeashOffset()
method_29919()
method_29919()
func_241205_ce_()