Merge pull request #3003 from Adaptivity/oredictsupp
More Ore Dictionary support for recipes
This commit is contained in:
commit
a9ab2e8b71
6 changed files with 16 additions and 13 deletions
|
@ -616,10 +616,10 @@ public class BuildCraftBuilders extends BuildCraftMod {
|
|||
"dyeBlack", 'p', Items.paper);
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(blueprintItem, 1), "ppp", "pip", "ppp", 'i',
|
||||
new ItemStack(Items.dye, 1, 4), 'p', Items.paper);
|
||||
"gemLapis", 'p', Items.paper);
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(markerBlock, 1), "l ", "r ", 'l',
|
||||
new ItemStack(Items.dye, 1, 4), 'r', Blocks.redstone_torch);
|
||||
"gemLapis", 'r', Blocks.redstone_torch);
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(pathMarkerBlock, 1), "l ", "r ", 'l',
|
||||
"dyeGreen", 'r', Blocks.redstone_torch);
|
||||
|
@ -629,15 +629,15 @@ public class BuildCraftBuilders extends BuildCraftMod {
|
|||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(fillerBlock, 1), "btb", "ycy", "gCg", 'b',
|
||||
"dyeBlack", 't', markerBlock, 'y', "dyeYellow",
|
||||
'c', Blocks.crafting_table, 'g', "gearGold", 'C', Blocks.chest);
|
||||
'c', "craftingTableWood", 'g', "gearGold", 'C', "chestWood");
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(builderBlock, 1), "btb", "ycy", "gCg", 'b',
|
||||
"dyeBlack", 't', markerBlock, 'y', "dyeYellow",
|
||||
'c', Blocks.crafting_table, 'g', "gearDiamond", 'C', Blocks.chest);
|
||||
'c', "craftingTableWood", 'g', "gearDiamond", 'C', "chestWood");
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(architectBlock, 1), "btb", "ycy", "gCg", 'b',
|
||||
"dyeBlack", 't', markerBlock, 'y', "dyeYellow",
|
||||
'c', Blocks.crafting_table, 'g', "gearDiamond", 'C',
|
||||
'c', "craftingTableWood", 'g', "gearDiamond", 'C',
|
||||
new ItemStack(blueprintItem, 1));
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(libraryBlock, 1), "bbb", "bBb", "bbb", 'b',
|
||||
|
|
|
@ -364,6 +364,9 @@ public class BuildCraftCore extends BuildCraftMod {
|
|||
FMLCommonHandler.instance().bus().register(this);
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
MinecraftForge.EVENT_BUS.register(new BlockHighlightHandler());
|
||||
|
||||
OreDictionary.registerOre("chestWood", Blocks.chest);
|
||||
OreDictionary.registerOre("craftingTableWood", Blocks.crafting_table);
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
|
|
|
@ -198,14 +198,14 @@ public class BuildCraftFactory extends BuildCraftMod {
|
|||
if (autoWorkbenchBlock != null) {
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(autoWorkbenchBlock),
|
||||
"gwg",
|
||||
'w', Blocks.crafting_table,
|
||||
'w', "craftingTableWood",
|
||||
'g', "gearStone");
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(autoWorkbenchBlock),
|
||||
"g",
|
||||
"w",
|
||||
"g",
|
||||
'w', Blocks.crafting_table,
|
||||
'w', "craftingTableWood",
|
||||
'g', "gearStone");
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ public class BuildCraftFactory extends BuildCraftMod {
|
|||
"ICI",
|
||||
" G ",
|
||||
'I', "ingotIron",
|
||||
'C', Blocks.chest,
|
||||
'C', "chestWood",
|
||||
'G', "gearStone");
|
||||
|
||||
CoreProxy.proxy.addShapelessRecipe(new ItemStack(hopperBlock), Blocks.hopper, "gearStone");
|
||||
|
|
|
@ -367,7 +367,7 @@ public class BuildCraftRobotics extends BuildCraftMod {
|
|||
"IPI",
|
||||
"GCG",
|
||||
"IRI",
|
||||
'C', Blocks.chest,
|
||||
'C', "chestWood",
|
||||
'R', "dustRedstone",
|
||||
'P', Blocks.piston,
|
||||
'G', "gearIron",
|
||||
|
|
|
@ -237,7 +237,7 @@ public class BuildCraftSilicon extends BuildCraftMod {
|
|||
"OGO",
|
||||
'O', Blocks.obsidian,
|
||||
'R', new ItemStack(redstoneChipset, 1, 0),
|
||||
'C', Items.emerald,
|
||||
'C', "gemEmerald",
|
||||
'G', "gearDiamond");
|
||||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(assemblyTableBlock, 1, 5),
|
||||
|
@ -245,7 +245,7 @@ public class BuildCraftSilicon extends BuildCraftMod {
|
|||
"ORO",
|
||||
"OGO",
|
||||
'O', Blocks.obsidian,
|
||||
'W', Blocks.crafting_table,
|
||||
'W', "craftingTableWood",
|
||||
'G', "gearGold",
|
||||
'R', new ItemStack(redstoneChipset, 1, 0));
|
||||
|
||||
|
@ -254,7 +254,7 @@ public class BuildCraftSilicon extends BuildCraftMod {
|
|||
"ICI",
|
||||
" P ",
|
||||
'I', "ingotIron",
|
||||
'C', Blocks.crafting_table,
|
||||
'C', "craftingTableWood",
|
||||
'P', Blocks.piston);
|
||||
|
||||
// CHIPSETS
|
||||
|
|
|
@ -648,7 +648,7 @@ public class BuildCraftTransport extends BuildCraftMod {
|
|||
|
||||
CoreProxy.proxy.addCraftingRecipe(new ItemStack(filteredBufferBlock, 1),
|
||||
"wdw", "wcw", "wpw", 'w', "plankWood", 'd',
|
||||
BuildCraftTransport.pipeItemsDiamond, 'c', Blocks.chest, 'p',
|
||||
BuildCraftTransport.pipeItemsDiamond, 'c', "chestWood", 'p',
|
||||
Blocks.piston);
|
||||
|
||||
//Facade turning helper
|
||||
|
|
Loading…
Reference in a new issue