diff --git a/CHANGELOG.md b/CHANGELOG.md index 494990b49..a67b102b6 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Refined Storage Changelog +### 0.8.8 +**Bugfixes** +- Use ore dictionary for recipes with glass + ### 0.8.7 **Bugfixes** - Improved detector model, add a better hitbox for it diff --git a/src/main/java/refinedstorage/proxy/CommonProxy.java b/src/main/java/refinedstorage/proxy/CommonProxy.java index 66a173bcc..6a3123093 100755 --- a/src/main/java/refinedstorage/proxy/CommonProxy.java +++ b/src/main/java/refinedstorage/proxy/CommonProxy.java @@ -190,14 +190,14 @@ public class CommonProxy { )); // Cable - GameRegistry.addRecipe(new ItemStack(RefinedStorageBlocks.CABLE, 12), + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RefinedStorageBlocks.CABLE, 12), "EEE", "GRG", "EEE", 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON), - 'G', new ItemStack(Blocks.GLASS), + 'G', "blockGlass", 'R', new ItemStack(Items.REDSTONE) - ); + )); // Wireless Transmitter GameRegistry.addRecipe(new ItemStack(RefinedStorageBlocks.WIRELESS_TRANSMITTER), @@ -345,7 +345,7 @@ public class CommonProxy { 'R', new ItemStack(Items.REDSTONE), 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON), 'S', "itemSilicon", - 'G', new ItemStack(Blocks.GLASS) + 'G', "blockGlass" )); GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.STORAGE_PART, 1, ItemStoragePart.TYPE_4K), @@ -379,28 +379,28 @@ public class CommonProxy { ); // Storage Housing - GameRegistry.addRecipe(NBTStorage.createStackWithNBT(new ItemStack(RefinedStorageItems.STORAGE_HOUSING)), + GameRegistry.addRecipe(new ShapedOreRecipe(NBTStorage.createStackWithNBT(new ItemStack(RefinedStorageItems.STORAGE_HOUSING)), "GRG", "R R", "EEE", - 'G', new ItemStack(Blocks.GLASS), + 'G', "blockGlass", 'R', new ItemStack(Items.REDSTONE), 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON) - ); + )); // Storage Disks for (int type = 0; type <= 3; ++type) { ItemStack disk = NBTStorage.createStackWithNBT(new ItemStack(RefinedStorageItems.STORAGE_DISK, 1, type)); - GameRegistry.addRecipe(disk, + GameRegistry.addRecipe(new ShapedOreRecipe(disk, "GRG", "RPR", "EEE", - 'G', new ItemStack(Blocks.GLASS), + 'G', "blockGlass", 'R', new ItemStack(Items.REDSTONE), 'P', new ItemStack(RefinedStorageItems.STORAGE_PART, 1, type), 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON) - ); + )); GameRegistry.addShapelessRecipe(disk, new ItemStack(RefinedStorageItems.STORAGE_HOUSING), @@ -409,24 +409,24 @@ public class CommonProxy { } // Pattern - GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.PATTERN), + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RefinedStorageItems.PATTERN), "GRG", "RGR", "EEE", - 'G', new ItemStack(Blocks.GLASS), + 'G', "blockGlass", 'R', new ItemStack(Items.REDSTONE), 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON) - ); + )); // Upgrade - GameRegistry.addRecipe(new ItemStack(RefinedStorageItems.UPGRADE, 1, 0), + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RefinedStorageItems.UPGRADE, 1, 0), "EGE", "EPE", "EGE", - 'G', new ItemStack(Blocks.GLASS), + 'G', "blockGlass", 'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_IMPROVED), 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON) - ); + )); RefinedStorageAPI.SOLDERER_REGISTRY.addRecipe(new SoldererRecipeUpgrade(ItemUpgrade.TYPE_RANGE)); RefinedStorageAPI.SOLDERER_REGISTRY.addRecipe(new SoldererRecipeUpgrade(ItemUpgrade.TYPE_SPEED)); @@ -447,15 +447,15 @@ public class CommonProxy { RefinedStorageAPI.SOLDERER_REGISTRY.addRecipe(new SoldererRecipeStorage(EnumStorageType.TYPE_64K, ItemStoragePart.TYPE_64K)); // Crafting Monitor - GameRegistry.addRecipe(new ItemStack(RefinedStorageBlocks.CRAFTING_MONITOR), + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(RefinedStorageBlocks.CRAFTING_MONITOR), "EGE", "GMG", "EPE", 'E', new ItemStack(RefinedStorageItems.QUARTZ_ENRICHED_IRON), 'M', new ItemStack(RefinedStorageBlocks.MACHINE_CASING), - 'G', new ItemStack(Blocks.GLASS), + 'G', "blockGlass", 'P', new ItemStack(RefinedStorageItems.PROCESSOR, 1, ItemProcessor.TYPE_IMPROVED) - ); + )); // Interface RefinedStorageAPI.SOLDERER_REGISTRY.addRecipe(new SoldererRecipeBasic(