Reworked food sources
This commit is contained in:
parent
455599c362
commit
bc38069ec9
|
|
@ -101,9 +101,52 @@ public class MC_Rebalance
|
||||||
}).build());
|
}).build());
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// If this modpack were to be in development any longer this would go in a new file
|
||||||
|
/*public static RegistryObject<Item> 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<Item> steak = quickSimpleFoodReplacement("cooked_beef",5,0.4f);
|
||||||
|
*/
|
||||||
|
|
||||||
public static final RegistryObject<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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<Item> 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)
|
public MC_Rebalance(FMLJavaModLoadingContext context)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue