From a1c1d5d87f64008a1f57205b69b7f8f62171fcd9 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Mon, 2 Oct 2017 06:06:23 -1000 Subject: [PATCH] Add early bone meal from Botania mortar --- README.md | 2 ++ .../gmail/pharaun/gregtania/proxies/CommonProxy.java | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 18db88f..a0b7b69 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Super simple addon for Botania and Gregtech 6. Adds in a few more tiers of orech - Gravel can be turned to ores by Orechids Ignem. - Ore weights are no longer hardcoded, but instead computed from the GregTech world gen parameters. Additional ores may still be added via the JSON weights config. - Botania pebbles are now replaced by GregTech pebbles, which can be used to craft stone tools +- Clayconia Alluvia added to get early clay from gravel +- Added 1:1 Bonemeal recipe using Botania mortar *With big thanks to:* diff --git a/src/main/java/com/gmail/pharaun/gregtania/proxies/CommonProxy.java b/src/main/java/com/gmail/pharaun/gregtania/proxies/CommonProxy.java index c31920b..bb1a6f3 100644 --- a/src/main/java/com/gmail/pharaun/gregtania/proxies/CommonProxy.java +++ b/src/main/java/com/gmail/pharaun/gregtania/proxies/CommonProxy.java @@ -11,7 +11,10 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.CraftingManager; import net.minecraftforge.oredict.OreDictionary; +import net.minecraftforge.oredict.ShapedOreRecipe; +import net.minecraftforge.oredict.ShapelessOreRecipe; import vazkii.botania.api.BotaniaAPI; import vazkii.botania.api.recipe.RecipePetals; import vazkii.botania.common.block.ModBlocks; @@ -109,7 +112,15 @@ public void init(FMLInitializationEvent event) { Util.registerFlower(SUBTILE_CLAYCONIA_ALLUVIA, SubTileClayconiaAlluvia.class); SubTileClayconiaAlluvia.lexiconEntry = Util.registerFunctionalPetalRecipe(SUBTILE_CLAYCONIA_ALLUVIA, "petalGray", "petalLightGray", "petalLightGray", "petalCyan"); + // Greg makes bone meal unobtainable before getting a Mortar, but no bone meal makes + // the GoG early game painful. Let's get one bone meal per bone from Botania's mortar. + CraftingManager.getInstance().getRecipeList().add( + new ShapelessOreRecipe( + new ItemStack(Items.dye, 1, 15), + new ItemStack(Items.bone, 1), "pestleAndMortar" + ) + ); } public void postInit(FMLPostInitializationEvent event) {