Class AgeableEntity.AgeableData

    • Field Detail

      • groupSize

        private int groupSize
      • shouldSpawnBaby

        private final boolean shouldSpawnBaby
      • babySpawnChance

        private final float babySpawnChance
    • Constructor Detail

      • 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 Detail

      • getGroupSize

        public int getGroupSize()
      • increaseGroupSizeByOne

        public void increaseGroupSizeByOne()
      • isShouldSpawnBaby

        public boolean isShouldSpawnBaby()
      • getBabySpawnChance

        public float getBabySpawnChance()