aboutsummaryrefslogtreecommitdiff
path: root/main/java/gregtech/common/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'main/java/gregtech/common/blocks')
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Casings1.java178
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Casings2.java202
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Casings3.java184
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Casings4.java148
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Casings_Abstract.java280
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Concretes.java208
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Granites.java160
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Machines.java1142
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Ores.java522
-rw-r--r--main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java350
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Casings1.java58
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Casings2.java50
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Casings3.java24
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Casings4.java24
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Casings_Abstract.java90
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Concretes.java48
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Granites.java24
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Machines.java332
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Ores.java108
-rw-r--r--main/java/gregtech/common/blocks/GT_Item_Stones_Abstract.java82
-rw-r--r--main/java/gregtech/common/blocks/GT_Material_Casings.java42
-rw-r--r--main/java/gregtech/common/blocks/GT_Material_Machines.java42
-rw-r--r--main/java/gregtech/common/blocks/GT_Packet_Ores.java136
-rw-r--r--main/java/gregtech/common/blocks/GT_TileEntity_Ores.java488
24 files changed, 2461 insertions, 2461 deletions
diff --git a/main/java/gregtech/common/blocks/GT_Block_Casings1.java b/main/java/gregtech/common/blocks/GT_Block_Casings1.java
index eea1784635..a24aee847f 100644
--- a/main/java/gregtech/common/blocks/GT_Block_Casings1.java
+++ b/main/java/gregtech/common/blocks/GT_Block_Casings1.java
@@ -1,93 +1,93 @@
-/* 1: */ package gregtech.common.blocks;
-/* 2: */
-/* 3: */ import gregtech.api.enums.ItemList;
+package gregtech.common.blocks;
+
+import gregtech.api.enums.ItemList;
import gregtech.api.enums.Textures;
-/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
-/* 5: */ import gregtech.api.interfaces.IIconContainer;
-/* 6: */ import gregtech.api.objects.GT_CopiedBlockTexture;
-/* 7: */ import gregtech.api.util.GT_LanguageManager;
-/* 8: */ import net.minecraft.item.ItemStack;
-/* 9: */ import net.minecraft.util.IIcon;
-/* 10: */ import net.minecraft.world.IBlockAccess;
-/* 11: */
-/* 12: */ public class GT_Block_Casings1
-/* 13: */ extends GT_Block_Casings_Abstract
-/* 14: */ {
-/* 15: */ public GT_Block_Casings1()
-/* 16: */ {
-/* 17:14 */ super(GT_Item_Casings1.class, "gt.blockcasings", GT_Material_Casings.INSTANCE);
-/* 18:15 */ for (byte i = 0; i < 16; i = (byte)(i + 1)) {
-/* 19:15 */ Textures.BlockIcons.CASING_BLOCKS[i] = new GT_CopiedBlockTexture(this, 6, i);
-/* 20: */ }
-/* 21:16 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "ULV Machine Casing");
-/* 22:17 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "LV Machine Casing");
-/* 23:18 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "MV Machine Casing");
-/* 24:19 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "HV Machine Casing");
-/* 25:20 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "EV Machine Casing");
-/* 26:21 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "IV Machine Casing");
-/* 27:22 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "LuV Machine Casing");
-/* 28:23 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "ZPM Machine Casing");
-/* 29:24 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "UV Machine Casing");
-/* 30:25 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "MAX Machine Casing");
-/* 31:26 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Bronze Plated Bricks");
-/* 32:27 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Heat Proof Machine Casing");
-/* 33:28 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Cupronickel Coil Block");
-/* 34:29 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Kanthal Coil Block");
-/* 35:30 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Nichrome Coil Block");
-/* 36:31 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Superconducting Coil Block");
-/* 37:32 */ ItemList.Casing_ULV.set(new ItemStack(this, 1, 0));
-/* 38:33 */ ItemList.Casing_LV.set(new ItemStack(this, 1, 1));
-/* 39:34 */ ItemList.Casing_MV.set(new ItemStack(this, 1, 2));
-/* 40:35 */ ItemList.Casing_HV.set(new ItemStack(this, 1, 3));
-/* 41:36 */ ItemList.Casing_EV.set(new ItemStack(this, 1, 4));
-/* 42:37 */ ItemList.Casing_IV.set(new ItemStack(this, 1, 5));
-/* 43:38 */ ItemList.Casing_LuV.set(new ItemStack(this, 1, 6));
-/* 44:39 */ ItemList.Casing_ZPM.set(new ItemStack(this, 1, 7));
-/* 45:40 */ ItemList.Casing_UV.set(new ItemStack(this, 1, 8));
-/* 46:41 */ ItemList.Casing_MAX.set(new ItemStack(this, 1, 9));
-/* 47:42 */ ItemList.Casing_BronzePlatedBricks.set(new ItemStack(this, 1, 10));
-/* 48:43 */ ItemList.Casing_HeatProof.set(new ItemStack(this, 1, 11));
-/* 49:44 */ ItemList.Casing_Coil_Cupronickel.set(new ItemStack(this, 1, 12));
-/* 50:45 */ ItemList.Casing_Coil_Kanthal.set(new ItemStack(this, 1, 13));
-/* 51:46 */ ItemList.Casing_Coil_Nichrome.set(new ItemStack(this, 1, 14));
-/* 52:47 */ ItemList.Casing_Coil_Superconductor.set(new ItemStack(this, 1, 15));
-/* 53: */ }
-/* 54: */
-/* 55: */ public IIcon getIcon(int aSide, int aMeta)
-/* 56: */ {
-/* 57:52 */ if ((aMeta >= 0) && (aMeta < 16))
-/* 58: */ {
-/* 59:53 */ switch (aMeta)
-/* 60: */ {
-/* 61: */ case 10:
-/* 62:54 */ return Textures.BlockIcons.MACHINE_BRONZEPLATEDBRICKS.getIcon();
-/* 63: */ case 11:
-/* 64:55 */ return Textures.BlockIcons.MACHINE_HEATPROOFCASING.getIcon();
-/* 65: */ case 12:
-/* 66:56 */ return Textures.BlockIcons.MACHINE_COIL_CUPRONICKEL.getIcon();
-/* 67: */ case 13:
-/* 68:57 */ return Textures.BlockIcons.MACHINE_COIL_KANTHAL.getIcon();
-/* 69: */ case 14:
-/* 70:58 */ return Textures.BlockIcons.MACHINE_COIL_NICHROME.getIcon();
-/* 71: */ case 15:
-/* 72:59 */ return Textures.BlockIcons.MACHINE_COIL_SUPERCONDUCTOR.getIcon();
-/* 73: */ }
-/* 74:61 */ if (aSide == 0) {
-/* 75:61 */ return Textures.BlockIcons.MACHINECASINGS_BOTTOM[aMeta].getIcon();
-/* 76: */ }
-/* 77:62 */ if (aSide == 1) {
-/* 78:62 */ return Textures.BlockIcons.MACHINECASINGS_TOP[aMeta].getIcon();
-/* 79: */ }
-/* 80:63 */ return Textures.BlockIcons.MACHINECASINGS_SIDE[aMeta].getIcon();
-/* 81: */ }
-/* 82:66 */ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
-/* 83: */ }
-/* 84: */
-/* 85: */ public int colorMultiplier(IBlockAccess aWorld, int aX, int aY, int aZ)
-/* 86: */ {
-/* 87:71 */ return aWorld.getBlockMetadata(aX, aY, aZ) > 9 ? super.colorMultiplier(aWorld, aX, aY, aZ) : gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[0] << 16 | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[1] << 8 | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[2];
-/* 88: */ }
-/* 89: */ }
+import gregtech.api.enums.Textures.BlockIcons;
+import gregtech.api.interfaces.IIconContainer;
+import gregtech.api.objects.GT_CopiedBlockTexture;
+import gregtech.api.util.GT_LanguageManager;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.IIcon;
+import net.minecraft.world.IBlockAccess;
+
+public class GT_Block_Casings1
+ extends GT_Block_Casings_Abstract
+{
+ public GT_Block_Casings1()
+ {
+ super(GT_Item_Casings1.class, "gt.blockcasings", GT_Material_Casings.INSTANCE);
+ for (byte i = 0; i < 16; i = (byte)(i + 1)) {
+ Textures.BlockIcons.CASING_BLOCKS[i] = new GT_CopiedBlockTexture(this, 6, i);
+ }
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "ULV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "LV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "MV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "HV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "EV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "IV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "LuV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "ZPM Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "UV Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "MAX Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Bronze Plated Bricks");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Heat Proof Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Cupronickel Coil Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Kanthal Coil Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Nichrome Coil Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Superconducting Coil Block");
+ ItemList.Casing_ULV.set(new ItemStack(this, 1, 0));
+ ItemList.Casing_LV.set(new ItemStack(this, 1, 1));
+ ItemList.Casing_MV.set(new ItemStack(this, 1, 2));
+ ItemList.Casing_HV.set(new ItemStack(this, 1, 3));
+ ItemList.Casing_EV.set(new ItemStack(this, 1, 4));
+ ItemList.Casing_IV.set(new ItemStack(this, 1, 5));
+ ItemList.Casing_LuV.set(new ItemStack(this, 1, 6));
+ ItemList.Casing_ZPM.set(new ItemStack(this, 1, 7));
+ ItemList.Casing_UV.set(new ItemStack(this, 1, 8));
+ ItemList.Casing_MAX.set(new ItemStack(this, 1, 9));
+ ItemList.Casing_BronzePlatedBricks.set(new ItemStack(this, 1, 10));
+ ItemList.Casing_HeatProof.set(new ItemStack(this, 1, 11));
+ ItemList.Casing_Coil_Cupronickel.set(new ItemStack(this, 1, 12));
+ ItemList.Casing_Coil_Kanthal.set(new ItemStack(this, 1, 13));
+ ItemList.Casing_Coil_Nichrome.set(new ItemStack(this, 1, 14));
+ ItemList.Casing_Coil_Superconductor.set(new ItemStack(this, 1, 15));
+ }
+
+ public IIcon getIcon(int aSide, int aMeta)
+ {
+ if ((aMeta >= 0) && (aMeta < 16))
+ {
+ switch (aMeta)
+ {
+ case 10:
+ return Textures.BlockIcons.MACHINE_BRONZEPLATEDBRICKS.getIcon();
+ case 11:
+ return Textures.BlockIcons.MACHINE_HEATPROOFCASING.getIcon();
+ case 12:
+ return Textures.BlockIcons.MACHINE_COIL_CUPRONICKEL.getIcon();
+ case 13:
+ return Textures.BlockIcons.MACHINE_COIL_KANTHAL.getIcon();
+ case 14:
+ return Textures.BlockIcons.MACHINE_COIL_NICHROME.getIcon();
+ case 15:
+ return Textures.BlockIcons.MACHINE_COIL_SUPERCONDUCTOR.getIcon();
+ }
+ if (aSide == 0) {
+ return Textures.BlockIcons.MACHINECASINGS_BOTTOM[aMeta].getIcon();
+ }
+ if (aSide == 1) {
+ return Textures.BlockIcons.MACHINECASINGS_TOP[aMeta].getIcon();
+ }
+ return Textures.BlockIcons.MACHINECASINGS_SIDE[aMeta].getIcon();
+ }
+ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
+ }
+
+ public int colorMultiplier(IBlockAccess aWorld, int aX, int aY, int aZ)
+ {
+ return aWorld.getBlockMetadata(aX, aY, aZ) > 9 ? super.colorMultiplier(aWorld, aX, aY, aZ) : gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[0] << 16 | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[1] << 8 | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[2];
+ }
+}
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
diff --git a/main/java/gregtech/common/blocks/GT_Block_Casings2.java b/main/java/gregtech/common/blocks/GT_Block_Casings2.java
index 88adea04b2..73d049be37 100644
--- a/main/java/gregtech/common/blocks/GT_Block_Casings2.java
+++ b/main/java/gregtech/common/blocks/GT_Block_Casings2.java
@@ -1,105 +1,105 @@
-/* 1: */ package gregtech.common.blocks;
-/* 2: */
-/* 3: */ import gregtech.api.enums.ItemList;
+package gregtech.common.blocks;
+
+import gregtech.api.enums.ItemList;
import gregtech.api.enums.Textures;
-/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
-/* 5: */ import gregtech.api.objects.GT_CopiedBlockTexture;
-/* 6: */ import gregtech.api.util.GT_LanguageManager;
-/* 7: */ import net.minecraft.block.Block;
-/* 8: */ import net.minecraft.entity.Entity;
-/* 9: */ import net.minecraft.init.Blocks;
-/* 10: */ import net.minecraft.item.ItemStack;
-/* 11: */ import net.minecraft.util.IIcon;
-/* 12: */ import net.minecraft.world.World;
-/* 13: */
-/* 14: */ public class GT_Block_Casings2
-/* 15: */ extends GT_Block_Casings_Abstract
-/* 16: */ {
-/* 17: */ public GT_Block_Casings2()
-/* 18: */ {
-/* 19:15 */ super(GT_Item_Casings2.class, "gt.blockcasings2", GT_Material_Casings.INSTANCE);
-/* 20:16 */ for (byte i = 0; i < 16; i = (byte)(i + 1)) {
-/* 21:16 */ Textures.BlockIcons.CASING_BLOCKS[(i + 16)] = new GT_CopiedBlockTexture(this, 6, i);
-/* 22: */ }
-/* 23:17 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Solid Steel Machine Casing");
-/* 24:18 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Frost Proof Machine Casing");
-/* 25:19 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Bronze Gear Box Casing");
-/* 26:20 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Steel Gear Box Casing");
-/* 27:21 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Titanium Gear Box Casing");
-/* 28:22 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Tungstensteel Gear Box Casing");
-/* 29:23 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Processor Machine Casing");
-/* 30:24 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Data Drive Machine Casing");
-/* 31:25 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Containment Field Machine Casing");
-/* 32:26 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Assembler Machine Casing");
-/* 33:27 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Pump Machine Casing");
-/* 34:28 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Motor Machine Casing");
-/* 35:29 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Bronze Pipe Machine Casing");
-/* 36:30 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Steel Pipe Machine Casing");
-/* 37:31 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Titanium Pipe Machine Casing");
-/* 38:32 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Tungstensteel Pipe Machine Casing");
-/* 39:33 */ ItemList.Casing_SolidSteel.set(new ItemStack(this, 1, 0));
-/* 40:34 */ ItemList.Casing_FrostProof.set(new ItemStack(this, 1, 1));
-/* 41:35 */ ItemList.Casing_Gearbox_Bronze.set(new ItemStack(this, 1, 2));
-/* 42:36 */ ItemList.Casing_Gearbox_Steel.set(new ItemStack(this, 1, 3));
-/* 43:37 */ ItemList.Casing_Gearbox_Titanium.set(new ItemStack(this, 1, 4));
-/* 44:38 */ ItemList.Casing_Gearbox_TungstenSteel.set(new ItemStack(this, 1, 5));
-/* 45:39 */ ItemList.Casing_Processor.set(new ItemStack(this, 1, 6));
-/* 46:40 */ ItemList.Casing_DataDrive.set(new ItemStack(this, 1, 7));
-/* 47:41 */ ItemList.Casing_ContainmentField.set(new ItemStack(this, 1, 8));
-/* 48:42 */ ItemList.Casing_Assembler.set(new ItemStack(this, 1, 9));
-/* 49:43 */ ItemList.Casing_Pump.set(new ItemStack(this, 1, 10));
-/* 50:44 */ ItemList.Casing_Motor.set(new ItemStack(this, 1, 11));
-/* 51:45 */ ItemList.Casing_Pipe_Bronze.set(new ItemStack(this, 1, 12));
-/* 52:46 */ ItemList.Casing_Pipe_Steel.set(new ItemStack(this, 1, 13));
-/* 53:47 */ ItemList.Casing_Pipe_Titanium.set(new ItemStack(this, 1, 14));
-/* 54:48 */ ItemList.Casing_Pipe_TungstenSteel.set(new ItemStack(this, 1, 15));
-/* 55: */ }
-/* 56: */
-/* 57: */ public IIcon getIcon(int aSide, int aMeta)
-/* 58: */ {
-/* 59:53 */ switch (aMeta)
-/* 60: */ {
-/* 61: */ case 0:
-/* 62:54 */ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
-/* 63: */ case 1:
-/* 64:55 */ return Textures.BlockIcons.MACHINE_CASING_FROST_PROOF.getIcon();
-/* 65: */ case 2:
-/* 66:56 */ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_BRONZE.getIcon();
-/* 67: */ case 3:
-/* 68:57 */ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_STEEL.getIcon();
-/* 69: */ case 4:
-/* 70:58 */ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_TITANIUM.getIcon();
-/* 71: */ case 5:
-/* 72:59 */ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_TUNGSTENSTEEL.getIcon();
-/* 73: */ case 6:
-/* 74:60 */ return Textures.BlockIcons.MACHINE_CASING_PROCESSOR.getIcon();
-/* 75: */ case 7:
-/* 76:61 */ return Textures.BlockIcons.MACHINE_CASING_DATA_DRIVE.getIcon();
-/* 77: */ case 8:
-/* 78:62 */ return Textures.BlockIcons.MACHINE_CASING_CONTAINMENT_FIELD.getIcon();
-/* 79: */ case 9:
-/* 80:63 */ return Textures.BlockIcons.MACHINE_CASING_ASSEMBLER.getIcon();
-/* 81: */ case 10:
-/* 82:64 */ return Textures.BlockIcons.MACHINE_CASING_PUMP.getIcon();
-/* 83: */ case 11:
-/* 84:65 */ return Textures.BlockIcons.MACHINE_CASING_MOTOR.getIcon();
-/* 85: */ case 12:
-/* 86:66 */ return Textures.BlockIcons.MACHINE_CASING_PIPE_BRONZE.getIcon();
-/* 87: */ case 13:
-/* 88:67 */ return Textures.BlockIcons.MACHINE_CASING_PIPE_STEEL.getIcon();
-/* 89: */ case 14:
-/* 90:68 */ return Textures.BlockIcons.MACHINE_CASING_PIPE_TITANIUM.getIcon();
-/* 91: */ case 15:
-/* 92:69 */ return Textures.BlockIcons.MACHINE_CASING_PIPE_TUNGSTENSTEEL.getIcon();
-/* 93: */ }
-/* 94:71 */ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
-/* 95: */ }
-/* 96: */
-/* 97: */ public float getExplosionResistance(Entity aTNT, World aWorld, int aX, int aY, int aZ, double eX, double eY, double eZ)
-/* 98: */ {
-/* 99:76 */ return aWorld.getBlockMetadata(aX, aY, aZ) == 8 ? Blocks.bedrock.getExplosionResistance(aTNT) : super.getExplosionResistance(aTNT, aWorld, aX, aY, aZ, eX, eY, eZ);
-/* :0: */ }
-/* :1: */ }
+import gregtech.api.enums.Textures.BlockIcons;
+import gregtech.api.objects.GT_CopiedBlockTexture;
+import gregtech.api.util.GT_LanguageManager;
+import net.minecraft.block.Block;
+import net.minecraft.entity.Entity;
+import net.minecraft.init.Blocks;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.IIcon;
+import net.minecraft.world.World;
+
+public class GT_Block_Casings2
+ extends GT_Block_Casings_Abstract
+{
+ public GT_Block_Casings2()
+ {
+ super(GT_Item_Casings2.class, "gt.blockcasings2", GT_Material_Casings.INSTANCE);
+ for (byte i = 0; i < 16; i = (byte)(i + 1)) {
+ Textures.BlockIcons.CASING_BLOCKS[(i + 16)] = new GT_CopiedBlockTexture(this, 6, i);
+ }
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Solid Steel Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Frost Proof Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Bronze Gear Box Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Steel Gear Box Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Titanium Gear Box Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Tungstensteel Gear Box Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Processor Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Data Drive Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Containment Field Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Assembler Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Pump Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Motor Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Bronze Pipe Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Steel Pipe Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Titanium Pipe Machine Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Tungstensteel Pipe Machine Casing");
+ ItemList.Casing_SolidSteel.set(new ItemStack(this, 1, 0));
+ ItemList.Casing_FrostProof.set(new ItemStack(this, 1, 1));
+ ItemList.Casing_Gearbox_Bronze.set(new ItemStack(this, 1, 2));
+ ItemList.Casing_Gearbox_Steel.set(new ItemStack(this, 1, 3));
+ ItemList.Casing_Gearbox_Titanium.set(new ItemStack(this, 1, 4));
+ ItemList.Casing_Gearbox_TungstenSteel.set(new ItemStack(this, 1, 5));
+ ItemList.Casing_Processor.set(new ItemStack(this, 1, 6));
+ ItemList.Casing_DataDrive.set(new ItemStack(this, 1, 7));
+ ItemList.Casing_ContainmentField.set(new ItemStack(this, 1, 8));
+ ItemList.Casing_Assembler.set(new ItemStack(this, 1, 9));
+ ItemList.Casing_Pump.set(new ItemStack(this, 1, 10));
+ ItemList.Casing_Motor.set(new ItemStack(this, 1, 11));
+ ItemList.Casing_Pipe_Bronze.set(new ItemStack(this, 1, 12));
+ ItemList.Casing_Pipe_Steel.set(new ItemStack(this, 1, 13));
+ ItemList.Casing_Pipe_Titanium.set(new ItemStack(this, 1, 14));
+ ItemList.Casing_Pipe_TungstenSteel.set(new ItemStack(this, 1, 15));
+ }
+
+ public IIcon getIcon(int aSide, int aMeta)
+ {
+ switch (aMeta)
+ {
+ case 0:
+ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
+ case 1:
+ return Textures.BlockIcons.MACHINE_CASING_FROST_PROOF.getIcon();
+ case 2:
+ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_BRONZE.getIcon();
+ case 3:
+ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_STEEL.getIcon();
+ case 4:
+ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_TITANIUM.getIcon();
+ case 5:
+ return Textures.BlockIcons.MACHINE_CASING_GEARBOX_TUNGSTENSTEEL.getIcon();
+ case 6:
+ return Textures.BlockIcons.MACHINE_CASING_PROCESSOR.getIcon();
+ case 7:
+ return Textures.BlockIcons.MACHINE_CASING_DATA_DRIVE.getIcon();
+ case 8:
+ return Textures.BlockIcons.MACHINE_CASING_CONTAINMENT_FIELD.getIcon();
+ case 9:
+ return Textures.BlockIcons.MACHINE_CASING_ASSEMBLER.getIcon();
+ case 10:
+ return Textures.BlockIcons.MACHINE_CASING_PUMP.getIcon();
+ case 11:
+ return Textures.BlockIcons.MACHINE_CASING_MOTOR.getIcon();
+ case 12:
+ return Textures.BlockIcons.MACHINE_CASING_PIPE_BRONZE.getIcon();
+ case 13:
+ return Textures.BlockIcons.MACHINE_CASING_PIPE_STEEL.getIcon();
+ case 14:
+ return Textures.BlockIcons.MACHINE_CASING_PIPE_TITANIUM.getIcon();
+ case 15:
+ return Textures.BlockIcons.MACHINE_CASING_PIPE_TUNGSTENSTEEL.getIcon();
+ }
+ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
+ }
+
+ public float getExplosionResistance(Entity aTNT, World aWorld, int aX, int aY, int aZ, double eX, double eY, double eZ)
+ {
+ return aWorld.getBlockMetadata(aX, aY, aZ) == 8 ? Blocks.bedrock.getExplosionResistance(aTNT) : super.getExplosionResistance(aTNT, aWorld, aX, aY, aZ, eX, eY, eZ);
+ }
+}
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
diff --git a/main/java/gregtech/common/blocks/GT_Block_Casings3.java b/main/java/gregtech/common/blocks/GT_Block_Casings3.java
index 8e1a9b0342..30e46a8c45 100644
--- a/main/java/gregtech/common/blocks/GT_Block_Casings3.java
+++ b/main/java/gregtech/common/blocks/GT_Block_Casings3.java
@@ -1,96 +1,96 @@
-/* 1: */ package gregtech.common.blocks;
-/* 2: */
-/* 3: */ import gregtech.api.enums.ItemList;
+package gregtech.common.blocks;
+
+import gregtech.api.enums.ItemList;
import gregtech.api.enums.Textures;
-/* 4: */ import gregtech.api.enums.Textures.BlockIcons;
-/* 5: */ import gregtech.api.objects.GT_CopiedBlockTexture;
-/* 6: */ import gregtech.api.util.GT_LanguageManager;
-/* 7: */ import net.minecraft.item.ItemStack;
-/* 8: */ import net.minecraft.util.IIcon;
-/* 9: */
-/* 10: */ public class GT_Block_Casings3
-/* 11: */ extends GT_Block_Casings_Abstract
-/* 12: */ {
-/* 13: */ public GT_Block_Casings3()
-/* 14: */ {
-/* 15:12 */ super(GT_Item_Casings3.class, "gt.blockcasings3", GT_Material_Casings.INSTANCE);
-/* 16:13 */ for (byte i = 0; i < 16; i = (byte)(i + 1)) {
-/* 17:13 */ Textures.BlockIcons.CASING_BLOCKS[(i + 32)] = new GT_CopiedBlockTexture(this, 6, i);
-/* 18: */ }
-/* 19:14 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Yellow Stripes Block");
-/* 20:15 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Yellow Stripes Block");
-/* 21:16 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Radioactive Hazard Sign Block");
-/* 22:17 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Bio Hazard Sign Block");
-/* 23:18 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Explosion Hazard Sign Block");
-/* 24:19 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Fire Hazard Sign Block");
-/* 25:20 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Acid Hazard Sign Block");
-/* 26:21 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Magic Hazard Sign Block");
-/* 27:22 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Frost Hazard Sign Block");
-/* 28:23 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Noise Hazard Sign Block");
-/* 29:24 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Grate Casing");
-/* 30:25 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Vent Casing");
-/* 31:26 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Radiation Proof Casing");
-/* 32:27 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Bronze Firebox Casing");
-/* 33:28 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Steel Firebox Casing");
-/* 34:29 */ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Tungstensteel Firebox Casing");
-/* 35:30 */ ItemList.Casing_Stripes_A.set(new ItemStack(this, 1, 0));
-/* 36:31 */ ItemList.Casing_Stripes_B.set(new ItemStack(this, 1, 1));
-/* 37:32 */ ItemList.Casing_RadioactiveHazard.set(new ItemStack(this, 1, 2));
-/* 38:33 */ ItemList.Casing_BioHazard.set(new ItemStack(this, 1, 3));
-/* 39:34 */ ItemList.Casing_ExplosionHazard.set(new ItemStack(this, 1, 4));
-/* 40:35 */ ItemList.Casing_FireHazard.set(new ItemStack(this, 1, 5));
-/* 41:36 */ ItemList.Casing_AcidHazard.set(new ItemStack(this, 1, 6));
-/* 42:37 */ ItemList.Casing_MagicHazard.set(new ItemStack(this, 1, 7));
-/* 43:38 */ ItemList.Casing_FrostHazard.set(new ItemStack(this, 1, 8));
-/* 44:39 */ ItemList.Casing_NoiseHazard.set(new ItemStack(this, 1, 9));
-/* 45:40 */ ItemList.Casing_Grate.set(new ItemStack(this, 1, 10));
-/* 46:41 */ ItemList.Casing_Vent.set(new ItemStack(this, 1, 11));
-/* 47:42 */ ItemList.Casing_RadiationProof.set(new ItemStack(this, 1, 12));
-/* 48:43 */ ItemList.Casing_Firebox_Bronze.set(new ItemStack(this, 1, 13));
-/* 49:44 */ ItemList.Casing_Firebox_Steel.set(new ItemStack(this, 1, 14));
-/* 50:45 */ ItemList.Casing_Firebox_TungstenSteel.set(new ItemStack(this, 1, 15));
-/* 51: */ }
-/* 52: */
-/* 53: */ public IIcon getIcon(int aSide, int aMeta)
-/* 54: */ {
-/* 55:50 */ switch (aMeta)
-/* 56: */ {
-/* 57: */ case 0:
-/* 58:51 */ return Textures.BlockIcons.MACHINE_CASING_STRIPES_A.getIcon();
-/* 59: */ case 1:
-/* 60:52 */ return Textures.BlockIcons.MACHINE_CASING_STRIPES_B.getIcon();
-/* 61: */ case 2:
-/* 62:53 */ return Textures.BlockIcons.MACHINE_CASING_RADIOACTIVEHAZARD.getIcon();
-/* 63: */ case 3:
-/* 64:54 */ return Textures.BlockIcons.MACHINE_CASING_BIOHAZARD.getIcon();
-/* 65: */ case 4:
-/* 66:55 */ return Textures.BlockIcons.MACHINE_CASING_EXPLOSIONHAZARD.getIcon();
-/* 67: */ case 5:
-/* 68:56 */ return Textures.BlockIcons.MACHINE_CASING_FIREHAZARD.getIcon();
-/* 69: */ case 6:
-/* 70:57 */ return Textures.BlockIcons.MACHINE_CASING_ACIDHAZARD.getIcon();
-/* 71: */ case 7:
-/* 72:58 */ return Textures.BlockIcons.MACHINE_CASING_MAGICHAZARD.getIcon();
-/* 73: */ case 8:
-/* 74:59 */ return Textures.BlockIcons.MACHINE_CASING_FROSTHAZARD.getIcon();
-/* 75: */ case 9:
-/* 76:60 */ return Textures.BlockIcons.MACHINE_CASING_NOISEHAZARD.getIcon();
-/* 77: */ case 10:
-/* 78:61 */ return Textures.BlockIcons.MACHINE_CASING_GRATE.getIcon();
-/* 79: */ case 11:
-/* 80:62 */ return Textures.BlockIcons.MACHINE_CASING_VENT.getIcon();
-/* 81: */ case 12:
-/* 82:63 */ return Textures.BlockIcons.MACHINE_CASING_RADIATIONPROOF.getIcon();
-/* 83: */ case 13:
-/* 84:64 */ return aSide > 1 ? Textures.BlockIcons.MACHINE_CASING_FIREBOX_BRONZE.getIcon() : Textures.BlockIcons.MACHINE_BRONZEPLATEDBRICKS.getIcon();
-/* 85: */ case 14:
-/* 86:65 */ return aSide > 1 ? Textures.BlockIcons.MACHINE_CASING_FIREBOX_STEEL.getIcon() : Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
-/* 87: */ case 15:
-/* 88:66 */ return aSide > 1 ? Textures.BlockIcons.MACHINE_CASING_FIREBOX_TUNGSTENSTEEL.getIcon() : Textures.BlockIcons.MACHINE_CASING_ROBUST_TUNGSTENSTEEL.getIcon();
-/* 89: */ }
-/* 90:68 */ return Textures.BlockIcons.MACHINE_CASING_SOLID_STEEL.getIcon();
-/* 91: */ }
-/* 92: */ }
+import gregtech.api.enums.Textures.BlockIcons;
+import gregtech.api.objects.GT_CopiedBlockTexture;
+import gregtech.api.util.GT_LanguageManager;
+import net.minecraft.item.ItemStack;
+import net.minecraft.util.IIcon;
+
+public class GT_Block_Casings3
+ extends GT_Block_Casings_Abstract
+{
+ public GT_Block_Casings3()
+ {
+ super(GT_Item_Casings3.class, "gt.blockcasings3", GT_Material_Casings.INSTANCE);
+ for (byte i = 0; i < 16; i = (byte)(i + 1)) {
+ Textures.BlockIcons.CASING_BLOCKS[(i + 32)] = new GT_CopiedBlockTexture(this, 6, i);
+ }
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Yellow Stripes Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".1.name", "Yellow Stripes Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".2.name", "Radioactive Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".3.name", "Bio Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".4.name", "Explosion Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".5.name", "Fire Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".6.name", "Acid Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".7.name", "Magic Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".8.name", "Frost Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".9.name", "Noise Hazard Sign Block");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".10.name", "Grate Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".11.name", "Vent Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".12.name", "Radiation Proof Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".13.name", "Bronze Firebox Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".14.name", "Steel Firebox Casing");
+ GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".15.name", "Tungstensteel Firebox Casing");
+ ItemList.Casing_Stripes_A.set(new ItemStack(this, 1, 0));
+ ItemList.Casing_Stripes_B.set(new ItemStack(this, 1, 1));
+ ItemList.Casing_RadioactiveHazard.set(new ItemStack(this, 1, 2));
+ ItemList.Casing_BioHazard.set(new ItemStack(this, 1, 3));
+ ItemList.Casing_ExplosionHazard.set(new ItemStack(this, 1, 4));
+ ItemList.Casing_FireHazard.set(new ItemStack(this, 1, 5));
+ ItemList.Casing_AcidHazard.set(new ItemStack(this, 1, 6));
+ ItemList.Casing_MagicHazard.set(new ItemStack(this, 1, 7));
+ ItemList.Casing_FrostHazard.set(new ItemStack(this, 1, 8));
+ ItemList.Casing_NoiseHazard.set(new ItemStack(this, 1, 9));
+ ItemList.Casing_Grate.set(new ItemStack(this, 1, 10));
+ ItemList.Casing_Vent.set(new ItemStack(this, 1, 11));
+ ItemList.Casing_RadiationProof.set(new ItemStack(this, 1, 12));
+ ItemList.Casing_Firebox_Bronze.set(new ItemStack(this, 1, 13));
+ ItemList.Casing_Firebox_Steel.set(new ItemStack(this, 1, 14));
+ ItemList.Casing_Firebox_TungstenSteel.set(new ItemStack(this, 1, 15));
+ }
+
+ public IIcon getIcon(int aSide, int aMeta)
+ {
+ switch (aMeta)
+ {
+ case 0:
+ return Textures.BlockIcons.MACHINE_CASING_STRIPES_A.getIcon();
+ case 1:
+ return Textures.BlockIcons.MACHINE_CASING_STRIPES_B.getIcon();
+ case 2:
+ return Textures.BlockIcons.MACHINE_CASING_RADIOACTIVEHAZARD.getIcon();
+ case 3:
+ return Textures.BlockIcons.MACHINE_CASING_BIOHAZARD.getIcon();
+ case 4:
+ return Textures.BlockIcons.MACHINE_CASING_EXPLOSIONHAZARD.getIcon();
+ case 5:
+ return Textures.BlockIcons.MACHINE_CASING_FIREHAZARD.getIcon();
+ case 6:
+ return Textures.BlockIcons.MACHINE_CASING_ACIDHAZARD.getIcon();
+ case 7:
+ return Textures.BlockIcons.MACHINE_CASING_MAGICHAZARD.getIcon();
+ case 8:
+ return Textures.BlockIcons.MACHINE_CASING_FROSTHAZARD.getIcon();
+ case 9:
+ return Textures.BlockIcons.MACHINE_CASING_NOISEHAZARD.getIcon();