Class VillagerData


  • public class VillagerData
    extends java.lang.Object
    • Field Detail

      • NEXT_LEVEL_XP_THRESHOLDS

        private static final int[] NEXT_LEVEL_XP_THRESHOLDS
      • CODEC

        public static final com.mojang.serialization.Codec<VillagerData> CODEC
      • level

        private final int level
    • Method Detail

      • getLevel

        public int getLevel()
      • setLevel

        public VillagerData setLevel​(int p_221135_1_)
      • getMinXpPerLevel

        public static int getMinXpPerLevel​(int p_221133_0_)
      • getMaxXpPerLevel

        public static int getMaxXpPerLevel​(int p_221127_0_)
      • canLevelUp

        public static boolean canLevelUp​(int p_221128_0_)