net.minecraft.world.entity

public abstract class AgeableMob

extends PathfinderMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

bud
net.minecraft.world.entity.AgeableMob
net.minecraft.class_1296
net.minecraft.entity.passive.PassiveEntity
net.minecraft.world.entity.EntityAgeable

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bY
DATA_BABY_ID
field_5949
CHILD
public static final int
a
BABY_START_AGE
field_29969
BABY_AGE
private static final int
bZ
FORCED_AGE_PARTICLE_TICKS
field_29970
HAPPY_TICKS
protected int
b
age
field_5950
breedingAge
protected int
c
forcedAge
field_5948
forcedAge
protected int
d
forcedAgeTimer
field_5947
happyTicksRemaining

Constructor summary

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

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public abstract AgeableMob
a(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld world, PassiveEntity entity)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
X_()
canBreed()
method_19184()
isReadyToBreed()
public int
Y_()
getAge()
method_5618()
getBreedingAge()
public void
a(int arg0, boolean arg1)
ageUp(int arg0, boolean arg1)
method_5620(int arg0, boolean arg1)
growUp(int age, boolean overGrow)
public void
b_(int arg0)
ageUp(int arg0)
method_5615(int arg0)
growUp(int age)
public void
c_(int arg0)
setAge(int arg0)
method_5614(int arg0)
setBreedingAge(int age)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
i()
ageBoundaryReached()
method_5619()
onGrowUp()
public boolean
e_()
isBaby()
method_6109()
isBaby()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
public static int
d_(int arg0)
getSpeedUpSecondsWhenFeeding(int arg0)
method_41321(int arg0)
toGrowUpAge(int breedingAge)
public int
l()
getForcedAge()
method_63605()
getForcedAge()
public int
m()
getForcedAgeTimer()
method_63606()
getHappyTicksRemaining()