aboutsummaryrefslogtreecommitdiff
path: root/main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java
diff options
context:
space:
mode:
authorBlood-Asp <bloodasphendrik@gmail.com>2015-06-24 19:34:37 +0200
committerBlood-Asp <bloodasphendrik@gmail.com>2015-06-24 19:34:37 +0200
commit6591e802e925a1f57d62b8d506936d6d5e9fde3c (patch)
tree53e53ff64d2902c639951bd1d41f942ee171f836 /main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java
parent55c596b008807a7cb4b58422efd07636425be1e2 (diff)
parenta1504799f44ba2debdfef06317f24e7f9c1129d6 (diff)
downloadGT5-Unofficial-6591e802e925a1f57d62b8d506936d6d5e9fde3c.tar.gz
GT5-Unofficial-6591e802e925a1f57d62b8d506936d6d5e9fde3c.tar.bz2
GT5-Unofficial-6591e802e925a1f57d62b8d506936d6d5e9fde3c.zip
Merge pull request #71 from aerospark/devel
Linenumber strip Well, let's try this, but i'm not going trough all classes to make sure there is nothing broken.
Diffstat (limited to 'main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java')
-rw-r--r--main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java72
1 files changed, 36 insertions, 36 deletions
diff --git a/main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java b/main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java
index 41f60f948b..209ac0ff99 100644
--- a/main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java
+++ b/main/java/gregtech/loaders/oreprocessing/ProcessingPlate3.java
@@ -1,39 +1,39 @@
-/* */ package gregtech.loaders.oreprocessing;
-/* */
-/* */ import gregtech.api.GregTech_API;
-/* */ 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.util.GT_ModHandler;
-/* */ import gregtech.api.util.GT_OreDictUnificator;
-/* */ import gregtech.api.util.GT_Utility;
-/* */ import net.minecraft.item.ItemStack;
-/* */
-/* */ public class ProcessingPlate3 implements gregtech.api.interfaces.IOreRecipeRegistrator
-/* */ {
-/* */ public ProcessingPlate3()
-/* */ {
-/* 17 */ OrePrefixes.plateTriple.add(this);
-/* */ }
-/* */
-/* */ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack)
-/* */ {
-/* 22 */ GT_ModHandler.removeRecipeByOutput(aStack);
-/* */
-/* 24 */ GregTech_API.registerCover(aStack, new gregtech.api.objects.GT_RenderedTexture(aMaterial.mIconSet.mTextures[73], aMaterial.mRGBa, false), null);
-/* */
-/* 26 */ if (!aMaterial.contains(gregtech.api.enums.SubTag.NO_SMASHING)) {
-/* 27 */ GT_Values.RA.addBenderRecipe(GT_Utility.copyAmount(3L, new Object[] { aStack }), GT_OreDictUnificator.get(OrePrefixes.plateDense, aMaterial, 1L), (int)Math.max(aMaterial.getMass() * 3L, 1L), 96);
-/* */ }
-/* 29 */ if ((!aMaterial.contains(gregtech.api.enums.SubTag.NO_SMASHING)) && (GregTech_API.sRecipeFile.get(gregtech.api.enums.ConfigCategories.Tools.hammertripleplate, OrePrefixes.plate.get(aMaterial).toString(), true))) {
-/* 30 */ GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(1L, new Object[] { aStack }), gregtech.api.util.GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | gregtech.api.util.GT_ModHandler.RecipeBits.BUFFERED, new Object[] { "I", "B", "h", Character.valueOf('I'), OrePrefixes.plateDouble.get(aMaterial), Character.valueOf('B'), OrePrefixes.plate.get(aMaterial) });
-/* 31 */ GT_ModHandler.addShapelessCraftingRecipe(GT_Utility.copyAmount(1L, new Object[] { aStack }), new Object[] { gregtech.api.enums.ToolDictNames.craftingToolForgeHammer, OrePrefixes.plate.get(aMaterial), OrePrefixes.plate.get(aMaterial), OrePrefixes.plate.get(aMaterial) });
-/* */ } else {
-/* 33 */ GT_Values.RA.addAssemblerRecipe(GT_OreDictUnificator.get(OrePrefixes.plate, aMaterial, 3L), gregtech.api.enums.ItemList.Circuit_Integrated.getWithDamage(0L, 3L, new Object[0]), Materials.Glue.getFluid(20L), GT_Utility.copyAmount(1L, new Object[] { aStack }), 96, 8);
-/* */ }
-/* */ }
-/* */ }
+package gregtech.loaders.oreprocessing;
+
+import gregtech.api.GregTech_API;
+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.util.GT_ModHandler;
+import gregtech.api.util.GT_OreDictUnificator;
+import gregtech.api.util.GT_Utility;
+import net.minecraft.item.ItemStack;
+
+public class ProcessingPlate3 implements gregtech.api.interfaces.IOreRecipeRegistrator
+{
+ public ProcessingPlate3()
+ {
+ OrePrefixes.plateTriple.add(this);
+ }
+
+ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack)
+ {
+ GT_ModHandler.removeRecipeByOutput(aStack);
+
+ GregTech_API.registerCover(aStack, new gregtech.api.objects.GT_RenderedTexture(aMaterial.mIconSet.mTextures[73], aMaterial.mRGBa, false), null);
+
+ if (!aMaterial.contains(gregtech.api.enums.SubTag.NO_SMASHING)) {
+ GT_Values.RA.addBenderRecipe(GT_Utility.copyAmount(3L, new Object[] { aStack }), GT_OreDictUnificator.get(OrePrefixes.plateDense, aMaterial, 1L), (int)Math.max(aMaterial.getMass() * 3L, 1L), 96);
+ }
+ if ((!aMaterial.contains(gregtech.api.enums.SubTag.NO_SMASHING)) && (GregTech_API.sRecipeFile.get(gregtech.api.enums.ConfigCategories.Tools.hammertripleplate, OrePrefixes.plate.get(aMaterial).toString(), true))) {
+ GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(1L, new Object[] { aStack }), gregtech.api.util.GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | gregtech.api.util.GT_ModHandler.RecipeBits.BUFFERED, new Object[] { "I", "B", "h", Character.valueOf('I'), OrePrefixes.plateDouble.get(aMaterial), Character.valueOf('B'), OrePrefixes.plate.get(aMaterial) });
+ GT_ModHandler.addShapelessCraftingRecipe(GT_Utility.copyAmount(1L, new Object[] { aStack }), new Object[] { gregtech.api.enums.ToolDictNames.craftingToolForgeHammer, OrePrefixes.plate.get(aMaterial), OrePrefixes.plate.get(aMaterial), OrePrefixes.plate.get(aMaterial) });
+ } else {
+ GT_Values.RA.addAssemblerRecipe(GT_OreDictUnificator.get(OrePrefixes.plate, aMaterial, 3L), gregtech.api.enums.ItemList.Circuit_Integrated.getWithDamage(0L, 3L, new Object[0]), Materials.Glue.getFluid(20L), GT_Utility.copyAmount(1L, new Object[] { aStack }), 96, 8);
+ }
+ }
+}
/* Location: F:\Torrent\minecraft\jdgui test\gregtech_1.7.10-5.07.07-dev.jar!\gregtech\loaders\oreprocessing\ProcessingPlate3.class