Skip to content

Commit

Permalink
Add early bone meal from Botania mortar
Browse files Browse the repository at this point in the history
  • Loading branch information
codewarrior0 committed Oct 2, 2017
1 parent 3cdb3ff commit a1c1d5d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:*

Expand Down
11 changes: 11 additions & 0 deletions src/main/java/com/gmail/pharaun/gregtania/proxies/CommonProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a1c1d5d

Please sign in to comment.