From 7a7ef0ba1112adf7a244eb147bf42fcbe4648bc6 Mon Sep 17 00:00:00 2001 From: VT-14 Date: Fri, 10 Feb 2017 14:19:12 -0500 Subject: [PATCH] OreDictionary Support for the PPE and Security Manager. (#976) * Crafting Tables and Chest Partial OreDict Support Added "workbench" to the Processing Pattern Encoder and "chest" to the Security Manager. I was unable to apply Ore Dictionary support to Solderer recipes. Currently unable to 'fix' the Crafting Grid, Crafting Upgrade (another file), or Disk Drive. * Actually use the ore dictionary in those recipes --- .../refinedstorage/proxy/ProxyCommon.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java b/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java index ff073aa50..1976027a4 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java @@ -428,16 +428,16 @@ public class ProxyCommon { ); // Processing Pattern Encoder - GameRegistry.addRecipe(new ItemStack(RSBlocks.PROCESSING_PATTERN_ENCODER), + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RSBlocks.PROCESSING_PATTERN_ENCODER), "ECE", "PMP", "EFE", 'E', new ItemStack(RSItems.QUARTZ_ENRICHED_IRON), 'M', new ItemStack(RSBlocks.MACHINE_CASING), 'P', new ItemStack(RSItems.PATTERN), - 'C', new ItemStack(Blocks.CRAFTING_TABLE), + 'C', "workbench", 'F', new ItemStack(Blocks.FURNACE) - ); + )); // External Storage GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RSBlocks.EXTERNAL_STORAGE), @@ -778,7 +778,7 @@ public class ProxyCommon { ); // Security Manager - GameRegistry.addShapedRecipe(new ItemStack(RSBlocks.SECURITY_MANAGER), + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RSBlocks.SECURITY_MANAGER), "ECE", "SMS", "ESE", @@ -786,8 +786,8 @@ public class ProxyCommon { 'P', new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_ADVANCED), 'M', new ItemStack(RSBlocks.MACHINE_CASING), 'S', new ItemStack(RSItems.SECURITY_CARD), - 'C', new ItemStack(Blocks.CHEST) - ); + 'C', "chest" + )); // Security Card GameRegistry.addShapedRecipe(new ItemStack(RSItems.SECURITY_CARD),