Class AgeableMob.AgeableMobGroupData

java.lang.Object
net.minecraft.world.entity.AgeableMob.AgeableMobGroupData
All Implemented Interfaces:
SpawnGroupData
Direct Known Subclasses:
Axolotl.AxolotlGroupData, Fox.FoxGroupData, Horse.HorseGroupData, Llama.LlamaGroupData, Rabbit.RabbitGroupData, Wolf.WolfPackData
Enclosing class:
AgeableMob

public static class AgeableMob.AgeableMobGroupData extends Object implements SpawnGroupData
  • Field Details

    • groupSize

      private int groupSize
    • shouldSpawnBaby

      private final boolean shouldSpawnBaby
    • babySpawnChance

      private final float babySpawnChance
  • Constructor Details

    • AgeableMobGroupData

      private AgeableMobGroupData(boolean p_146775_, float p_146776_)
    • AgeableMobGroupData

      public AgeableMobGroupData(boolean p_146773_)
    • AgeableMobGroupData

      public AgeableMobGroupData(float p_146771_)
  • Method Details

    • getGroupSize

      public int getGroupSize()
    • increaseGroupSizeByOne

      public void increaseGroupSizeByOne()
    • isShouldSpawnBaby

      public boolean isShouldSpawnBaby()
    • getBabySpawnChance

      public float getBabySpawnChance()