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 Object implements ILivingEntityData
  • 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()