net.minecraft.world.entity.animal

public abstract class Animal

extends AgableMob

All mapped superinterfaces:

Nameable, CommandSource

ayk
net.minecraft.world.entity.animal.Animal
net.minecraft.class_1429
net.minecraft.entity.passive.AnimalEntity
net.minecraft.entity.passive.AnimalEntity
net.minecraft.server.v1_16_R1.EntityAnimal

Field summary

Modifier and TypeField
private int
bv
inLove
field_6745
loveTicks
field_70881_d
loveTicks
private UUID
bw
loveCause
field_6744
lovingPlayer
field_146084_br
breedCause

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
public boolean
a(anw arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public float
a(fu arg0, bqd arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
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 double
aX()
getMyRidingOffset()
method_5678()
getHeightOffset()
func_70033_W()
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 static boolean
b(aoq<? extends ayk> arg0, bqc arg1, apb arg2, fu 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)
isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223316_b(EntityType<? extends AnimalEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public int
D()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
protected int
d(bec arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getCurrentExperience(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExpValue(EntityHuman arg0)
public boolean
k(bki arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack stack)
func_70877_b(ItemStack arg0)
public InteractionResult
b(bec arg0, anf arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
protected void
a(bec arg0, bki arg1)
usePlayerItem(Player arg0, ItemStack arg1)
method_6475(class_1657 arg0, class_1799 arg1)
eat(PlayerEntity player, ItemStack stack)
func_175505_a(PlayerEntity arg0, ItemStack arg1)
public boolean
eQ()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
public void
g(bec arg0)
setInLove(Player arg0)
method_6480(class_1657 arg0)
lovePlayer(PlayerEntity player)
func_146082_f(PlayerEntity arg0)
public void
s(int arg0)
setInLoveTime(int arg0)
method_6476(int arg0)
setLoveTicks(int loveTicks)
func_204700_e(int arg0)
setLoveTicks(int arg0)
public int
eR()
getInLoveTime()
method_29270()
getLoveTicks()
func_234178_eO_()
public ServerPlayer
eS()
getLoveCause()
method_6478()
getLovingPlayer()
func_191993_do()
getBreedCause()
public boolean
eT()
isInLove()
method_6479()
isInLove()
func_70880_s()
isInLove()
public void
eU()
resetLove()
method_6477()
resetLoveTicks()
func_70875_t()
resetLove()
public boolean
a(ayk arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity other)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public void
a(bqb arg0, ayk arg1)
spawnChildFromBreeding(Level arg0, Animal arg1)
method_24650(class_1937 arg0, class_1429 arg1)
breed(World world, AnimalEntity other)
func_234177_a_(World arg0, AnimalEntity arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)