net.minecraft.world.entity.animal

public abstract class Animal

extends AgableMob

All mapped superinterfaces:

Nameable, CommandSource

azw
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_R2.EntityAnimal

Field summary

Modifier and TypeField
private int
bo
inLove
field_6745
loveTicks
field_70881_d
loveTicks
private UUID
bp
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(aph 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(fx arg0, brw 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(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public double
ba()
getMyRidingOffset()
method_5678()
getHeightOffset()
func_70033_W()
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public static boolean
b(aqb<? extends azw> arg0, brv arg1, aqm arg2, fx 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(bft arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getCurrentExperience(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExpValue(EntityHuman arg0)
public boolean
k(bly arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack stack)
func_70877_b(ItemStack arg0)
public InteractionResult
b(bft arg0, aoq 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(bft arg0, bly 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
eP()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
public void
g(bft 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
eQ()
getInLoveTime()
method_29270()
getLoveTicks()
func_234178_eO_()
public ServerPlayer
eR()
getLoveCause()
method_6478()
getLovingPlayer()
func_191993_do()
getBreedCause()
public boolean
eS()
isInLove()
method_6479()
isInLove()
func_70880_s()
isInLove()
public void
eT()
resetLove()
method_6477()
resetLoveTicks()
func_70875_t()
resetLove()
public boolean
a(azw arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity other)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public void
a(aag arg0, azw arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity other)
func_234177_a_(ServerWorld arg0, AnimalEntity arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)