mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
Cacophonium recipe/docs.
This commit is contained in:
1 parent
5b67f181ca
commit
289a48d3fb
4 files changed
+24
No files matched your search
@@ -21,6 +21,7 @@ import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
import net.minecraft.item.crafting.IRecipe;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
import net.minecraftforge.oredict.ShapelessOreRecipe;
|
||||
import vazkii.botania.api.BotaniaAPI;
|
||||
@@ -271,6 +272,7 @@ public final class ModCraftingRecipes {
|
||||
public static IRecipe recipeDetectorLuminizer;
|
||||
public static IRecipe recipeLuminizerLauncher;
|
||||
public static IRecipe recipeObedienceStick;
|
||||
public static IRecipe recipeCacophonium;
|
||||
|
||||
// Garden of Glass
|
||||
public static IRecipe recipeRootToSapling;
|
||||
@@ -1836,6 +1838,18 @@ public final class ModCraftingRecipes {
|
||||
'T', LibOreDict.LIVINGWOOD_TWIG);
|
||||
recipeObedienceStick = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Cacophonium Recipe
|
||||
if(OreDictionary.getOres("ingotBrass").isEmpty())
|
||||
addOreDictRecipe(new ItemStack(ModItems.cacophonium),
|
||||
" G ", "GNG", "GG ",
|
||||
'G', "ingotGold",
|
||||
'N', new ItemStack(Blocks.noteblock));
|
||||
else addOreDictRecipe(new ItemStack(ModItems.cacophonium),
|
||||
" G ", "GNG", "GG ",
|
||||
'G', "ingotBrass",
|
||||
'N', new ItemStack(Blocks.noteblock));
|
||||
recipeCacophonium = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Storage Block/Nugget Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
Reference in new issue
Block a user