Class Food.Builder

java.lang.Object
net.minecraft.item.Food.Builder
Enclosing class:
Food

public static class Food.Builder extends Object
  • Field Details

    • nutrition

      private int nutrition
    • saturationModifier

      private float saturationModifier
    • isMeat

      private boolean isMeat
    • canAlwaysEat

      private boolean canAlwaysEat
    • fastFood

      private boolean fastFood
    • effects

      private final List<com.mojang.datafixers.util.Pair<Supplier<EffectInstance>,Float>> effects
  • Constructor Details

    • Builder

      public Builder()
  • Method Details