diff options
author | Muramasa <haydenkilloh@gmail.com> | 2016-08-17 06:09:55 +0100 |
---|---|---|
committer | Muramasa <haydenkilloh@gmail.com> | 2016-08-17 06:09:55 +0100 |
commit | 691767326453c14bd0e596399658bd0f3f708e88 (patch) | |
tree | 22a4c36daa85d427fa8d715054094d39467ee8a1 /src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java | |
parent | e6ecf4f2989eed1caedab4e0b01a13ddfd1be0b2 (diff) | |
download | GT5-Unofficial-691767326453c14bd0e596399658bd0f3f708e88.tar.gz GT5-Unofficial-691767326453c14bd0e596399658bd0f3f708e88.tar.bz2 GT5-Unofficial-691767326453c14bd0e596399658bd0f3f708e88.zip |
Initial
Fixed Materials limitation
Added ability to add Materials via a config
Added ability to change all properties of a Material via a config
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java')
-rw-r--r-- | src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java index e07ea64bf4..59c795299b 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java @@ -56,16 +56,16 @@ public class ProcessingBlock implements gregtech.api.interfaces.IOreRecipeRegist GT_ModHandler.addShapelessCraftingRecipe(tStack1, new Object[]{OrePrefixes.block.get(aMaterial)}); } } - switch (aMaterial) { - case Mercury: + switch (aMaterial.mName) { + case "Mercury": System.err.println("'blockQuickSilver'?, In which Ice Desert can you actually place this as a solid Block?"); break; - case Iron: - case WroughtIron: + case "Iron": + case "WroughtIron": GT_Values.RA.addExtruderRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), ItemList.Shape_Extruder_Rod.get(0L, new Object[0]), ItemList.IC2_ShaftIron.get(1L, new Object[0]), 640, 120); GT_Values.RA.addAssemblerRecipe(ItemList.IC2_Compressed_Coal_Ball.get(8L, new Object[0]), GT_Utility.copyAmount(1L, new Object[]{aStack}), ItemList.IC2_Compressed_Coal_Chunk.get(1L, new Object[0]), 400, 4); break; - case Steel: + case "Steel": GT_Values.RA.addExtruderRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), ItemList.Shape_Extruder_Rod.get(0L, new Object[0]), ItemList.IC2_ShaftSteel.get(1L, new Object[0]), 1280, 120); GT_Values.RA.addAssemblerRecipe(ItemList.IC2_Compressed_Coal_Ball.get(8L, new Object[0]), GT_Utility.copyAmount(1L, new Object[]{aStack}), ItemList.IC2_Compressed_Coal_Chunk.get(1L, new Object[0]), 400, 4); } |