net.minecraft.world.entity.animal

public abstract class Animal

extends AgeableMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bdy
net.minecraft.world.entity.animal.Animal
net.minecraft.class_1429
net.minecraft.unmapped.C_tprvtfff
net.minecraft.entity.passive.AnimalEntity
net.minecraft.src.C_801_
net.minecraft.world.entity.animal.EntityAnimal

Field summary

Modifier and TypeField
static final int
bV
PARENT_AGE_AFTER_BREEDING
field_30270
f_ghnlbrrv
BREEDING_COOLDOWN
f_148714_
private int
bT
inLove
field_6745
f_wodqdutt
loveTicks
f_27554_
private UUID
bU
loveCause
field_6744
f_mavnccyt
lovingPlayer
f_27555_

Constructor summary

ModifierConstructor
protected (EntityType<? extends Animal> p_27558_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
eY()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
m_8024_()
mobTick()
public void
u_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
m_8107_()
movementTick()
public boolean
a(asq arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_27568_, float arg1)
damageEntity(DamageSource arg0, float arg1)
public float
a(gg arg0, bwt arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_27574_, C_1599_ arg1)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public double
bk()
getMyRidingOffset()
method_5678()
m_kfwdpcql()
getHeightOffset()
m_6049_()
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public static boolean
b(atk<? extends bdy> arg0, bwr arg1, aty arg2, gg arg3, Random arg4)
checkAnimalSpawnRules(EntityType<? extends Animal> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20663(class_1299<? extends class_1429> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
m_mlnbcpws(C_ogavsvbr<? extends C_tprvtfff> arg0, C_vdvbsyle arg1, C_uzzvxofv arg2, C_hynzadkk arg3, Random arg4)
isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_27577_(C_513_<? extends C_801_> p_27578_, C_1598_ p_27579_, C_529_ p_27580_, C_4675_ p_27581_, Random p_27582_)
public int
J()
getAmbientSoundInterval()
method_5970()
m_pswyixar()
getMinAmbientSoundDelay()
m_8100_()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
isTypeNotPersistent(double arg0)
protected int
d(bke arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
m_yanqzhib(C_jzrpycqo arg0)
getXpToDrop(PlayerEntity arg0)
m_6552_(C_1141_ arg0)
getExpValue(EntityHuman arg0)
public boolean
n(bqq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack stack)
m_6898_(C_1391_ arg0)
isBreedItem(ItemStack arg0)
public InteractionResult
b(bke arg0, asa arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_27585_, C_470_ arg1)
protected void
a(bke arg0, asa arg1, bqq arg2)
usePlayerItem(Player arg0, InteractionHand arg1, ItemStack arg2)
method_6475(class_1657 arg0, class_1268 arg1, class_1799 arg2)
m_lyumrhdj(C_jzrpycqo arg0, C_laxmzoqs arg1, C_sddaxwyk arg2)
eat(PlayerEntity player, Hand hand, ItemStack stack)
m_142075_(C_1141_ p_148716_, C_470_ p_148717_, C_1391_ arg2)
public boolean
fz()
canFallInLove()
method_6482()
m_ajdkrylg()
canEat()
m_5957_()
public void
g(bke arg0)
setInLove(Player arg0)
method_6480(class_1657 arg0)
m_xmrbnldq(C_jzrpycqo arg0)
lovePlayer(PlayerEntity player)
m_27595_(C_1141_ arg0)
public void
t(int arg0)
setInLoveTime(int arg0)
method_6476(int arg0)
m_wifniodp(int arg0)
setLoveTicks(int loveTicks)
m_27601_(int arg0)
setLoveTicks(int arg0)
public int
fA()
getInLoveTime()
method_29270()
m_lmbkeded()
getLoveTicks()
m_27591_()
public ServerPlayer
fB()
getLoveCause()
method_6478()
m_zpcqnjtr()
getLovingPlayer()
m_27592_()
getBreedCause()
public boolean
fC()
isInLove()
method_6479()
m_fficjzem()
isInLove()
m_27593_()
isInLove()
public void
fD()
resetLove()
method_6477()
m_ubvmbqbr()
resetLoveTicks()
m_27594_()
resetLove()
public boolean
a(bdy arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity other)
m_7848_(C_801_ arg0)
mate(EntityAnimal arg0)
public void
a(abr arg0, bdy arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
m_kgvkegms(C_bdwnwhiu arg0, C_tprvtfff arg1)
breed(ServerWorld world, AnimalEntity other)
m_27563_(C_12_ p_27565_, C_801_ arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)