net.minecraft.world.entity

public abstract class AgeableMob

extends PathfinderMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting

bfc
net.minecraft.world.entity.AgeableMob
net.minecraft.class_1296
net.minecraft.entity.passive.PassiveEntity
net.minecraft.src.C_141062_
net.minecraft.world.entity.EntityAgeable

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bS
DATA_BABY_ID
field_5949
CHILD
f_146731_
public static final int
b
BABY_START_AGE
field_29969
BABY_AGE
f_146730_
private static final int
bT
FORCED_AGE_PARTICLE_TICKS
field_29970
HAPPY_TICKS
f_146732_
protected int
c
age
field_5950
breedingAge
f_146733_
protected int
d
forcedAge
field_5948
forcedAge
f_146734_
protected int
e
forcedAgeTimer
field_5947
happyTicksRemaining
f_146735_

Constructor summary

ModifierConstructor
protected (EntityType<? extends AgeableMob> p_146739_, Level arg1)

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(cmx arg0, bdw arg1, bgb arg2, bgr arg3, re arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_146747_, C_469_ p_146748_, C_529_ p_146749_, C_542_ p_146750_, C_4917_ arg4)
public abstract AgeableMob
a(aip arg0, bfc arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld world, PassiveEntity entity)
m_142606_(C_12_ p_146744_, C_141062_ arg1)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public boolean
O_()
canBreed()
method_19184()
isReadyToBreed()
m_35506_()
public int
h()
getAge()
method_5618()
getBreedingAge()
m_146764_()
public void
a(int arg0, boolean arg1)
ageUp(int arg0, boolean arg1)
method_5620(int arg0, boolean arg1)
growUp(int age, boolean overGrow)
m_146740_(int p_146742_, boolean arg1)
public void
b_(int arg0)
ageUp(int arg0)
method_5615(int arg0)
growUp(int age)
m_146758_(int arg0)
public void
c_(int arg0)
setAge(int arg0)
method_5614(int arg0)
setBreedingAge(int age)
m_146762_(int arg0)
public void
b(re arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(re arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(acl<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
m()
ageBoundaryReached()
method_5619()
onGrowUp()
m_30232_()
public boolean
y_()
isBaby()
method_6109()
isBaby()
m_6162_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public static int
d_(int arg0)
getSpeedUpSecondsWhenFeeding(int arg0)
method_41321(int arg0)
toGrowUpAge(int breedingAge)
m_216967_(int p_216968_)