net.minecraft.world.entity.animal

public class Fox

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting

cjj
net.minecraft.world.entity.animal.Fox
net.minecraft.class_4019
net.minecraft.unmapped.C_axinhusn
net.minecraft.entity.passive.FoxEntity
net.minecraft.entity.passive.FoxEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bK
DATA_TYPE_ID
field_17949
f_hrbsnbst
VARIANT
TYPE
private static final EntityDataAccessor<Byte>
bL
DATA_FLAGS_ID
field_17950
f_zbozchcc
FOX_FLAGS
FOX_FLAGS
private static final int
bM
FLAG_SITTING
field_30331
f_ymqfryvu
SITTING_FLAG
SITTING_FLAG
public static final int
bG
FLAG_CROUCHING
field_30328
f_hqimehqj
CROUCHING_FLAG
CROUCHING_FLAG
public static final int
bH
FLAG_INTERESTED
field_30329
f_xuhsuger
ROLLING_HEAD_FLAG
ROLLING_HEAD_FLAG
public static final int
bI
FLAG_POUNCING
field_30330
f_pnamnksn
CHASING_FLAG
CHASING_FLAG
private static final int
bN
FLAG_SLEEPING
field_30332
f_asglsdnu
SLEEPING_FLAG
SLEEPING_FLAG
private static final int
bO
FLAG_FACEPLANTED
field_30333
f_lkqzfnlu
WALKING_FLAG
WALKING_FLAG
private static final int
bP
FLAG_DEFENDING
field_30334
f_geqalzye
AGGRESSIVE_FLAG
AGGRESSIVE_FLAG
private static final EntityDataAccessor<Optional<EntityReference<LivingEntity>>>
bQ
DATA_TRUSTED_ID_0
field_17951
f_wshlzrjm
OWNER
OWNER
private static final EntityDataAccessor<Optional<EntityReference<LivingEntity>>>
bR
DATA_TRUSTED_ID_1
field_17952
f_ycsmhxsv
OTHER_TRUSTED
OTHER_TRUSTED
static final Predicate<ItemEntity>
bS
ALLOWED_ITEMS
field_17953
f_codnhfpm
PICKABLE_DROP_FILTER
PICKABLE_DROP_FILTER
private static final Predicate<Entity>
bT
TRUSTED_TARGET_SELECTOR
field_17954
f_djegkpak
JUST_ATTACKED_SOMETHING_FILTER
JUST_ATTACKED_SOMETHING_FILTER
static final Predicate<Entity>
bU
STALKABLE_PREY
field_17955
f_dggtxvaq
CHICKEN_AND_RABBIT_FILTER
CHICKEN_AND_RABBIT_FILTER
private static final Predicate<Entity>
bV
AVOID_PLAYERS
field_17956
f_amqhoayi
NOTICEABLE_PLAYER_FILTER
NOTICEABLE_PLAYER_FILTER
private static final int
bW
MIN_TICKS_BEFORE_EAT
field_30335
f_ysgxoajz
EATING_DURATION
MIN_TICKS_BEFORE_EATING
private static final EntityDimensions
bX
BABY_DIMENSIONS
field_47772
f_gvpwdnqm
BABY_BASE_DIMENSIONS
BABY_DIMENSIONS
private Goal
bY
landTargetGoal
field_17957
f_vkugpcrl
followChickenAndRabbitGoal
followChickenAndRabbitGoal
private Goal
bZ
turtleEggTargetGoal
field_17958
f_bthcsxek
followBabyTurtleGoal
followBabyTurtleGoal
private Goal
ca
fishTargetGoal
field_17959
f_upcmpkhx
followFishGoal
followFishGoal
private float
cb
interestedAngle
field_17960
f_fgkoqkhm
headRollProgress
headRollProgress
private float
cc
interestedAngleO
field_17961
f_lmfkncww
lastHeadRollProgress
lastHeadRollProgress
float
cd
crouchAmount
field_17962
f_tajwrmin
extraRollingHeight
extraRollingHeight
float
ce
crouchAmountO
field_17963
f_zxjrhxjw
lastExtraRollingHeight
lastExtraRollingHeight
private int
cf
ticksSinceEaten
field_17964
f_nmhvuowd
eatingTime
eatingTime

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
a(akn$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
D()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
public void
k_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
protected boolean
fg()
isImmobile()
method_6062()
m_iauzolbu()
isImmobile()
isImmobile()
private boolean
j(czd arg0)
canEat(ItemStack arg0)
method_18430(class_1799 arg0)
m_zosfjimu(C_sddaxwyk arg0)
canEat(ItemStack stack)
canEat(ItemStack stack)
protected void
a(azv arg0, bub arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
m_bafwglvj(C_rlomrsco arg0, C_jiailwzt arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
initEquipment(RandomGenerator arg0, LocalDifficulty arg1)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
handleStatus(byte arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_26885()
m_jirgigzw()
createFoxAttributes()
createAttributes()
public Fox
b(arq arg0, bvv arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_18260(class_3218 arg0, class_1296 arg1)
m_utwwxouo(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld world, PassiveEntity arg1)
public static boolean
c(bwo<cjj> arg0, djb arg1, bwn arg2, iu arg3, azv arg4)
checkFoxSpawnRules(EntityType<Fox> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_39449(class_1299<class_4019> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_feziscvb(C_ogavsvbr<C_axinhusn> arg0, C_vdvbsyle arg1, C_bhyaesep arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<FoxEntity> entityType, WorldAccess world, SpawnReason reason, BlockPos pos, RandomGenerator random)
public SpawnGroupData
a(djr arg0, bub arg1, bwn arg2, bxw arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
private void
gD()
setTargetGoals()
method_18280()
m_ckfmrssi()
addTypeSpecificGoals()
addTypeSpecificGoals()
protected void
gx()
playEatingSound()
method_61458()
m_crfaarku()
playEatSound()
playEatSound()
public EntityDimensions
e(bxq arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
public Fox$Variant
t()
getVariant()
method_47845()
m_dgmreqad()
getVariant()
private void
a(cjj$v arg0)
setVariant(Fox$Variant arg0)
method_47844(class_4019$class_4039 arg0)
m_dehaypsg(C_axinhusn$C_dqmtshhc arg0)
setVariant(FoxEntity$Variant variant)
public <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
m_jtdlrfwm(C_pscqxfcs<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
m_oxfzjslk(C_hmcnusfu arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(ki<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
m_vqawgcdu(C_pscqxfcs<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
Stream<EntityReference<LivingEntity>>
gE()
getTrustedEntities()
method_66293()
m_wtfplsqf()
getTrustedEntities()
void
i(bxe arg0)
addTrustedEntity(LivingEntity arg0)
method_66294(class_1309 arg0)
m_poswsotl(C_usxaxydn arg0)
trust(LivingEntity entity)
m_poswsotl(LivingEntity entity)
private void
a(bwl<bxe> arg0)
addTrustedEntity(EntityReference<LivingEntity> arg0)
method_66290(class_10583<class_1309> arg0)
m_mmuojxfd(C_xolbcmjn<C_usxaxydn> arg0)
trust(LazyEntityReference<LivingEntity> entity)
m_mmuojxfd(C_xolbcmjn<LivingEntity> value)
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
x()
isSitting()
method_18272()
m_uesdupqb()
isSitting()
isSitting()
public void
w(boolean arg0)
setSitting(boolean arg0)
method_18294(boolean arg0)
m_ljsbiiim(boolean arg0)
setSitting(boolean sitting)
setSitting(boolean sitting)
public boolean
gr()
isFaceplanted()
method_18273()
m_bxzmyivn()
isWalking()
isWalking()
void
A(boolean arg0)
setFaceplanted(boolean arg0)
method_18295(boolean arg0)
m_uphzwtbt(boolean arg0)
setWalking(boolean walking)
setWalking(boolean walking)
boolean
gF()
isDefending()
method_18282()
m_vplswkcx()
isAggressive()
isAggressive()
void
B(boolean arg0)
setDefending(boolean arg0)
method_18301(boolean arg0)
m_rlytqius(boolean arg0)
setAggressive(boolean aggressive)
setAggressive(boolean aggressive)
public boolean
fR()
isSleeping()
method_6113()
m_uytukmik()
isSleeping()
isSleeping()
void
C(boolean arg0)
setSleeping(boolean arg0)
method_18302(boolean arg0)
m_lflxuqel(boolean arg0)
setSleeping(boolean sleeping)
setSleeping(boolean sleeping)
private void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_18269(int arg0, boolean arg1)
m_xvobopah(int arg0, boolean arg1)
setFoxFlag(int mask, boolean value)
setFoxFlag(int mask, boolean value)
private boolean
s(int arg0)
getFlag(int arg0)
method_18293(int arg0)
m_vumnkwpn(int arg0)
getFoxFlag(int bitmask)
getFoxFlag(int bitmask)
protected boolean
f(bwp arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
m_zqlgoica(C_yuycoehb arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
canDispenserEquipInto(EquipmentSlot arg0)
public boolean
g(czd arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
m_kxilreut(C_sddaxwyk arg0)
canPickupItem(ItemStack arg0)
canPickupItem(ItemStack arg0)
private void
k(czd arg0)
spitOutItem(ItemStack arg0)
method_18289(class_1799 arg0)
m_iqrgnkdw(C_sddaxwyk arg0)
spit(ItemStack stack)
spit(ItemStack stack)
private void
l(czd arg0)
dropItemStack(ItemStack arg0)
method_18291(class_1799 arg0)
m_ptzfkeez(C_sddaxwyk arg0)
dropItem(ItemStack stack)
dropItem(ItemStack stack)
protected void
a(arq arg0, cnh arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
m_avgkrrey(C_bdwnwhiu arg0, C_uqpzijng arg1)
loot(ServerWorld arg0, ItemEntity arg1)
loot(ServerWorld arg0, ItemEntity arg1)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
public boolean
i(czd arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
protected void
a(crc arg0, bxg arg1)
onOffspringSpawnedFromEgg(Player arg0, Mob arg1)
method_18249(class_1657 arg0, class_1308 arg1)
m_gflspffg(C_jzrpycqo arg0, C_dxkfswlz arg1)
onPlayerSpawnedChild(PlayerEntity arg0, MobEntity arg1)
onPlayerSpawnedChild(PlayerEntity arg0, MobEntity arg1)
public boolean
gs()
isPouncing()
method_18274()
m_kmmmlmss()
isChasing()
isChasing()
public void
x(boolean arg0)
setIsPouncing(boolean arg0)
method_18296(boolean arg0)
m_vdepdtwn(boolean arg0)
setChasing(boolean chasing)
setChasing(boolean chasing)
public boolean
gt()
isJumping()
method_35172()
m_hpkjnupp()
isJumping()
isJumping()
public boolean
gu()
isFullyCrouched()
method_18275()
m_hgjltjvv()
isFullyCrouched()
isFullyCrouched()
public void
y(boolean arg0)
setIsCrouching(boolean arg0)
method_18297(boolean arg0)
m_apoyvjmi(boolean arg0)
setCrouching(boolean crouching)
setCrouching(boolean crouching)
public boolean
ci()
isCrouching()
method_18276()
m_oqgpazne()
isInSneakingPose()
isInSneakingPose()
public void
z(boolean arg0)
setIsInterested(boolean arg0)
method_18299(boolean arg0)
m_xkpkacqa(boolean arg0)
setRollingHead(boolean rollingHead)
setRollingHead(boolean rollingHead)
public boolean
gv()
isInterested()
method_18277()
m_yhanyshv()
isRollingHead()
isRollingHead()
public float
J(float arg0)
getHeadRollAngle(float arg0)
method_18298(float arg0)
m_entdqhly(float arg0)
getHeadRoll(float tickProgress)
getHeadRoll(float tickDelta)
public float
K(float arg0)
getCrouchAmount(float arg0)
method_18300(float arg0)
m_dbqgppkh(float arg0)
getBodyRotationHeightOffset(float tickProgress)
getBodyRotationHeightOffset(float tickDelta)
public void
g(bxe arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
m_hykyexft(C_usxaxydn arg0)
setTarget(LivingEntity arg0)
setTarget(LivingEntity arg0)
void
gG()
wakeUp()
method_18283()
m_umwbpcmy()
stopSleeping()
stopSleeping()
void
gH()
clearStates()
method_18284()
m_jznhijuk()
stopActions()
stopActions()
boolean
gI()
canMove()
method_18285()
m_znqnotjf()
wantsToPickupItem()
wantsToPickupItem()
public void
T()
playAmbientSound()
method_5966()
m_frolgtzg()
playAmbientSound()
playAmbientSound()
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
protected SoundEvent
e(buu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
boolean
j(bxe arg0)
trusts(LivingEntity arg0)
method_18428(class_1309 arg0)
m_onrungke(C_usxaxydn arg0)
canTrust(LivingEntity entity)
canTrust(LivingEntity entity)
protected void
b(arq arg0, buu arg1)
dropAllDeathLoot(ServerLevel arg0, DamageSource arg1)
method_16080(class_3218 arg0, class_1282 arg1)
m_qsomaeaq(C_bdwnwhiu arg0, C_sbxfkpyv arg1)
drop(ServerWorld arg0, DamageSource arg1)
drop(ServerWorld arg0, DamageSource arg1)
public static boolean
a(cjj arg0, bxe arg1)
isPathClear(Fox arg0, LivingEntity arg1)
method_18257(class_4019 arg0, class_1309 arg1)
m_nuviczfv(C_axinhusn arg0, C_usxaxydn arg1)
canJumpChase(FoxEntity fox, LivingEntity chasedEntity)
canJumpChase(FoxEntity fox, LivingEntity chasedEntity)
public Vec3
cT()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()