aboutsummaryrefslogtreecommitdiff
path: root/main/java/gregtech/common/gui
diff options
context:
space:
mode:
Diffstat (limited to 'main/java/gregtech/common/gui')
-rw-r--r--main/java/gregtech/common/gui/GT_Container_Boiler.java182
-rw-r--r--main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java68
-rw-r--r--main/java/gregtech/common/gui/GT_Container_ChestBuffer.java176
-rw-r--r--main/java/gregtech/common/gui/GT_Container_Filter.java286
-rw-r--r--main/java/gregtech/common/gui/GT_Container_Regulator.java348
-rw-r--r--main/java/gregtech/common/gui/GT_Container_SuperBuffer.java166
-rw-r--r--main/java/gregtech/common/gui/GT_Container_TypeFilter.java246
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java94
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java66
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java44
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_Filter.java44
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java72
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java44
-rw-r--r--main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java44
14 files changed, 940 insertions, 940 deletions
diff --git a/main/java/gregtech/common/gui/GT_Container_Boiler.java b/main/java/gregtech/common/gui/GT_Container_Boiler.java
index 11aea0bc57..dc85189676 100644
--- a/main/java/gregtech/common/gui/GT_Container_Boiler.java
+++ b/main/java/gregtech/common/gui/GT_Container_Boiler.java
@@ -1,94 +1,94 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import cpw.mods.fml.relauncher.Side;
-/* 4: */ import cpw.mods.fml.relauncher.SideOnly;
-/* 5: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 6: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 7: */ import gregtech.common.tileentities.boilers.GT_MetaTileEntity_Boiler;
-/* 8: */ import java.util.Iterator;
-/* 9: */ import java.util.List;
-/* 10: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 11: */ import net.minecraft.inventory.ICrafting;
-/* 12: */ import net.minecraft.inventory.Slot;
-/* 13: */ import net.minecraftforge.fluids.FluidStack;
-/* 14: */
-/* 15: */ public class GT_Container_Boiler
-/* 16: */ extends GT_ContainerMetaTile_Machine
-/* 17: */ {
-/* 18: */ public GT_Container_Boiler(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, int aSteamCapacity)
-/* 19: */ {
-/* 20:20 */ super(aInventoryPlayer, aTileEntity);
-/* 21:21 */ this.mSteamCapacity = aSteamCapacity;
-/* 22: */ }
-/* 23: */
-/* 24: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 25: */ {
-/* 26:26 */ addSlotToContainer(new Slot(this.mTileEntity, 2, 116, 62));
-/* 27:27 */ addSlotToContainer(new Slot(this.mTileEntity, 0, 44, 26));
-/* 28:28 */ addSlotToContainer(new Slot(this.mTileEntity, 1, 44, 62));
-/* 29:29 */ addSlotToContainer(new Slot(this.mTileEntity, 3, 116, 26));
-/* 30: */ }
-/* 31: */
-/* 32: */ public int getSlotCount()
-/* 33: */ {
-/* 34:34 */ return 4;
-/* 35: */ }
-/* 36: */
-/* 37: */ public int getShiftClickSlotCount()
-/* 38: */ {
-/* 39:39 */ return 1;
-/* 40: */ }
-/* 41: */
-/* 42:42 */ public int mWaterAmount = 0;
-/* 43:42 */ public int mSteamAmount = 0;
-/* 44:42 */ public int mProcessingEnergy = 0;
-/* 45:42 */ public int mTemperature = 2;
-/* 46: */ private final int mSteamCapacity;
-/* 47: */
-/* 48: */ public void detectAndSendChanges()
-/* 49: */ {
-/* 50:46 */ super.detectAndSendChanges();
-/* 51:47 */ if ((this.mTileEntity.isClientSide()) || (this.mTileEntity.getMetaTileEntity() == null)) {
-/* 52:47 */ return;
-/* 53: */ }
-/* 54:49 */ this.mTemperature = ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mTemperature;
-/* 55:50 */ this.mProcessingEnergy = ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mProcessingEnergy;
-/* 56:51 */ this.mSteamAmount = (((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mSteam == null ? 0 : ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mSteam.amount);
-/* 57:52 */ this.mWaterAmount = (((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mFluid == null ? 0 : ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mFluid.amount);
-/* 58: */
-/* 59:54 */ this.mTemperature = Math.min(54, Math.max(0, this.mTemperature * 54 / (((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).maxProgresstime() - 10)));
-/* 60:55 */ this.mSteamAmount = Math.min(54, Math.max(0, this.mSteamAmount * 54 / (this.mSteamCapacity - 100)));
-/* 61:56 */ this.mWaterAmount = Math.min(54, Math.max(0, this.mWaterAmount * 54 / 15900));
-/* 62:57 */ this.mProcessingEnergy = Math.min(14, Math.max(this.mProcessingEnergy > 0 ? 1 : 0, this.mProcessingEnergy * 14 / 1000));
-/* 63: */
-/* 64:59 */ Iterator var2 = this.crafters.iterator();
-/* 65:60 */ while (var2.hasNext())
-/* 66: */ {
-/* 67:61 */ ICrafting var1 = (ICrafting)var2.next();
-/* 68:62 */ var1.sendProgressBarUpdate(this, 100, this.mTemperature);
-/* 69:63 */ var1.sendProgressBarUpdate(this, 101, this.mProcessingEnergy);
-/* 70:64 */ var1.sendProgressBarUpdate(this, 102, this.mSteamAmount);
-/* 71:65 */ var1.sendProgressBarUpdate(this, 103, this.mWaterAmount);
-/* 72: */ }
-/* 73: */ }
-/* 74: */
-/* 75: */ @SideOnly(Side.CLIENT)
-/* 76: */ public void updateProgressBar(int par1, int par2)
-/* 77: */ {
-/* 78:72 */ super.updateProgressBar(par1, par2);
-/* 79:73 */ switch (par1)
-/* 80: */ {
-/* 81: */ case 100:
-/* 82:74 */ this.mTemperature = par2; break;
-/* 83: */ case 101:
-/* 84:75 */ this.mProcessingEnergy = par2; break;
-/* 85: */ case 102:
-/* 86:76 */ this.mSteamAmount = par2; break;
-/* 87: */ case 103:
-/* 88:77 */ this.mWaterAmount = par2;
-/* 89: */ }
-/* 90: */ }
-/* 91: */ }
+package gregtech.common.gui;
+
+import cpw.mods.fml.relauncher.Side;
+import cpw.mods.fml.relauncher.SideOnly;
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.common.tileentities.boilers.GT_MetaTileEntity_Boiler;
+import java.util.Iterator;
+import java.util.List;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.ICrafting;
+import net.minecraft.inventory.Slot;
+import net.minecraftforge.fluids.FluidStack;
+
+public class GT_Container_Boiler
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_Boiler(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, int aSteamCapacity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ this.mSteamCapacity = aSteamCapacity;
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ addSlotToContainer(new Slot(this.mTileEntity, 2, 116, 62));
+ addSlotToContainer(new Slot(this.mTileEntity, 0, 44, 26));
+ addSlotToContainer(new Slot(this.mTileEntity, 1, 44, 62));
+ addSlotToContainer(new Slot(this.mTileEntity, 3, 116, 26));
+ }
+
+ public int getSlotCount()
+ {
+ return 4;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 1;
+ }
+
+ public int mWaterAmount = 0;
+ public int mSteamAmount = 0;
+ public int mProcessingEnergy = 0;
+ public int mTemperature = 2;
+ private final int mSteamCapacity;
+
+ public void detectAndSendChanges()
+ {
+ super.detectAndSendChanges();
+ if ((this.mTileEntity.isClientSide()) || (this.mTileEntity.getMetaTileEntity() == null)) {
+ return;
+ }
+ this.mTemperature = ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mTemperature;
+ this.mProcessingEnergy = ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mProcessingEnergy;
+ this.mSteamAmount = (((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mSteam == null ? 0 : ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mSteam.amount);
+ this.mWaterAmount = (((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mFluid == null ? 0 : ((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).mFluid.amount);
+
+ this.mTemperature = Math.min(54, Math.max(0, this.mTemperature * 54 / (((GT_MetaTileEntity_Boiler)this.mTileEntity.getMetaTileEntity()).maxProgresstime() - 10)));
+ this.mSteamAmount = Math.min(54, Math.max(0, this.mSteamAmount * 54 / (this.mSteamCapacity - 100)));
+ this.mWaterAmount = Math.min(54, Math.max(0, this.mWaterAmount * 54 / 15900));
+ this.mProcessingEnergy = Math.min(14, Math.max(this.mProcessingEnergy > 0 ? 1 : 0, this.mProcessingEnergy * 14 / 1000));
+
+ Iterator var2 = this.crafters.iterator();
+ while (var2.hasNext())
+ {
+ ICrafting var1 = (ICrafting)var2.next();
+ var1.sendProgressBarUpdate(this, 100, this.mTemperature);
+ var1.sendProgressBarUpdate(this, 101, this.mProcessingEnergy);
+ var1.sendProgressBarUpdate(this, 102, this.mSteamAmount);
+ var1.sendProgressBarUpdate(this, 103, this.mWaterAmount);
+ }
+ }
+
+ @SideOnly(Side.CLIENT)
+ public void updateProgressBar(int par1, int par2)
+ {
+ super.updateProgressBar(par1, par2);
+ switch (par1)
+ {
+ case 100:
+ this.mTemperature = par2; break;
+ case 101:
+ this.mProcessingEnergy = par2; break;
+ case 102:
+ this.mSteamAmount = par2; break;
+ case 103:
+ this.mWaterAmount = par2;
+ }
+ }
+}
/* 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/gui/GT_Container_BronzeBlastFurnace.java b/main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java
index d3f36ff115..be6bb35a7b 100644
--- a/main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java
+++ b/main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java
@@ -1,37 +1,37 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.gui.GT_Slot_Output;
-/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 6: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 7: */ import net.minecraft.inventory.Slot;
-/* 8: */
-/* 9: */ public class GT_Container_BronzeBlastFurnace
-/* 10: */ extends GT_ContainerMetaTile_Machine
-/* 11: */ {
-/* 12: */ public GT_Container_BronzeBlastFurnace(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 13: */ {
-/* 14:12 */ super(aInventoryPlayer, aTileEntity);
-/* 15: */ }
-/* 16: */
-/* 17: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 18: */ {
-/* 19:17 */ addSlotToContainer(new Slot(this.mTileEntity, 0, 34, 16));
-/* 20:18 */ addSlotToContainer(new Slot(this.mTileEntity, 1, 34, 34));
-/* 21:19 */ addSlotToContainer(new GT_Slot_Output(this.mTileEntity, 2, 86, 25));
-/* 22:20 */ addSlotToContainer(new GT_Slot_Output(this.mTileEntity, 3, 104, 25));
-/* 23: */ }
-/* 24: */
-/* 25: */ public int getSlotCount()
-/* 26: */ {
-/* 27:25 */ return 4;
-/* 28: */ }
-/* 29: */
-/* 30: */ public int getShiftClickSlotCount()
-/* 31: */ {
-/* 32:30 */ return 2;
-/* 33: */ }
-/* 34: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_Slot_Output;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.Slot;
+
+public class GT_Container_BronzeBlastFurnace
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_BronzeBlastFurnace(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ addSlotToContainer(new Slot(this.mTileEntity, 0, 34, 16));
+ addSlotToContainer(new Slot(this.mTileEntity, 1, 34, 34));
+ addSlotToContainer(new GT_Slot_Output(this.mTileEntity, 2, 86, 25));
+ addSlotToContainer(new GT_Slot_Output(this.mTileEntity, 3, 104, 25));
+ }
+
+ public int getSlotCount()
+ {
+ return 4;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 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/gui/GT_Container_ChestBuffer.java b/main/java/gregtech/common/gui/GT_Container_ChestBuffer.java
index d1924183a4..ffe772bb2a 100644
--- a/main/java/gregtech/common/gui/GT_Container_ChestBuffer.java
+++ b/main/java/gregtech/common/gui/GT_Container_ChestBuffer.java
@@ -1,91 +1,91 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.gui.GT_Slot_Holo;
-/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 6: */ import gregtech.api.util.GT_Utility;
-/* 7: */ import gregtech.common.tileentities.automation.GT_MetaTileEntity_ChestBuffer;
-/* 8: */ import java.util.List;
-/* 9: */ import net.minecraft.entity.player.EntityPlayer;
-/* 10: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 11: */ import net.minecraft.inventory.Slot;
-/* 12: */ import net.minecraft.item.ItemStack;
-/* 13: */
-/* 14: */ public class GT_Container_ChestBuffer
-/* 15: */ extends GT_ContainerMetaTile_Machine
-/* 16: */ {
-/* 17: */ public GT_Container_ChestBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 18: */ {
-/* 19:16 */ super(aInventoryPlayer, aTileEntity);
-/* 20: */ }
-/* 21: */
-/* 22: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 23: */ {
-/* 24:21 */ for (int y = 0; y < 3; y++) {
-/* 25:21 */ for (int x = 0; x < 9; x++) {
-/* 26:21 */ addSlotToContainer(new Slot(this.mTileEntity, x + y * 9, 8 + x * 18, 5 + y * 18));
-/* 27: */ }
-/* 28: */ }
-/* 29:22 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 27, 8, 63, false, true, 1));
-/* 30:23 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 27, 26, 63, false, true, 1));
-/* 31:24 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 27, 44, 63, false, true, 1));
-/* 32: */ }
-/* 33: */
-/* 34: */ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
-/* 35: */ {
-/* 36:29 */ if (aSlotIndex < 27) {
-/* 37:29 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 38: */ }
-/* 39:31 */ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
-/* 40:32 */ if (tSlot != null)
-/* 41: */ {
-/* 42:33 */ if (this.mTileEntity.getMetaTileEntity() == null) {
-/* 43:33 */ return null;
-/* 44: */ }
-/* 45:34 */ if (aSlotIndex == 27)
-/* 46: */ {
-/* 47:35 */ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput);
-/* 48:36 */ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput) {
-/* 49:37 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
-/* 50: */ } else {
-/* 51:39 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
-/* 52: */ }
-/* 53:40 */ return null;
-/* 54: */ }
-/* 55:41 */ if (aSlotIndex == 28)
-/* 56: */ {
-/* 57:42 */ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
-/* 58:43 */ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
-/* 59:44 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if no Slot is free");
-/* 60: */ } else {
-/* 61:46 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
-/* 62: */ }
-/* 63:47 */ return null;
-/* 64: */ }
-/* 65:48 */ if (aSlotIndex == 29)
-/* 66: */ {
-/* 67:49 */ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert);
-/* 68:50 */ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert) {
-/* 69:51 */ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
-/* 70: */ } else {
-/* 71:53 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
-/* 72: */ }
-/* 73:54 */ return null;
-/* 74: */ }
-/* 75: */ }
-/* 76:58 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 77: */ }
-/* 78: */
-/* 79: */ public int getSlotCount()
-/* 80: */ {
-/* 81:64 */ return 27;
-/* 82: */ }
-/* 83: */
-/* 84: */ public int getShiftClickSlotCount()
-/* 85: */ {
-/* 86:69 */ return 27;
-/* 87: */ }
-/* 88: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_Slot_Holo;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.api.util.GT_Utility;
+import gregtech.common.tileentities.automation.GT_MetaTileEntity_ChestBuffer;
+import java.util.List;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.Slot;
+import net.minecraft.item.ItemStack;
+
+public class GT_Container_ChestBuffer
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_ChestBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ for (int y = 0; y < 3; y++) {
+ for (int x = 0; x < 9; x++) {
+ addSlotToContainer(new Slot(this.mTileEntity, x + y * 9, 8 + x * 18, 5 + y * 18));
+ }
+ }
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 27, 8, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 27, 26, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 27, 44, 63, false, true, 1));
+ }
+
+ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
+ {
+ if (aSlotIndex < 27) {
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
+ if (tSlot != null)
+ {
+ if (this.mTileEntity.getMetaTileEntity() == null) {
+ return null;
+ }
+ if (aSlotIndex == 27)
+ {
+ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput);
+ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
+ }
+ return null;
+ }
+ if (aSlotIndex == 28)
+ {
+ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
+ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if no Slot is free");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
+ }
+ return null;
+ }
+ if (aSlotIndex == 29)
+ {
+ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert);
+ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
+ }
+ return null;
+ }
+ }
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+
+ public int getSlotCount()
+ {
+ return 27;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 27;
+ }
+}
/* 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/gui/GT_Container_Filter.java b/main/java/gregtech/common/gui/GT_Container_Filter.java
index 276b06d25d..76a267def4 100644
--- a/main/java/gregtech/common/gui/GT_Container_Filter.java
+++ b/main/java/gregtech/common/gui/GT_Container_Filter.java
@@ -1,146 +1,146 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.gui.GT_Slot_Holo;
-/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 6: */ import gregtech.api.util.GT_Utility;
-/* 7: */ import gregtech.common.tileentities.automation.GT_MetaTileEntity_Filter;
-/* 8: */ import java.util.List;
-/* 9: */ import net.minecraft.entity.player.EntityPlayer;
-/* 10: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 11: */ import net.minecraft.inventory.Slot;
-/* 12: */ import net.minecraft.item.ItemStack;
-/* 13: */
-/* 14: */ public class GT_Container_Filter
-/* 15: */ extends GT_ContainerMetaTile_Machine
-/* 16: */ {
-/* 17: */ public GT_Container_Filter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 18: */ {
-/* 19: 17 */ super(aInventoryPlayer, aTileEntity);
-/* 20: */ }
-/* 21: */
-/* 22: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 23: */ {
-/* 24: 22 */ addSlotToContainer(new Slot(this.mTileEntity, 0, 98, 5));
-/* 25: 23 */ addSlotToContainer(new Slot(this.mTileEntity, 1, 116, 5));
-/* 26: 24 */ addSlotToContainer(new Slot(this.mTileEntity, 2, 134, 5));
-/* 27: 25 */ addSlotToContainer(new Slot(this.mTileEntity, 3, 98, 23));
-/* 28: 26 */ addSlotToContainer(new Slot(this.mTileEntity, 4, 116, 23));
-/* 29: 27 */ addSlotToContainer(new Slot(this.mTileEntity, 5, 134, 23));
-/* 30: 28 */ addSlotToContainer(new Slot(this.mTileEntity, 6, 98, 41));
-/* 31: 29 */ addSlotToContainer(new Slot(this.mTileEntity, 7, 116, 41));
-/* 32: 30 */ addSlotToContainer(new Slot(this.mTileEntity, 8, 134, 41));
-/* 33: */
-/* 34: 32 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 9, 18, 6, false, true, 1));
-/* 35: 33 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 35, 6, false, true, 1));
-/* 36: 34 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 11, 52, 6, false, true, 1));
-/* 37: 35 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 12, 18, 23, false, true, 1));
-/* 38: 36 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 13, 35, 23, false, true, 1));
-/* 39: 37 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 14, 52, 23, false, true, 1));
-/* 40: 38 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 15, 18, 40, false, true, 1));
-/* 41: 39 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 16, 35, 40, false, true, 1));
-/* 42: 40 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 17, 52, 40, false, true, 1));
-/* 43: */
-/* 44: 42 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 8, 63, false, true, 1));
-/* 45: 43 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 26, 63, false, true, 1));
-/* 46: 44 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 44, 63, false, true, 1));
-/* 47: 45 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 62, 63, false, true, 1));
-/* 48: 46 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 80, 63, false, true, 1));
-/* 49: */ }
-/* 50: */
-/* 51: */ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
-/* 52: */ {
-/* 53: 51 */ if (aSlotIndex < 9) {
-/* 54: 51 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 55: */ }
-/* 56: 53 */ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
-/* 57: 54 */ if (tSlot != null)
-/* 58: */ {
-/* 59: 55 */ if (this.mTileEntity.getMetaTileEntity() == null) {
-/* 60: 55 */ return null;
-/* 61: */ }
-/* 62: 56 */ if (aSlotIndex < 18)
-/* 63: */ {
-/* 64: 57 */ ItemStack tStack = aPlayer.inventory.getItemStack();
-/* 65: 58 */ if (tStack == null)
-/* 66: */ {
-/* 67: 59 */ tStack = tSlot.getStack();
-/* 68: 60 */ if (aMouseclick == 0) {
-/* 69: 61 */ tSlot.putStack(null);
-/* 70: 63 */ } else if (tStack != null) {
-/* 71: 64 */ tStack.setItemDamage(32767);
-/* 72: */ }
-/* 73: */ }
-/* 74: */ else
-/* 75: */ {
-/* 76: 68 */ tSlot.putStack(GT_Utility.copyAmount(1L, new Object[] { tStack }));
-/* 77: */ }
-/* 78: 70 */ return null;
-/* 79: */ }
-/* 80: 71 */ if (aSlotIndex == 18)
-/* 81: */ {
-/* 82: 72 */ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bOutput);
-/* 83: 73 */ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bOutput) {
-/* 84: 74 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
-/* 85: */ } else {
-/* 86: 76 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
-/* 87: */ }
-/* 88: 77 */ return null;
-/* 89: */ }
-/* 90: 78 */ if (aSlotIndex == 19)
-/* 91: */ {
-/* 92: 79 */ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
-/* 93: 80 */ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
-/* 94: 81 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if slots contain something");
-/* 95: */ } else {
-/* 96: 83 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
-/* 97: */ }
-/* 98: 84 */ return null;
-/* 99: */ }
-/* 100: 85 */ if (aSlotIndex == 20)
-/* 101: */ {
-/* 102: 86 */ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvert);
-/* 103: 87 */ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvert) {
-/* 104: 88 */ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
-/* 105: */ } else {
-/* 106: 90 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
-/* 107: */ }
-/* 108: 91 */ return null;
-/* 109: */ }
-/* 110: 92 */ if (aSlotIndex == 21)
-/* 111: */ {
-/* 112: 93 */ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvertFilter = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvertFilter);
-/* 113: 94 */ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvertFilter) {
-/* 114: 95 */ GT_Utility.sendChatToPlayer(aPlayer, "Invert Filter");
-/* 115: */ } else {
-/* 116: 97 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Filter");
-/* 117: */ }
-/* 118: 98 */ return null;
-/* 119: */ }
-/* 120: 99 */ if (aSlotIndex == 22)
-/* 121: */ {
-/* 122:100 */ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bIgnoreNBT = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bIgnoreNBT);
-/* 123:101 */ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bIgnoreNBT) {
-/* 124:102 */ GT_Utility.sendChatToPlayer(aPlayer, "Ignore NBT");
-/* 125: */ } else {
-/* 126:104 */ GT_Utility.sendChatToPlayer(aPlayer, "NBT has to match");
-/* 127: */ }
-/* 128:105 */ return null;
-/* 129: */ }
-/* 130: */ }
-/* 131:108 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 132: */ }
-/* 133: */
-/* 134: */ public int getSlotCount()
-/* 135: */ {
-/* 136:113 */ return 9;
-/* 137: */ }
-/* 138: */
-/* 139: */ public int getShiftClickSlotCount()
-/* 140: */ {
-/* 141:118 */ return 9;
-/* 142: */ }
-/* 143: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_Slot_Holo;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.api.util.GT_Utility;
+import gregtech.common.tileentities.automation.GT_MetaTileEntity_Filter;
+import java.util.List;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.Slot;
+import net.minecraft.item.ItemStack;
+
+public class GT_Container_Filter
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_Filter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ addSlotToContainer(new Slot(this.mTileEntity, 0, 98, 5));
+ addSlotToContainer(new Slot(this.mTileEntity, 1, 116, 5));
+ addSlotToContainer(new Slot(this.mTileEntity, 2, 134, 5));
+ addSlotToContainer(new Slot(this.mTileEntity, 3, 98, 23));
+ addSlotToContainer(new Slot(this.mTileEntity, 4, 116, 23));
+ addSlotToContainer(new Slot(this.mTileEntity, 5, 134, 23));
+ addSlotToContainer(new Slot(this.mTileEntity, 6, 98, 41));
+ addSlotToContainer(new Slot(this.mTileEntity, 7, 116, 41));
+ addSlotToContainer(new Slot(this.mTileEntity, 8, 134, 41));
+
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 9, 18, 6, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 35, 6, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 11, 52, 6, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 12, 18, 23, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 13, 35, 23, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 14, 52, 23, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 15, 18, 40, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 16, 35, 40, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 17, 52, 40, false, true, 1));
+
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 8, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 26, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 44, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 62, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 80, 63, false, true, 1));
+ }
+
+ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
+ {
+ if (aSlotIndex < 9) {
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
+ if (tSlot != null)
+ {
+ if (this.mTileEntity.getMetaTileEntity() == null) {
+ return null;
+ }
+ if (aSlotIndex < 18)
+ {
+ ItemStack tStack = aPlayer.inventory.getItemStack();
+ if (tStack == null)
+ {
+ tStack = tSlot.getStack();
+ if (aMouseclick == 0) {
+ tSlot.putStack(null);
+ } else if (tStack != null) {
+ tStack.setItemDamage(32767);
+ }
+ }
+ else
+ {
+ tSlot.putStack(GT_Utility.copyAmount(1L, new Object[] { tStack }));
+ }
+ return null;
+ }
+ if (aSlotIndex == 18)
+ {
+ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bOutput);
+ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bOutput) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
+ }
+ return null;
+ }
+ if (aSlotIndex == 19)
+ {
+ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
+ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if slots contain something");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
+ }
+ return null;
+ }
+ if (aSlotIndex == 20)
+ {
+ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvert);
+ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvert) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
+ }
+ return null;
+ }
+ if (aSlotIndex == 21)
+ {
+ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvertFilter = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvertFilter);
+ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bInvertFilter) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Invert Filter");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Filter");
+ }
+ return null;
+ }
+ if (aSlotIndex == 22)
+ {
+ ((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bIgnoreNBT = (!((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bIgnoreNBT);
+ if (((GT_MetaTileEntity_Filter)this.mTileEntity.getMetaTileEntity()).bIgnoreNBT) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Ignore NBT");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "NBT has to match");
+ }
+ return null;
+ }
+ }
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+
+ public int getSlotCount()
+ {
+ return 9;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 9;
+ }
+}
/* 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/gui/GT_Container_Regulator.java b/main/java/gregtech/common/gui/GT_Container_Regulator.java
index 2a9b305758..e19ad1b6c6 100644
--- a/main/java/gregtech/common/gui/GT_Container_Regulator.java
+++ b/main/java/gregtech/common/gui/GT_Container_Regulator.java
@@ -1,177 +1,177 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import cpw.mods.fml.relauncher.Side;
-/* 4: */ import cpw.mods.fml.relauncher.SideOnly;
-/* 5: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 6: */ import gregtech.api.gui.GT_Slot_Holo;
-/* 7: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 8: */ import gregtech.api.util.GT_Utility;
-/* 9: */ import gregtech.common.tileentities.automation.GT_MetaTileEntity_Regulator;
-/* 10: */ import java.util.Iterator;
-/* 11: */ import java.util.List;
-/* 12: */ import net.minecraft.entity.player.EntityPlayer;
-/* 13: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 14: */ import net.minecraft.inventory.ICrafting;
-/* 15: */ import net.minecraft.inventory.Slot;
-/* 16: */ import net.minecraft.item.ItemStack;
-/* 17: */
-/* 18: */ public class GT_Container_Regulator
-/* 19: */ extends GT_ContainerMetaTile_Machine
-/* 20: */ {
-/* 21: */ public GT_Container_Regulator(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 22: */ {
-/* 23: 22 */ super(aInventoryPlayer, aTileEntity);
-/* 24: */ }
-/* 25: */
-/* 26: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 27: */ {
-/* 28: 27 */ this.mTargetSlots = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
-/* 29: */
-/* 30: 29 */ addSlotToContainer(new Slot(this.mTileEntity, 0, 8, 6));
-/* 31: 30 */ addSlotToContainer(new Slot(this.mTileEntity, 1, 26, 6));
-/* 32: 31 */ addSlotToContainer(new Slot(this.mTileEntity, 2, 44, 6));
-/* 33: 32 */ addSlotToContainer(new Slot(this.mTileEntity, 3, 8, 24));
-/* 34: 33 */ addSlotToContainer(new Slot(this.mTileEntity, 4, 26, 24));
-/* 35: 34 */ addSlotToContainer(new Slot(this.mTileEntity, 5, 44, 24));
-/* 36: 35 */ addSlotToContainer(new Slot(this.mTileEntity, 6, 8, 42));
-/* 37: 36 */ addSlotToContainer(new Slot(this.mTileEntity, 7, 26, 42));
-/* 38: 37 */ addSlotToContainer(new Slot(this.mTileEntity, 8, 44, 42));
-/* 39: */
-/* 40: 39 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 9, 64, 7, false, true, 1));
-/* 41: 40 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 81, 7, false, true, 1));
-/* 42: 41 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 11, 98, 7, false, true, 1));
-/* 43: 42 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 12, 64, 24, false, true, 1));
-/* 44: 43 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 13, 81, 24, false, true, 1));
-/* 45: 44 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 14, 98, 24, false, true, 1));
-/* 46: 45 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 15, 64, 41, false, true, 1));
-/* 47: 46 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 16, 81, 41, false, true, 1));
-/* 48: 47 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 17, 98, 41, false, true, 1));
-/* 49: */
-/* 50: 49 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 119, 7, false, true, 1));
-/* 51: 50 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 136, 7, false, true, 1));
-/* 52: 51 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 153, 7, false, true, 1));
-/* 53: 52 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 119, 24, false, true, 1));
-/* 54: 53 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 136, 24, false, true, 1));
-/* 55: 54 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 153, 24, false, true, 1));
-/* 56: 55 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 119, 41, false, true, 1));
-/* 57: 56 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 136, 41, false, true, 1));
-/* 58: 57 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 153, 41, false, true, 1));
-/* 59: */
-/* 60: 59 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 8, 63, false, true, 1));
-/* 61: */ }
-/* 62: */
-/* 63: */ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
-/* 64: */ {
-/* 65: 66 */ if (aSlotIndex < 9) {
-/* 66: 66 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 67: */ }
-/* 68: 67 */ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
-/* 69: 68 */ if (tSlot != null)
-/* 70: */ {
-/* 71: 69 */ if (this.mTileEntity.getMetaTileEntity() == null) {
-/* 72: 69 */ return null;
-/* 73: */ }
-/* 74: 70 */ if (aSlotIndex == 27)
-/* 75: */ {
-/* 76: 71 */ ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).bOutput);
-/* 77: 72 */ if (((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).bOutput) {
-/* 78: 73 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
-/* 79: */ } else {
-/* 80: 75 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
-/* 81: */ }
-/* 82: 76 */ return null;
-/* 83: */ }
-/* 84: 77 */ if ((aSlotIndex >= 9) && (aSlotIndex < 18))
-/* 85: */ {
-/* 86: 78 */ ItemStack tStack = aPlayer.inventory.getItemStack();
-/* 87: 79 */ if (tStack != null) {
-/* 88: 80 */ tSlot.putStack(GT_Utility.copy(new Object[] { tStack }));
-/* 89: 82 */ } else if (tSlot.getStack() != null) {
-/* 90: 83 */ if (aMouseclick == 0)
-/* 91: */ {
-/* 92: 84 */ tSlot.getStack().stackSize -= (aShifthold == 1 ? 8 : 1);
-/* 93: 85 */ if (tSlot.getStack().stackSize <= 0) {
-/* 94: 86 */ tSlot.putStack(null);
-/* 95: */ }
-/* 96: */ }
-/* 97: */ else
-/* 98: */ {
-/* 99: 89 */ tSlot.getStack().stackSize += (aShifthold == 1 ? 8 : 1);
-/* 100: 90 */ if (tSlot.getStack().stackSize > tSlot.getStack().getMaxStackSize()) {
-/* 101: 91 */ tSlot.getStack().stackSize = tSlot.getStack().getMaxStackSize();
-/* 102: */ }
-/* 103: */ }
-/* 104: */ }
-/* 105: 96 */ return null;
-/* 106: */ }
-/* 107: 97 */ if ((aSlotIndex >= 18) && (aSlotIndex < 27))
-/* 108: */ {
-/* 109: 98 */ ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).mTargetSlots[(aSlotIndex - 18)] = Math.min(99, Math.max(0, ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).mTargetSlots[(aSlotIndex - 18)] + (aMouseclick == 0 ? -1 : 1) * (aShifthold == 0 ? 1 : 16)));
-/* 110: 99 */ return null;
-/* 111: */ }
-/* 112: */ }
-/* 113:102 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 114: */ }
-/* 115: */
-/* 116:105 */ public int[] mTargetSlots = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
-/* 117: */
-/* 118: */ public void detectAndSendChanges()
-/* 119: */ {
-/* 120:109 */ super.detectAndSendChanges();
-/* 121:110 */ if ((this.mTileEntity.isClientSide()) || (this.mTileEntity.getMetaTileEntity() == null)) {
-/* 122:110 */ return;
-/* 123: */ }
-/* 124:111 */ this.mTargetSlots = new int[9];
-/* 125:112 */ for (int i = 0; i < 9; i++) {
-/* 126:112 */ this.mTargetSlots[i] = ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).mTargetSlots[i];
-/* 127: */ }
-/* 128:114 */ Iterator var2 = this.crafters.iterator();
-/* 129:115 */ while (var2.hasNext())
-/* 130: */ {
-/* 131:116 */ ICrafting var1 = (ICrafting)var2.next();
-/* 132:117 */ for (int i = 0; i < 9; i++) {
-/* 133:117 */ var1.sendProgressBarUpdate(this, 100 + i, this.mTargetSlots[i]);
-/* 134: */ }
-/* 135: */ }
-/* 136: */ }
-/* 137: */
-/* 138: */ @SideOnly(Side.CLIENT)
-/* 139: */ public void updateProgressBar(int par1, int par2)
-/* 140: */ {
-/* 141:124 */ super.updateProgressBar(par1, par2);
-/* 142:125 */ switch (par1)
-/* 143: */ {
-/* 144: */ case 100:
-/* 145:126 */ this.mTargetSlots[0] = par2; break;
-/* 146: */ case 101:
-/* 147:127 */ this.mTargetSlots[1] = par2; break;
-/* 148: */ case 102:
-/* 149:128 */ this.mTargetSlots[2] = par2; break;
-/* 150: */ case 103:
-/* 151:129 */ this.mTargetSlots[3] = par2; break;
-/* 152: */ case 104:
-/* 153:130 */ this.mTargetSlots[4] = par2; break;
-/* 154: */ case 105:
-/* 155:131 */ this.mTargetSlots[5] = par2; break;
-/* 156: */ case 106:
-/* 157:132 */ this.mTargetSlots[6] = par2; break;
-/* 158: */ case 107:
-/* 159:133 */ this.mTargetSlots[7] = par2; break;
-/* 160: */ case 108:
-/* 161:134 */ this.mTargetSlots[8] = par2;
-/* 162: */ }
-/* 163: */ }
-/* 164: */
-/* 165: */ public int getSlotCount()
-/* 166: */ {
-/* 167:140 */ return 9;
-/* 168: */ }
-/* 169: */
-/* 170: */ public int getShiftClickSlotCount()
-/* 171: */ {
-/* 172:145 */ return 9;
-/* 173: */ }
-/* 174: */ }
+package gregtech.common.gui;
+
+import cpw.mods.fml.relauncher.Side;
+import cpw.mods.fml.relauncher.SideOnly;
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_Slot_Holo;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.api.util.GT_Utility;
+import gregtech.common.tileentities.automation.GT_MetaTileEntity_Regulator;
+import java.util.Iterator;
+import java.util.List;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.ICrafting;
+import net.minecraft.inventory.Slot;
+import net.minecraft.item.ItemStack;
+
+public class GT_Container_Regulator
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_Regulator(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ this.mTargetSlots = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+
+ addSlotToContainer(new Slot(this.mTileEntity, 0, 8, 6));
+ addSlotToContainer(new Slot(this.mTileEntity, 1, 26, 6));
+ addSlotToContainer(new Slot(this.mTileEntity, 2, 44, 6));
+ addSlotToContainer(new Slot(this.mTileEntity, 3, 8, 24));
+ addSlotToContainer(new Slot(this.mTileEntity, 4, 26, 24));
+ addSlotToContainer(new Slot(this.mTileEntity, 5, 44, 24));
+ addSlotToContainer(new Slot(this.mTileEntity, 6, 8, 42));
+ addSlotToContainer(new Slot(this.mTileEntity, 7, 26, 42));
+ addSlotToContainer(new Slot(this.mTileEntity, 8, 44, 42));
+
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 9, 64, 7, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 81, 7, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 11, 98, 7, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 12, 64, 24, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 13, 81, 24, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 14, 98, 24, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 15, 64, 41, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 16, 81, 41, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 17, 98, 41, false, true, 1));
+
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 119, 7, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 136, 7, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 153, 7, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 119, 24, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 136, 24, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 153, 24, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 119, 41, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 136, 41, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 153, 41, false, true, 1));
+
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 18, 8, 63, false, true, 1));
+ }
+
+ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
+ {
+ if (aSlotIndex < 9) {
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
+ if (tSlot != null)
+ {
+ if (this.mTileEntity.getMetaTileEntity() == null) {
+ return null;
+ }
+ if (aSlotIndex == 27)
+ {
+ ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).bOutput);
+ if (((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).bOutput) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
+ }
+ return null;
+ }
+ if ((aSlotIndex >= 9) && (aSlotIndex < 18))
+ {
+ ItemStack tStack = aPlayer.inventory.getItemStack();
+ if (tStack != null) {
+ tSlot.putStack(GT_Utility.copy(new Object[] { tStack }));
+ } else if (tSlot.getStack() != null) {
+ if (aMouseclick == 0)
+ {
+ tSlot.getStack().stackSize -= (aShifthold == 1 ? 8 : 1);
+ if (tSlot.getStack().stackSize <= 0) {
+ tSlot.putStack(null);
+ }
+ }
+ else
+ {
+ tSlot.getStack().stackSize += (aShifthold == 1 ? 8 : 1);
+ if (tSlot.getStack().stackSize > tSlot.getStack().getMaxStackSize()) {
+ tSlot.getStack().stackSize = tSlot.getStack().getMaxStackSize();
+ }
+ }
+ }
+ return null;
+ }
+ if ((aSlotIndex >= 18) && (aSlotIndex < 27))
+ {
+ ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).mTargetSlots[(aSlotIndex - 18)] = Math.min(99, Math.max(0, ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).mTargetSlots[(aSlotIndex - 18)] + (aMouseclick == 0 ? -1 : 1) * (aShifthold == 0 ? 1 : 16)));
+ return null;
+ }
+ }
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+
+ public int[] mTargetSlots = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+
+ public void detectAndSendChanges()
+ {
+ super.detectAndSendChanges();
+ if ((this.mTileEntity.isClientSide()) || (this.mTileEntity.getMetaTileEntity() == null)) {
+ return;
+ }
+ this.mTargetSlots = new int[9];
+ for (int i = 0; i < 9; i++) {
+ this.mTargetSlots[i] = ((GT_MetaTileEntity_Regulator)this.mTileEntity.getMetaTileEntity()).mTargetSlots[i];
+ }
+ Iterator var2 = this.crafters.iterator();
+ while (var2.hasNext())
+ {
+ ICrafting var1 = (ICrafting)var2.next();
+ for (int i = 0; i < 9; i++) {
+ var1.sendProgressBarUpdate(this, 100 + i, this.mTargetSlots[i]);
+ }
+ }
+ }
+
+ @SideOnly(Side.CLIENT)
+ public void updateProgressBar(int par1, int par2)
+ {
+ super.updateProgressBar(par1, par2);
+ switch (par1)
+ {
+ case 100:
+ this.mTargetSlots[0] = par2; break;
+ case 101:
+ this.mTargetSlots[1] = par2; break;
+ case 102:
+ this.mTargetSlots[2] = par2; break;
+ case 103:
+ this.mTargetSlots[3] = par2; break;
+ case 104:
+ this.mTargetSlots[4] = par2; break;
+ case 105:
+ this.mTargetSlots[5] = par2; break;
+ case 106:
+ this.mTargetSlots[6] = par2; break;
+ case 107:
+ this.mTargetSlots[7] = par2; break;
+ case 108:
+ this.mTargetSlots[8] = par2;
+ }
+ }
+
+ public int getSlotCount()
+ {
+ return 9;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 9;
+ }
+}
/* 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/gui/GT_Container_SuperBuffer.java b/main/java/gregtech/common/gui/GT_Container_SuperBuffer.java
index 1c390f2da2..0755237d8c 100644
--- a/main/java/gregtech/common/gui/GT_Container_SuperBuffer.java
+++ b/main/java/gregtech/common/gui/GT_Container_SuperBuffer.java
@@ -1,86 +1,86 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.gui.GT_Slot_Holo;
-/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 6: */ import gregtech.api.util.GT_Utility;
-/* 7: */ import gregtech.common.tileentities.automation.GT_MetaTileEntity_ChestBuffer;
-/* 8: */ import java.util.List;
-/* 9: */ import net.minecraft.entity.player.EntityPlayer;
-/* 10: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 11: */ import net.minecraft.inventory.Slot;
-/* 12: */ import net.minecraft.item.ItemStack;
-/* 13: */
-/* 14: */ public class GT_Container_SuperBuffer
-/* 15: */ extends GT_ContainerMetaTile_Machine
-/* 16: */ {
-/* 17: */ public GT_Container_SuperBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 18: */ {
-/* 19:16 */ super(aInventoryPlayer, aTileEntity);
-/* 20: */ }
-/* 21: */
-/* 22: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 23: */ {
-/* 24:21 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 256, 8, 63, false, true, 1));
-/* 25:22 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 256, 26, 63, false, true, 1));
-/* 26:23 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 256, 44, 63, false, true, 1));
-/* 27: */ }
-/* 28: */
-/* 29: */ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
-/* 30: */ {
-/* 31:28 */ if (aSlotIndex < 0) {
-/* 32:28 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 33: */ }
-/* 34:30 */ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
-/* 35:31 */ if (tSlot != null)
-/* 36: */ {
-/* 37:32 */ if (this.mTileEntity.getMetaTileEntity() == null) {
-/* 38:32 */ return null;
-/* 39: */ }
-/* 40:33 */ if (aSlotIndex == 0)
-/* 41: */ {
-/* 42:34 */ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput);
-/* 43:35 */ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput) {
-/* 44:36 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
-/* 45: */ } else {
-/* 46:38 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
-/* 47: */ }
-/* 48:39 */ return null;
-/* 49: */ }
-/* 50:40 */ if (aSlotIndex == 1)
-/* 51: */ {
-/* 52:41 */ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
-/* 53:42 */ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
-/* 54:43 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if no Slot is free");
-/* 55: */ } else {
-/* 56:45 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
-/* 57: */ }
-/* 58:46 */ return null;
-/* 59: */ }
-/* 60:47 */ if (aSlotIndex == 2)
-/* 61: */ {
-/* 62:48 */ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert);
-/* 63:49 */ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert) {
-/* 64:50 */ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
-/* 65: */ } else {
-/* 66:52 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
-/* 67: */ }
-/* 68:53 */ return null;
-/* 69: */ }
-/* 70: */ }
-/* 71:57 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 72: */ }
-/* 73: */
-/* 74: */ public int getSlotCount()
-/* 75: */ {
-/* 76:62 */ return 0;
-/* 77: */ }
-/* 78: */
-/* 79: */ public int getShiftClickSlotCount()
-/* 80: */ {
-/* 81:67 */ return 0;
-/* 82: */ }
-/* 83: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_Slot_Holo;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.api.util.GT_Utility;
+import gregtech.common.tileentities.automation.GT_MetaTileEntity_ChestBuffer;
+import java.util.List;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.Slot;
+import net.minecraft.item.ItemStack;
+
+public class GT_Container_SuperBuffer
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_SuperBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 256, 8, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 256, 26, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 256, 44, 63, false, true, 1));
+ }
+
+ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
+ {
+ if (aSlotIndex < 0) {
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
+ if (tSlot != null)
+ {
+ if (this.mTileEntity.getMetaTileEntity() == null) {
+ return null;
+ }
+ if (aSlotIndex == 0)
+ {
+ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput);
+ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bOutput) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
+ }
+ return null;
+ }
+ if (aSlotIndex == 1)
+ {
+ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
+ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if no Slot is free");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
+ }
+ return null;
+ }
+ if (aSlotIndex == 2)
+ {
+ ((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert);
+ if (((GT_MetaTileEntity_ChestBuffer)this.mTileEntity.getMetaTileEntity()).bInvert) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
+ }
+ return null;
+ }
+ }
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+
+ public int getSlotCount()
+ {
+ return 0;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 0;
+ }
+}
/* 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/gui/GT_Container_TypeFilter.java b/main/java/gregtech/common/gui/GT_Container_TypeFilter.java
index ae3df0e9bd..964fffa47d 100644
--- a/main/java/gregtech/common/gui/GT_Container_TypeFilter.java
+++ b/main/java/gregtech/common/gui/GT_Container_TypeFilter.java
@@ -1,126 +1,126 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.gui.GT_Slot_Holo;
-/* 5: */ import gregtech.api.gui.GT_Slot_Render;
-/* 6: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 7: */ import gregtech.api.util.GT_Utility;
-/* 8: */ import gregtech.common.tileentities.automation.GT_MetaTileEntity_TypeFilter;
-/* 9: */ import java.util.List;
-/* 10: */ import net.minecraft.entity.player.EntityPlayer;
-/* 11: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 12: */ import net.minecraft.inventory.Slot;
-/* 13: */ import net.minecraft.item.ItemStack;
-/* 14: */
-/* 15: */ public class GT_Container_TypeFilter
-/* 16: */ extends GT_ContainerMetaTile_Machine
-/* 17: */ {
-/* 18: */ public GT_Container_TypeFilter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 19: */ {
-/* 20:17 */ super(aInventoryPlayer, aTileEntity);
-/* 21: */ }
-/* 22: */
-/* 23: */ public void addSlots(InventoryPlayer aInventoryPlayer)
-/* 24: */ {
-/* 25:22 */ addSlotToContainer(new Slot(this.mTileEntity, 0, 98, 5));
-/* 26:23 */ addSlotToContainer(new Slot(this.mTileEntity, 1, 116, 5));
-/* 27:24 */ addSlotToContainer(new Slot(this.mTileEntity, 2, 134, 5));
-/* 28:25 */ addSlotToContainer(new Slot(this.mTileEntity, 3, 98, 23));
-/* 29:26 */ addSlotToContainer(new Slot(this.mTileEntity, 4, 116, 23));
-/* 30:27 */ addSlotToContainer(new Slot(this.mTileEntity, 5, 134, 23));
-/* 31:28 */ addSlotToContainer(new Slot(this.mTileEntity, 6, 98, 41));
-/* 32:29 */ addSlotToContainer(new Slot(this.mTileEntity, 7, 116, 41));
-/* 33:30 */ addSlotToContainer(new Slot(this.mTileEntity, 8, 134, 41));
-/* 34: */
-/* 35:32 */ addSlotToContainer(new GT_Slot_Render(this.mTileEntity, 9, 35, 23));
-/* 36: */
-/* 37:34 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 8, 63, false, true, 1));
-/* 38:35 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 26, 63, false, true, 1));
-/* 39:36 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 44, 63, false, true, 1));
-/* 40:37 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 62, 63, false, true, 1));
-/* 41:38 */ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 80, 63, false, true, 1));
-/* 42: */ }
-/* 43: */
-/* 44: */ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
-/* 45: */ {
-/* 46:43 */ if (aSlotIndex < 9) {
-/* 47:43 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* 48: */ }
-/* 49:45 */ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
-/* 50:46 */ if (tSlot != null)
-/* 51: */ {
-/* 52:47 */ if (this.mTileEntity.getMetaTileEntity() == null) {
-/* 53:47 */ return null;
-/* 54: */ }
-/* 55:48 */ if (aSlotIndex == 9)
-/* 56: */ {
-/* 57:49 */ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).clickTypeIcon(aMouseclick != 0);
-/* 58:50 */ return null;
-/* 59: */ }
-/* 60:51 */ if (aSlotIndex == 10)
-/* 61: */ {
-/* 62:52 */ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bOutput);
-/* 63:53 */ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bOutput) {
-/* 64:54 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
-/* 65: */ } else {
-/* 66:56 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
-/* 67: */ }
-/* 68:57 */ return null;
-/* 69: */ }
-/* 70:58 */ if (aSlotIndex == 11)
-/* 71: */ {
-/* 72:59 */ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
-/* 73:60 */ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
-/* 74:61 */ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if slots contain something");
-/* 75: */ } else {
-/* 76:63 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
-/* 77: */ }
-/* 78:64 */ return null;
-/* 79: */ }
-/* 80:65 */ if (aSlotIndex == 12)
-/* 81: */ {
-/* 82:66 */ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvert);
-/* 83:67 */ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvert) {
-/* 84:68 */ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
-/* 85: */ } else {
-/* 86:70 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
-/* 87: */ }
-/* 88:71 */ return null;
-/* 89: */ }
-/* 90:72 */ if (aSlotIndex == 13)
-/* 91: */ {
-/* 92:73 */ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvertFilter = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvertFilter);
-/* 93:74 */ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvertFilter) {
-/* 94:75 */ GT_Utility.sendChatToPlayer(aPlayer, "Invert Filter");
-/* 95: */ } else {
-/* 96:77 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Filter");
-/* 97: */ }
-/* 98:78 */ return null;
-/* 99: */ }
-/* :0:79 */ if (aSlotIndex == 14)
-/* :1: */ {
-/* :2:80 */ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bNBTAllowed = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bNBTAllowed);
-/* :3:81 */ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bNBTAllowed) {
-/* :4:82 */ GT_Utility.sendChatToPlayer(aPlayer, "Allow Items with NBT");
-/* :5: */ } else {
-/* :6:84 */ GT_Utility.sendChatToPlayer(aPlayer, "Don't allow Items with NBT");
-/* :7: */ }
-/* :8:85 */ return null;
-/* :9: */ }
-/* ;0: */ }
-/* ;1:88 */ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
-/* ;2: */ }
-/* ;3: */
-/* ;4: */ public int getSlotCount()
-/* ;5: */ {
-/* ;6:93 */ return 9;
-/* ;7: */ }
-/* ;8: */
-/* ;9: */ public int getShiftClickSlotCount()
-/* <0: */ {
-/* <1:98 */ return 9;
-/* <2: */ }
-/* <3: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_Slot_Holo;
+import gregtech.api.gui.GT_Slot_Render;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.api.util.GT_Utility;
+import gregtech.common.tileentities.automation.GT_MetaTileEntity_TypeFilter;
+import java.util.List;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.Slot;
+import net.minecraft.item.ItemStack;
+
+public class GT_Container_TypeFilter
+ extends GT_ContainerMetaTile_Machine
+{
+ public GT_Container_TypeFilter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(aInventoryPlayer, aTileEntity);
+ }
+
+ public void addSlots(InventoryPlayer aInventoryPlayer)
+ {
+ addSlotToContainer(new Slot(this.mTileEntity, 0, 98, 5));
+ addSlotToContainer(new Slot(this.mTileEntity, 1, 116, 5));
+ addSlotToContainer(new Slot(this.mTileEntity, 2, 134, 5));
+ addSlotToContainer(new Slot(this.mTileEntity, 3, 98, 23));
+ addSlotToContainer(new Slot(this.mTileEntity, 4, 116, 23));
+ addSlotToContainer(new Slot(this.mTileEntity, 5, 134, 23));
+ addSlotToContainer(new Slot(this.mTileEntity, 6, 98, 41));
+ addSlotToContainer(new Slot(this.mTileEntity, 7, 116, 41));
+ addSlotToContainer(new Slot(this.mTileEntity, 8, 134, 41));
+
+ addSlotToContainer(new GT_Slot_Render(this.mTileEntity, 9, 35, 23));
+
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 8, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 26, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 44, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 62, 63, false, true, 1));
+ addSlotToContainer(new GT_Slot_Holo(this.mTileEntity, 10, 80, 63, false, true, 1));
+ }
+
+ public ItemStack slotClick(int aSlotIndex, int aMouseclick, int aShifthold, EntityPlayer aPlayer)
+ {
+ if (aSlotIndex < 9) {
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+ Slot tSlot = (Slot)this.inventorySlots.get(aSlotIndex);
+ if (tSlot != null)
+ {
+ if (this.mTileEntity.getMetaTileEntity() == null) {
+ return null;
+ }
+ if (aSlotIndex == 9)
+ {
+ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).clickTypeIcon(aMouseclick != 0);
+ return null;
+ }
+ if (aSlotIndex == 10)
+ {
+ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bOutput = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bOutput);
+ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bOutput) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Energy to Outputside");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Energy");
+ }
+ return null;
+ }
+ if (aSlotIndex == 11)
+ {
+ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull);
+ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bRedstoneIfFull) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Emit Redstone if slots contain something");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't emit Redstone");
+ }
+ return null;
+ }
+ if (aSlotIndex == 12)
+ {
+ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvert = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvert);
+ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvert) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Invert Redstone");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Redstone");
+ }
+ return null;
+ }
+ if (aSlotIndex == 13)
+ {
+ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvertFilter = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvertFilter);
+ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bInvertFilter) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Invert Filter");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't invert Filter");
+ }
+ return null;
+ }
+ if (aSlotIndex == 14)
+ {
+ ((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bNBTAllowed = (!((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bNBTAllowed);
+ if (((GT_MetaTileEntity_TypeFilter)this.mTileEntity.getMetaTileEntity()).bNBTAllowed) {
+ GT_Utility.sendChatToPlayer(aPlayer, "Allow Items with NBT");
+ } else {
+ GT_Utility.sendChatToPlayer(aPlayer, "Don't allow Items with NBT");
+ }
+ return null;
+ }
+ }
+ return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
+ }
+
+ public int getSlotCount()
+ {
+ return 9;
+ }
+
+ public int getShiftClickSlotCount()
+ {
+ return 9;
+ }
+}
/* 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/gui/GT_GUIContainer_Boiler.java b/main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java
index 58b520fc48..2a22eb42ed 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java
@@ -1,50 +1,50 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 5: */ import net.minecraft.client.gui.FontRenderer;
-/* 6: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 7: */
-/* 8: */ public class GT_GUIContainer_Boiler
-/* 9: */ extends GT_GUIContainerMetaTile_Machine
-/* 10: */ {
-/* 11: */ public GT_GUIContainer_Boiler(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aTextureName, int aSteamCapacity)
-/* 12: */ {
-/* 13:10 */ super(new GT_Container_Boiler(aInventoryPlayer, aTileEntity, aSteamCapacity), "gregtech:textures/gui/" + aTextureName);
-/* 14: */ }
-/* 15: */
-/* 16: */ protected void drawGuiContainerForegroundLayer(int par1, int par2)
-/* 17: */ {
-/* 18:15 */ this.fontRendererObj.drawString("Boiler", 8, 4, 4210752);
-/* 19: */ }
-/* 20: */
-/* 21: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 22: */ {
-/* 23:20 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 24:21 */ int x = (this.width - this.xSize) / 2;
-/* 25:22 */ int y = (this.height - this.ySize) / 2;
-/* 26:23 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 27:25 */ if (this.mContainer != null)
-/* 28: */ {
-/* 29:27 */ int tScale = ((GT_Container_Boiler)this.mContainer).mSteamAmount;
-/* 30:28 */ if (tScale > 0) {
-/* 31:28 */ drawTexturedModalRect(x + 70, y + 25 + 54 - tScale, 194, 54 - tScale, 10, tScale);
-/* 32: */ }
-/* 33:29 */ tScale = ((GT_Container_Boiler)this.mContainer).mWaterAmount;
-/* 34:30 */ if (tScale > 0) {
-/* 35:30 */ drawTexturedModalRect(x + 83, y + 25 + 54 - tScale, 204, 54 - tScale, 10, tScale);
-/* 36: */ }
-/* 37:31 */ tScale = ((GT_Container_Boiler)this.mContainer).mTemperature;
-/* 38:32 */ if (tScale > 0) {
-/* 39:32 */ drawTexturedModalRect(x + 96, y + 25 + 54 - tScale, 214, 54 - tScale, 10, tScale);
-/* 40: */ }
-/* 41:33 */ tScale = ((GT_Container_Boiler)this.mContainer).mProcessingEnergy;
-/* 42:34 */ if (tScale > 0) {
-/* 43:34 */ drawTexturedModalRect(x + 117, y + 44 + 14 - tScale, 177, 14 - tScale, 15, tScale + 1);
-/* 44: */ }
-/* 45: */ }
-/* 46: */ }
-/* 47: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_Boiler
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_Boiler(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aTextureName, int aSteamCapacity)
+ {
+ super(new GT_Container_Boiler(aInventoryPlayer, aTileEntity, aSteamCapacity), "gregtech:textures/gui/" + aTextureName);
+ }
+
+ protected void drawGuiContainerForegroundLayer(int par1, int par2)
+ {
+ this.fontRendererObj.drawString("Boiler", 8, 4, 4210752);
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ if (this.mContainer != null)
+ {
+ int tScale = ((GT_Container_Boiler)this.mContainer).mSteamAmount;
+ if (tScale > 0) {
+ drawTexturedModalRect(x + 70, y + 25 + 54 - tScale, 194, 54 - tScale, 10, tScale);
+ }
+ tScale = ((GT_Container_Boiler)this.mContainer).mWaterAmount;
+ if (tScale > 0) {
+ drawTexturedModalRect(x + 83, y + 25 + 54 - tScale, 204, 54 - tScale, 10, tScale);
+ }
+ tScale = ((GT_Container_Boiler)this.mContainer).mTemperature;
+ if (tScale > 0) {
+ drawTexturedModalRect(x + 96, y + 25 + 54 - tScale, 214, 54 - tScale, 10, tScale);
+ }
+ tScale = ((GT_Container_Boiler)this.mContainer).mProcessingEnergy;
+ if (tScale > 0) {
+ drawTexturedModalRect(x + 117, y + 44 + 14 - tScale, 177, 14 - tScale, 15, tScale + 1);
+ }
+ }
+ }
+}
/* 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/gui/GT_GUIContainer_BronzeBlastFurnace.java b/main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java
index 581e6b43f8..fbd663c24c 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java
@@ -1,36 +1,36 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_ContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 6: */ import net.minecraft.client.gui.FontRenderer;
-/* 7: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 8: */
-/* 9: */ public class GT_GUIContainer_BronzeBlastFurnace
-/* 10: */ extends GT_GUIContainerMetaTile_Machine
-/* 11: */ {
-/* 12: */ public GT_GUIContainer_BronzeBlastFurnace(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 13: */ {
-/* 14:11 */ super(new GT_Container_BronzeBlastFurnace(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/BronzeBlastFurnace.png");
-/* 15: */ }
-/* 16: */
-/* 17: */ protected void drawGuiContainerForegroundLayer(int par1, int par2)
-/* 18: */ {
-/* 19:16 */ this.fontRendererObj.drawString("Bronze Blast Furnace", 8, 4, 4210752);
-/* 20: */ }
-/* 21: */
-/* 22: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 23: */ {
-/* 24:21 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 25:22 */ int x = (this.width - this.xSize) / 2;
-/* 26:23 */ int y = (this.height - this.ySize) / 2;
-/* 27:24 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 28:26 */ if ((this.mContainer != null) &&
-/* 29:27 */ (this.mContainer.mProgressTime > 0)) {
-/* 30:27 */ drawTexturedModalRect(x + 58, y + 28, 176, 0, Math.max(0, Math.min(20, (this.mContainer.mProgressTime > 0 ? 1 : 0) + this.mContainer.mProgressTime * 20 / (this.mContainer.mMaxProgressTime < 1 ? 1 : this.mContainer.mMaxProgressTime))), 11);
-/* 31: */ }
-/* 32: */ }
-/* 33: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_ContainerMetaTile_Machine;
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_BronzeBlastFurnace
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_BronzeBlastFurnace(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(new GT_Container_BronzeBlastFurnace(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/BronzeBlastFurnace.png");
+ }
+
+ protected void drawGuiContainerForegroundLayer(int par1, int par2)
+ {
+ this.fontRendererObj.drawString("Bronze Blast Furnace", 8, 4, 4210752);
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ if ((this.mContainer != null) &&
+ (this.mContainer.mProgressTime > 0)) {
+ drawTexturedModalRect(x + 58, y + 28, 176, 0, Math.max(0, Math.min(20, (this.mContainer.mProgressTime > 0 ? 1 : 0) + this.mContainer.mProgressTime * 20 / (this.mContainer.mMaxProgressTime < 1 ? 1 : this.mContainer.mMaxProgressTime))), 11);
+ }
+ }
+}
/* 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/gui/GT_GUIContainer_ChestBuffer.java b/main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java
index 0528980387..c00914698f 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java
@@ -1,25 +1,25 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 5: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 6: */
-/* 7: */ public class GT_GUIContainer_ChestBuffer
-/* 8: */ extends GT_GUIContainerMetaTile_Machine
-/* 9: */ {
-/* 10: */ public GT_GUIContainer_ChestBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 11: */ {
-/* 12:11 */ super(new GT_Container_ChestBuffer(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/ChestBuffer.png");
-/* 13: */ }
-/* 14: */
-/* 15: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 16: */ {
-/* 17:16 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 18:17 */ int x = (this.width - this.xSize) / 2;
-/* 19:18 */ int y = (this.height - this.ySize) / 2;
-/* 20:19 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 21: */ }
-/* 22: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_ChestBuffer
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_ChestBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(new GT_Container_ChestBuffer(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/ChestBuffer.png");
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ }
+}
/* 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/gui/GT_GUIContainer_Filter.java b/main/java/gregtech/common/gui/GT_GUIContainer_Filter.java
index c2e3778672..9730558f1a 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_Filter.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_Filter.java
@@ -1,25 +1,25 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 5: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 6: */
-/* 7: */ public class GT_GUIContainer_Filter
-/* 8: */ extends GT_GUIContainerMetaTile_Machine
-/* 9: */ {
-/* 10: */ public GT_GUIContainer_Filter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 11: */ {
-/* 12:10 */ super(new GT_Container_Filter(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/Filter.png");
-/* 13: */ }
-/* 14: */
-/* 15: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 16: */ {
-/* 17:15 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 18:16 */ int x = (this.width - this.xSize) / 2;
-/* 19:17 */ int y = (this.height - this.ySize) / 2;
-/* 20:18 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 21: */ }
-/* 22: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_Filter
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_Filter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(new GT_Container_Filter(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/Filter.png");
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ }
+}
/* 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/gui/GT_GUIContainer_Regulator.java b/main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java
index f23d854d03..54a197f688 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java
@@ -1,39 +1,39 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 5: */ import net.minecraft.client.gui.FontRenderer;
-/* 6: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 7: */
-/* 8: */ public class GT_GUIContainer_Regulator
-/* 9: */ extends GT_GUIContainerMetaTile_Machine
-/* 10: */ {
-/* 11: */ public GT_GUIContainer_Regulator(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 12: */ {
-/* 13:11 */ super(new GT_Container_Regulator(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/Regulator.png");
-/* 14: */ }
-/* 15: */
-/* 16: */ protected void drawGuiContainerForegroundLayer(int par1, int par2)
-/* 17: */ {
-/* 18:16 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[0], 120, 9, 16448255);
-/* 19:17 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[1], 137, 9, 16448255);
-/* 20:18 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[2], 155, 9, 16448255);
-/* 21:19 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[3], 120, 26, 16448255);
-/* 22:20 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[4], 137, 26, 16448255);
-/* 23:21 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[5], 155, 26, 16448255);
-/* 24:22 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[6], 120, 43, 16448255);
-/* 25:23 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[7], 137, 43, 16448255);
-/* 26:24 */ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[8], 155, 43, 16448255);
-/* 27: */ }
-/* 28: */
-/* 29: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 30: */ {
-/* 31:29 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 32:30 */ int x = (this.width - this.xSize) / 2;
-/* 33:31 */ int y = (this.height - this.ySize) / 2;
-/* 34:32 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 35: */ }
-/* 36: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_Regulator
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_Regulator(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(new GT_Container_Regulator(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/Regulator.png");
+ }
+
+ protected void drawGuiContainerForegroundLayer(int par1, int par2)
+ {
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[0], 120, 9, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[1], 137, 9, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[2], 155, 9, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[3], 120, 26, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[4], 137, 26, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[5], 155, 26, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[6], 120, 43, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[7], 137, 43, 16448255);
+ this.fontRendererObj.drawString("" + ((GT_Container_Regulator)this.mContainer).mTargetSlots[8], 155, 43, 16448255);
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ }
+}
/* 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/gui/GT_GUIContainer_SuperBuffer.java b/main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java
index 3cecff99bc..af167ddf14 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java
@@ -1,25 +1,25 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 5: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 6: */
-/* 7: */ public class GT_GUIContainer_SuperBuffer
-/* 8: */ extends GT_GUIContainerMetaTile_Machine
-/* 9: */ {
-/* 10: */ public GT_GUIContainer_SuperBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 11: */ {
-/* 12:11 */ super(new GT_Container_SuperBuffer(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/SuperBuffer.png");
-/* 13: */ }
-/* 14: */
-/* 15: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 16: */ {
-/* 17:16 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 18:17 */ int x = (this.width - this.xSize) / 2;
-/* 19:18 */ int y = (this.height - this.ySize) / 2;
-/* 20:19 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 21: */ }
-/* 22: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_SuperBuffer
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_SuperBuffer(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(new GT_Container_SuperBuffer(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/SuperBuffer.png");
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ }
+}
/* 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/gui/GT_GUIContainer_TypeFilter.java b/main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java
index 23025e909b..46ade86bd9 100644
--- a/main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java
+++ b/main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java
@@ -1,25 +1,25 @@
-/* 1: */ package gregtech.common.gui;
-/* 2: */
-/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
-/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-/* 5: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 6: */
-/* 7: */ public class GT_GUIContainer_TypeFilter
-/* 8: */ extends GT_GUIContainerMetaTile_Machine
-/* 9: */ {
-/* 10: */ public GT_GUIContainer_TypeFilter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
-/* 11: */ {
-/* 12:10 */ super(new GT_Container_TypeFilter(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/TypeFilter.png");
-/* 13: */ }
-/* 14: */
-/* 15: */ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-/* 16: */ {
-/* 17:15 */ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
-/* 18:16 */ int x = (this.width - this.xSize) / 2;
-/* 19:17 */ int y = (this.height - this.ySize) / 2;
-/* 20:18 */ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
-/* 21: */ }
-/* 22: */ }
+package gregtech.common.gui;
+
+import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
+import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import net.minecraft.entity.player.InventoryPlayer;
+
+public class GT_GUIContainer_TypeFilter
+ extends GT_GUIContainerMetaTile_Machine
+{
+ public GT_GUIContainer_TypeFilter(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity)
+ {
+ super(new GT_Container_TypeFilter(aInventoryPlayer, aTileEntity), "gregtech:textures/gui/TypeFilter.png");
+ }
+
+ protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
+ {
+ super.drawGuiContainerBackgroundLayer(par1, par2, par3);
+ int x = (this.width - this.xSize) / 2;
+ int y = (this.height - this.ySize) / 2;
+ drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
+ }
+}
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar