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
public static class AgeableEntity.AgeableData extends java.lang.Object implements ILivingEntityData
-
-
Field Summary
Fields Modifier and Type Field Description private float
babySpawnChance
private int
groupSize
private boolean
shouldSpawnBaby
-
Constructor Summary
Constructors Modifier Constructor Description AgeableData(boolean p_i241904_1_)
private
AgeableData(boolean p_i241905_1_, float p_i241905_2_)
AgeableData(float p_i241903_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBabySpawnChance()
int
getGroupSize()
void
increaseGroupSizeByOne()
boolean
isShouldSpawnBaby()
-