Fixed some small recipe Issues
This commit is contained in:
parent
8aaebfeb63
commit
6353b9dc06
3 changed files with 19 additions and 13 deletions
|
@ -83,7 +83,7 @@ public class Core {
|
|||
}
|
||||
// WorldGen
|
||||
GameRegistry.registerWorldGenerator(new TROreGen(), 0);
|
||||
DungeonLoot.init();
|
||||
// DungeonLoot.init();
|
||||
// Register Gui Handler
|
||||
NetworkRegistry.INSTANCE.registerGuiHandler(INSTANCE, new GuiHandler());
|
||||
// packets
|
||||
|
|
|
@ -8,7 +8,9 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
|||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import ic2.api.item.IC2Items;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import techreborn.compat.ICompatModule;
|
||||
import techreborn.util.CraftingHelper;
|
||||
import techreborn.util.LogHelper;
|
||||
|
@ -24,18 +26,18 @@ public class RecipesBuildcraft implements ICompatModule {
|
|||
}
|
||||
|
||||
public static void addRecipies() {
|
||||
Item drill = IC2Items.getItem("diamondDrill").getItem();
|
||||
ItemStack drillStack = new ItemStack(drill, 1, OreDictionary.WILDCARD_VALUE);
|
||||
//Quarry
|
||||
CraftingHelper.addShapedOreRecipe(
|
||||
new ItemStack(quarryBlock),
|
||||
new Object[]
|
||||
{
|
||||
"IAI", "GIG", "DED",
|
||||
'I', "gearIron",
|
||||
'G', "gearGold",
|
||||
'D', "gearDiamond",
|
||||
'A', IC2Items.getItem("advancedCircuit"),
|
||||
'E', IC2Items.getItem("diamondDrill")
|
||||
}
|
||||
CraftingHelper.addShapedOreRecipe(new ItemStack(quarryBlock),new Object[]
|
||||
{
|
||||
"IAI", "GIG", "DED",
|
||||
'I', "gearIron",
|
||||
'G', "gearGold",
|
||||
'D', "gearDiamond",
|
||||
'A', IC2Items.getItem("advancedCircuit"),
|
||||
'E', drillStack
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ import ic2.api.recipe.RecipeInputOreDict;
|
|||
import ic2.api.recipe.Recipes;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
@ -69,6 +70,9 @@ public class RecipesIC2 implements ICompatModule {
|
|||
}
|
||||
|
||||
static void addShappedIc2Recipes() {
|
||||
Item drill = IC2Items.getItem("miningDrill").getItem();
|
||||
ItemStack drillStack = new ItemStack(drill, 1, OreDictionary.WILDCARD_VALUE);
|
||||
|
||||
if (ConfigTechReborn.ExpensiveMacerator)
|
||||
CraftingHelper.addShapedOreRecipe(IC2Items.getItem("macerator"),
|
||||
"FDF", "DMD", "FCF",
|
||||
|
@ -89,7 +93,7 @@ public class RecipesIC2 implements ICompatModule {
|
|||
" D ", "DBD", "TCT",
|
||||
'D', "gemDiamond",
|
||||
'T', "ingotTitanium",
|
||||
'B', IC2Items.getItem("miningDrill"),
|
||||
'B', drillStack,
|
||||
'C', IC2Items.getItem("advancedCircuit"));
|
||||
|
||||
if (ConfigTechReborn.ExpensiveSolar)
|
||||
|
|
Loading…
Reference in a new issue