net.minecraft.world.entity.animal

public abstract class Animal

extends AgableMob

All mapped superinterfaces:

Nameable, CommandSource

ara
net.minecraft.world.entity.animal.Animal
net.minecraft.class_1429
net.minecraft.entity.passive.AnimalEntity
net.minecraft.entity.passive.AnimalEntity
net.minecraft.server.v1_14_R1.EntityAnimal

Field summary

Modifier and TypeField
private int
bz
inLove
field_6745
loveTicks
field_70881_d
loveTicks
private UUID
bA
loveCause
field_6744
lovingPlayer
field_146084_br
breedCause

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
L()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
public boolean
a(ahx 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(ew arg0, bhu arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_1941 arg1)
getPathfindingFavor(BlockPos arg0, CollisionView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
public void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public double
aO()
getRidingHeight()
method_5678()
getHeightOffset()
func_70033_W()
public void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public static boolean
b(ais<? extends ara> arg0, bhs arg1, aja arg2, ew 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)
func_223316_b(EntityType<? extends AnimalEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public int
A()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public boolean
c(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
protected int
d(awg arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getCurrentExperience(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExpValue(EntityHuman arg0)
public boolean
i(bcj arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack stack)
func_70877_b(ItemStack arg0)
public boolean
a(awg arg0, ahi arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
protected void
a(awg arg0, bcj 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
ea()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
public void
f(awg arg0)
setInLove(Player arg0)
method_6480(class_1657 arg0)
lovePlayer(PlayerEntity player)
func_146082_f(PlayerEntity arg0)
public void
r(int arg0)
setInLoveTime(int arg0)
method_6476(int arg0)
setLoveTicks(int loveTicks)
func_204700_e(int arg0)
setLoveTicks(int arg0)
public ServerPlayer
eb()
getLoveCause()
method_6478()
getLovingPlayer()
func_191993_do()
getBreedCause()
public boolean
ec()
isInLove()
method_6479()
isInLove()
func_70880_s()
isInLove()
public void
ed()
resetLove()
method_6477()
resetLoveTicks()
func_70875_t()
resetLove()
public boolean
a(ara arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity other)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)