net.minecraft.world.entity.animal

public abstract class Animal

extends AgableMob

All mapped superinterfaces:

Nameable, CommandSource

asz
net.minecraft.world.entity.animal.Animal
net.minecraft.class_1429
net.minecraft.entity.passive.AnimalEntity
net.minecraft.entity.passive.AnimalEntity
net.minecraft.server.v1_15_R1.EntityAnimal

Field summary

Modifier and TypeField
private int
bw
inLove
field_6745
loveTicks
field_70881_d
loveTicks
private UUID
bx
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
dT()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
public boolean
a(ajw 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(fk arg0, bjw 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(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public double
aR()
getRidingHeight()
method_5678()
getHeightOffset()
func_70033_W()
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public static boolean
b(akr<? extends asz> arg0, bju arg1, akz arg2, fk 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, IWorld world, SpawnType spawnType, BlockPos pos, Random random)
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
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
protected int
d(ayg arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getCurrentExperience(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExpValue(EntityHuman arg0)
public boolean
i(bek arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack stack)
func_70877_b(ItemStack arg0)
public boolean
a(ayg arg0, ajh 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(ayg arg0, bek 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
ev()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
public void
f(ayg 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 ServerPlayer
ew()
getLoveCause()
method_6478()
getLovingPlayer()
func_191993_do()
getBreedCause()
public boolean
ex()
isInLove()
method_6479()
isInLove()
func_70880_s()
isInLove()
public void
ey()
resetLove()
method_6477()
resetLoveTicks()
func_70875_t()
resetLove()
public boolean
a(asz 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)