diff options
Diffstat (limited to 'main/java/gregtech/loaders/oreprocessing/ProcessingItem.java')
-rw-r--r-- | main/java/gregtech/loaders/oreprocessing/ProcessingItem.java | 158 |
1 files changed, 75 insertions, 83 deletions
diff --git a/main/java/gregtech/loaders/oreprocessing/ProcessingItem.java b/main/java/gregtech/loaders/oreprocessing/ProcessingItem.java index c2d65ed174..653b1de9f2 100644 --- a/main/java/gregtech/loaders/oreprocessing/ProcessingItem.java +++ b/main/java/gregtech/loaders/oreprocessing/ProcessingItem.java @@ -1,84 +1,76 @@ -/* 1: */ package gregtech.loaders.oreprocessing;
-/* 2: */
-/* 3: */ import gregtech.api.enums.GT_Values;
-/* 4: */ import gregtech.api.enums.Materials;
-/* 5: */ import gregtech.api.enums.OrePrefixes;
-/* 6: */ import gregtech.api.interfaces.IOreRecipeRegistrator;
-/* 7: */ import gregtech.api.interfaces.internal.IGT_RecipeAdder;
-/* 8: */ import gregtech.api.objects.ItemData;
-/* 9: */ import gregtech.api.objects.MaterialStack;
-/* 10: */ import gregtech.api.util.GT_ModHandler;
-/* 11: */ import gregtech.api.util.GT_OreDictUnificator;
-/* 12: */ import gregtech.api.util.GT_Utility;
-/* 13: */ import java.io.PrintStream;
-/* 14: */ import net.minecraft.item.ItemStack;
-/* 15: */
-/* 16: */ public class ProcessingItem
-/* 17: */ implements IOreRecipeRegistrator
-/* 18: */ {
-/* 19: */ public ProcessingItem()
-/* 20: */ {
-/* 21:18 */ OrePrefixes.item.add(this);
-/* 22: */ }
-/* 23: */
-/* 24: */ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack)
-/* 25: */ {
-/* 26:23 */ if (GT_OreDictUnificator.getItemData(aStack) == null) {
-/* 27:26 */ if (!aOreDictName.equals("itemCertusQuartz")) {
-/* 28:29 */ if (!aOreDictName.equals("itemNetherQuartz")) {
-/* 29:32 */ if (aOreDictName.equals("itemSilicon"))
-/* 30: */ {
-/* 31:33 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Silicon, 3628800L, new MaterialStack[0]));
-/* 32:34 */ GT_Values.RA.addFormingPressRecipe(GT_Utility.copyAmount(1L, new Object[] { aStack }), GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 0L, 19), GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 1L, 20), 200, 16);
-/* 33: */ }
-/* 34:36 */ else if (aOreDictName.equals("itemWheat"))
-/* 35: */ {
-/* 36:37 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Wheat, 3628800L, new MaterialStack[0]));
-/* 37: */ }
-/* 38:39 */ else if (aOreDictName.equals("itemManganese"))
-/* 39: */ {
-/* 40:40 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Manganese, 3628800L, new MaterialStack[0]));
-/* 41: */ }
-/* 42:42 */ else if (aOreDictName.equals("itemSalt"))
-/* 43: */ {
-/* 44:43 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Salt, 3628800L, new MaterialStack[0]));
-/* 45: */ }
-/* 46:45 */ else if (aOreDictName.equals("itemMagnesium"))
-/* 47: */ {
-/* 48:46 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Magnesium, 3628800L, new MaterialStack[0]));
-/* 49: */ }
-/* 50:48 */ else if ((aOreDictName.equals("itemPhosphorite")) || (aOreDictName.equals("itemPhosphorus")))
-/* 51: */ {
-/* 52:49 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Phosphorus, 3628800L, new MaterialStack[0]));
-/* 53: */ }
-/* 54:51 */ else if (aOreDictName.equals("itemSulfur"))
-/* 55: */ {
-/* 56:52 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Sulfur, 3628800L, new MaterialStack[0]));
-/* 57: */ }
-/* 58:54 */ else if ((aOreDictName.equals("itemAluminum")) || (aOreDictName.equals("itemAluminium")))
-/* 59: */ {
-/* 60:55 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Aluminium, 3628800L, new MaterialStack[0]));
-/* 61: */ }
-/* 62:57 */ else if (aOreDictName.equals("itemSaltpeter"))
-/* 63: */ {
-/* 64:58 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Saltpeter, 3628800L, new MaterialStack[0]));
-/* 65: */ }
-/* 66:60 */ else if (aOreDictName.equals("itemUranium"))
-/* 67: */ {
-/* 68:61 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Uranium, 3628800L, new MaterialStack[0]));
-/* 69: */ }
-/* 70: */ else
-/* 71: */ {
-/* 72:64 */ System.out.println("Item Name: " + aOreDictName + " !!!Unknown Item detected!!! Please report to GregTech Intergalactical for additional compatiblity. This is not an Error, it's just an Information.");
-/* 73: */ }
-/* 74: */ }
-/* 75: */ }
-/* 76: */ }
-/* 77: */ }
-/* 78: */ }
-
-
-/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
- * Qualified Name: gregtech.loaders.oreprocessing.ProcessingItem
- * JD-Core Version: 0.7.0.1
+/* */ package gregtech.loaders.oreprocessing; +/* */ +/* */ import gregtech.api.enums.GT_Values; +/* */ import gregtech.api.enums.Materials; +/* */ import gregtech.api.enums.OrePrefixes; +/* */ import gregtech.api.interfaces.internal.IGT_RecipeAdder; +/* */ import gregtech.api.objects.ItemData; +/* */ import gregtech.api.objects.MaterialStack; +/* */ import gregtech.api.util.GT_ModHandler; +/* */ import gregtech.api.util.GT_OreDictUnificator; +/* */ import gregtech.api.util.GT_Utility; +/* */ import net.minecraft.item.ItemStack; +/* */ +/* */ public class ProcessingItem implements gregtech.api.interfaces.IOreRecipeRegistrator +/* */ { +/* */ public ProcessingItem() +/* */ { +/* 18 */ OrePrefixes.item.add(this); +/* */ } +/* */ +/* */ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) +/* */ { +/* 23 */ if (GT_OreDictUnificator.getItemData(aStack) == null) +/* */ { +/* */ +/* 26 */ if (!aOreDictName.equals("itemCertusQuartz")) +/* */ { +/* */ +/* 29 */ if (!aOreDictName.equals("itemNetherQuartz")) +/* */ { +/* */ +/* 32 */ if (aOreDictName.equals("itemSilicon")) { +/* 33 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Silicon, 3628800L, new MaterialStack[0])); +/* 34 */ GT_Values.RA.addFormingPressRecipe(GT_Utility.copyAmount(1L, new Object[] { aStack }), GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 0L, 19), GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 1L, 20), 200, 16); +/* */ } +/* 36 */ else if (aOreDictName.equals("itemWheat")) { +/* 37 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Wheat, 3628800L, new MaterialStack[0])); +/* */ } +/* 39 */ else if (aOreDictName.equals("itemManganese")) { +/* 40 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Manganese, 3628800L, new MaterialStack[0])); +/* */ } +/* 42 */ else if (aOreDictName.equals("itemSalt")) { +/* 43 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Salt, 3628800L, new MaterialStack[0])); +/* */ } +/* 45 */ else if (aOreDictName.equals("itemMagnesium")) { +/* 46 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Magnesium, 3628800L, new MaterialStack[0])); +/* */ } +/* 48 */ else if ((aOreDictName.equals("itemPhosphorite")) || (aOreDictName.equals("itemPhosphorus"))) { +/* 49 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Phosphorus, 3628800L, new MaterialStack[0])); +/* */ } +/* 51 */ else if (aOreDictName.equals("itemSulfur")) { +/* 52 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Sulfur, 3628800L, new MaterialStack[0])); +/* */ } +/* 54 */ else if ((aOreDictName.equals("itemAluminum")) || (aOreDictName.equals("itemAluminium"))) { +/* 55 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Aluminium, 3628800L, new MaterialStack[0])); +/* */ } +/* 57 */ else if (aOreDictName.equals("itemSaltpeter")) { +/* 58 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Saltpeter, 3628800L, new MaterialStack[0])); +/* */ } +/* 60 */ else if (aOreDictName.equals("itemUranium")) { +/* 61 */ GT_OreDictUnificator.addItemData(aStack, new ItemData(Materials.Uranium, 3628800L, new MaterialStack[0])); +/* */ } +/* */ else { +/* 64 */ System.out.println("Item Name: " + aOreDictName + " !!!Unknown Item detected!!! Please report to GregTech Intergalactical for additional compatiblity. This is not an Error, it's just an Information."); +/* */ } +/* */ } +/* */ } +/* */ } +/* */ } +/* */ } + + +/* Location: F:\Torrent\minecraft\jdgui test\gregtech_1.7.10-5.07.07-dev.jar!\gregtech\loaders\oreprocessing\ProcessingItem.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1-SNAPSHOT-20140817 */
\ No newline at end of file |