Package net.minecraft.entity
Class AgeableEntity.AgeableData
java.lang.Object
net.minecraft.entity.AgeableEntity.AgeableData
- All Implemented Interfaces:
ILivingEntityData
- Direct Known Subclasses:
FoxEntity.FoxData
,HorseEntity.HorseData
,LlamaEntity.LlamaData
,RabbitEntity.RabbitData
- Enclosing class:
- AgeableEntity
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private int
private final boolean
-
Constructor Summary
ModifierConstructorDescriptionAgeableData
(boolean p_i241904_1_) private
AgeableData
(boolean p_i241905_1_, float p_i241905_2_) AgeableData
(float p_i241903_1_) -
Method Summary
Modifier and TypeMethodDescriptionfloat
int
void
boolean
-
Field Details
-
groupSize
private int groupSize -
shouldSpawnBaby
private final boolean shouldSpawnBaby -
babySpawnChance
private final float babySpawnChance
-
-
Constructor Details
-
AgeableData
private AgeableData(boolean p_i241905_1_, float p_i241905_2_) -
AgeableData
public AgeableData(boolean p_i241904_1_) -
AgeableData
public AgeableData(float p_i241903_1_)
-
-
Method Details
-
getGroupSize
public int getGroupSize() -
increaseGroupSizeByOne
public void increaseGroupSizeByOne() -
isShouldSpawnBaby
public boolean isShouldSpawnBaby() -
getBabySpawnChance
public float getBabySpawnChance()
-