/* * Decompiled with CFR 0.152. */ package net.minecraft.world.food; import net.minecraft.world.food.FoodProperties; public class Foods { public static final FoodProperties APPLE = new FoodProperties.Builder().nutrition(4).saturationModifier(0.3f).build(); public static final FoodProperties BAKED_POTATO = new FoodProperties.Builder().nutrition(5).saturationModifier(0.6f).build(); public static final FoodProperties BEEF = new FoodProperties.Builder().nutrition(3).saturationModifier(0.3f).build(); public static final FoodProperties BEETROOT = new FoodProperties.Builder().nutrition(1).saturationModifier(0.6f).build(); public static final FoodProperties BEETROOT_SOUP = Foods.stew(6).build(); public static final FoodProperties BREAD = new FoodProperties.Builder().nutrition(5).saturationModifier(0.6f).build(); public static final FoodProperties CARROT = new FoodProperties.Builder().nutrition(3).saturationModifier(0.6f).build(); public static final FoodProperties CHICKEN = new FoodProperties.Builder().nutrition(2).saturationModifier(0.3f).build(); public static final FoodProperties CHORUS_FRUIT = new FoodProperties.Builder().nutrition(4).saturationModifier(0.3f).alwaysEdible().build(); public static final FoodProperties COD = new FoodProperties.Builder().nutrition(2).saturationModifier(0.1f).build(); public static final FoodProperties COOKED_BEEF = new FoodProperties.Builder().nutrition(8).saturationModifier(0.8f).build(); public static final FoodProperties COOKED_CHICKEN = new FoodProperties.Builder().nutrition(6).saturationModifier(0.6f).build(); public static final FoodProperties COOKED_COD = new FoodProperties.Builder().nutrition(5).saturationModifier(0.6f).build(); public static final FoodProperties COOKED_MUTTON = new FoodProperties.Builder().nutrition(6).saturationModifier(0.8f).build(); public static final FoodProperties COOKED_PORKCHOP = new FoodProperties.Builder().nutrition(8).saturationModifier(0.8f).build(); public static final FoodProperties COOKED_RABBIT = new FoodProperties.Builder().nutrition(5).saturationModifier(0.6f).build(); public static final FoodProperties COOKED_SALMON = new FoodProperties.Builder().nutrition(6).saturationModifier(0.8f).build(); public static final FoodProperties COOKIE = new FoodProperties.Builder().nutrition(2).saturationModifier(0.1f).build(); public static final FoodProperties DRIED_KELP = new FoodProperties.Builder().nutrition(1).saturationModifier(0.3f).build(); public static final FoodProperties ENCHANTED_GOLDEN_APPLE = new FoodProperties.Builder().nutrition(4).saturationModifier(1.2f).alwaysEdible().build(); public static final FoodProperties GOLDEN_APPLE = new FoodProperties.Builder().nutrition(4).saturationModifier(1.2f).alwaysEdible().build(); public static final FoodProperties GOLDEN_CARROT = new FoodProperties.Builder().nutrition(6).saturationModifier(1.2f).build(); public static final FoodProperties HONEY_BOTTLE = new FoodProperties.Builder().nutrition(6).saturationModifier(0.1f).alwaysEdible().build(); public static final FoodProperties MELON_SLICE = new FoodProperties.Builder().nutrition(2).saturationModifier(0.3f).build(); public static final FoodProperties MUSHROOM_STEW = Foods.stew(6).build(); public static final FoodProperties MUTTON = new FoodProperties.Builder().nutrition(2).saturationModifier(0.3f).build(); public static final FoodProperties POISONOUS_POTATO = new FoodProperties.Builder().nutrition(2).saturationModifier(0.3f).build(); public static final FoodProperties PORKCHOP = new FoodProperties.Builder().nutrition(3).saturationModifier(0.3f).build(); public static final FoodProperties POTATO = new FoodProperties.Builder().nutrition(1).saturationModifier(0.3f).build(); public static final FoodProperties PUFFERFISH = new FoodProperties.Builder().nutrition(1).saturationModifier(0.1f).build(); public static final FoodProperties PUMPKIN_PIE = new FoodProperties.Builder().nutrition(8).saturationModifier(0.3f).build(); public static final FoodProperties RABBIT = new FoodProperties.Builder().nutrition(3).saturationModifier(0.3f).build(); public static final FoodProperties RABBIT_STEW = Foods.stew(10).build(); public static final FoodProperties ROTTEN_FLESH = new FoodProperties.Builder().nutrition(4).saturationModifier(0.1f).build(); public static final FoodProperties SALMON = new FoodProperties.Builder().nutrition(2).saturationModifier(0.1f).build(); public static final FoodProperties SPIDER_EYE = new FoodProperties.Builder().nutrition(2).saturationModifier(0.8f).build(); public static final FoodProperties SUSPICIOUS_STEW = Foods.stew(6).alwaysEdible().build(); public static final FoodProperties SWEET_BERRIES = new FoodProperties.Builder().nutrition(2).saturationModifier(0.1f).build(); public static final FoodProperties GLOW_BERRIES = new FoodProperties.Builder().nutrition(2).saturationModifier(0.1f).build(); public static final FoodProperties TROPICAL_FISH = new FoodProperties.Builder().nutrition(1).saturationModifier(0.1f).build(); private static FoodProperties.Builder stew(int nutrition) { return new FoodProperties.Builder().nutrition(nutrition).saturationModifier(0.6f); } }