diff --git a/src/main/java/com/nearmisses/mc_rebalance/MC_Rebalance.java b/src/main/java/com/nearmisses/mc_rebalance/MC_Rebalance.java index c29fcee..4574e91 100644 --- a/src/main/java/com/nearmisses/mc_rebalance/MC_Rebalance.java +++ b/src/main/java/com/nearmisses/mc_rebalance/MC_Rebalance.java @@ -101,9 +101,52 @@ public class MC_Rebalance }).build()); */ - public static final RegistryObject steak = VANILLA_ITEMS.register("cooked_beef", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.4f).build()))); + // If this modpack were to be in development any longer this would go in a new file + /*public static RegistryObject quickSimpleFoodRepacement(String id, Integer nutrition, Float saturation){ + return VANILLA_ITEMS.register(id, () -> new Item(new Item.Properties().food(new FoodProperties.Builder() + .alwaysEat() + .nutrition(nutrition) + .saturationMod(saturation) + .build() + ))); + } + public static final RegistryObject steak = quickSimpleFoodReplacement("cooked_beef",5,0.4f); + */ - // public static final RegistryObject chorus_fruit = VANILLA_ITEMS.register("chorus_fruit", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.4f).build()))); + public static final RegistryObject steak = VANILLA_ITEMS.register("cooked_beef", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.4f).build()))); + + public static final RegistryObject bread = VANILLA_ITEMS.register("bread", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(3).saturationMod(0.4f).build()))); + + public static final RegistryObject carrot = VANILLA_ITEMS.register("carrot", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(2).saturationMod(0.5f).build()))); + + public static final RegistryObject raw_rabbit = VANILLA_ITEMS.register("rabbit", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(2).saturationMod(1.0f).build()))); + + public static final RegistryObject glow_berries = VANILLA_ITEMS.register("glow_berries", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(2).saturationMod(2.0f).build()))); + + public static final RegistryObject cookie = VANILLA_ITEMS.register("cookie", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(1).saturationMod(2.6f).build()))); + + public static final RegistryObject dried_kelp = VANILLA_ITEMS.register("dried_kelp", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(2).saturationMod(0.0f).build()))); + + public static final RegistryObject cooked_chicken = VANILLA_ITEMS.register("cooked_chicken", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.4f).build()))); + + public static final RegistryObject cooked_salmon = VANILLA_ITEMS.register("cooked_salmon", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(6).saturationMod(0.2f).build()))); + + public static final RegistryObject cooked_cod = VANILLA_ITEMS.register("cooked_cod", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.2f).build()))); + + public static final RegistryObject cooked_porkchop = VANILLA_ITEMS.register("cooked_porkchop", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(8).saturationMod(0.7f).build()))); + + public static final RegistryObject golden_carrot = VANILLA_ITEMS.register("golden_carrot", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(2).saturationMod(2.5f).build()))); + + public static final RegistryObject pumpkin_pie = VANILLA_ITEMS.register("pumpkin_pie", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(6).saturationMod(1.1f).build()))); + + public static final RegistryObject cooked_mutton = VANILLA_ITEMS.register("cooked_mutton", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.6f).build()))); + + // The following will need additional alterations to function correctly + /* + public static final RegistryObject rotten_flesh = VANILLA_ITEMS.register("rotten_flesh", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.4f).build()))); + + public static final RegistryObject chorus_fruit = VANILLA_ITEMS.register("chorus_fruit", () -> new Item(new Item.Properties().food(new FoodProperties.Builder().alwaysEat().nutrition(5).saturationMod(0.4f).build()))); + */ public MC_Rebalance(FMLJavaModLoadingContext context) {