Class Food.Builder

  • Enclosing class:
    Food

    public static class Food.Builder
    extends java.lang.Object
    • Field Detail

      • nutrition

        private int nutrition
      • saturationModifier

        private float saturationModifier
      • isMeat

        private boolean isMeat
      • canAlwaysEat

        private boolean canAlwaysEat
      • fastFood

        private boolean fastFood
      • effects

        private final java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Supplier<EffectInstance>,​java.lang.Float>> effects
    • Constructor Detail

      • Builder

        public Builder()