From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../gregtech/common/gui/GT_Container_Boiler.java | 101 ----------- .../gui/GT_Container_BronzeBlastFurnace.java | 43 ----- .../common/gui/GT_Container_ChestBuffer.java | 97 ----------- .../gregtech/common/gui/GT_Container_Filter.java | 152 ----------------- .../common/gui/GT_Container_QuantumChest.java | 68 -------- .../common/gui/GT_Container_Regulator.java | 186 --------------------- .../common/gui/GT_Container_SuperBuffer.java | 92 ---------- .../common/gui/GT_Container_TypeFilter.java | 132 --------------- .../common/gui/GT_GUIContainer_Boiler.java | 54 ------ .../gui/GT_GUIContainer_BronzeBlastFurnace.java | 38 ----- .../common/gui/GT_GUIContainer_ChestBuffer.java | 29 ---- .../common/gui/GT_GUIContainer_Filter.java | 29 ---- .../common/gui/GT_GUIContainer_FusionReactor.java | 52 ------ .../common/gui/GT_GUIContainer_QuantumChest.java | 37 ---- .../common/gui/GT_GUIContainer_Regulator.java | 43 ----- .../common/gui/GT_GUIContainer_SuperBuffer.java | 29 ---- .../common/gui/GT_GUIContainer_TypeFilter.java | 29 ---- 17 files changed, 1211 deletions(-) delete mode 100644 main/java/gregtech/common/gui/GT_Container_Boiler.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_ChestBuffer.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_Filter.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_QuantumChest.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_Regulator.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_SuperBuffer.java delete mode 100644 main/java/gregtech/common/gui/GT_Container_TypeFilter.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_Filter.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_FusionReactor.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_QuantumChest.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java delete mode 100644 main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java (limited to 'main/java/gregtech/common/gui') diff --git a/main/java/gregtech/common/gui/GT_Container_Boiler.java b/main/java/gregtech/common/gui/GT_Container_Boiler.java deleted file mode 100644 index df33c4d..0000000 --- a/main/java/gregtech/common/gui/GT_Container_Boiler.java +++ /dev/null @@ -1,101 +0,0 @@ -/* 1: */ package gregtech.common.gui; -/* 8: */ import java.util.Iterator; - -/* 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; -/* 10: */ import net.minecraft.entity.player.InventoryPlayer; -/* 11: */ import net.minecraft.inventory.ICrafting; -/* 12: */ import net.minecraft.inventory.Slot; -/* 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: */ @Override -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: */ @Override -public int getSlotCount() -/* 33: */ { -/* 34:34 */ return 4; -/* 35: */ } -/* 36: */ -/* 37: */ @Override -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: */ @Override -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: */ @Override -@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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_Boiler - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java b/main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java deleted file mode 100644 index d71fd80..0000000 --- a/main/java/gregtech/common/gui/GT_Container_BronzeBlastFurnace.java +++ /dev/null @@ -1,43 +0,0 @@ -/* 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: */ @Override -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: */ @Override -public int getSlotCount() -/* 26: */ { -/* 27:25 */ return 4; -/* 28: */ } -/* 29: */ -/* 30: */ @Override -public int getShiftClickSlotCount() -/* 31: */ { -/* 32:30 */ return 2; -/* 33: */ } -/* 34: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_BronzeBlastFurnace - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_Container_ChestBuffer.java b/main/java/gregtech/common/gui/GT_Container_ChestBuffer.java deleted file mode 100644 index 174a61d..0000000 --- a/main/java/gregtech/common/gui/GT_Container_ChestBuffer.java +++ /dev/null @@ -1,97 +0,0 @@ -/* 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; -/* 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: */ @Override -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: */ @Override -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: */ @Override -public int getSlotCount() -/* 80: */ { -/* 81:64 */ return 27; -/* 82: */ } -/* 83: */ -/* 84: */ @Override -public int getShiftClickSlotCount() -/* 85: */ { -/* 86:69 */ return 27; -/* 87: */ } -/* 88: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_ChestBuffer - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_Container_Filter.java b/main/java/gregtech/common/gui/GT_Container_Filter.java deleted file mode 100644 index 1dd475d..0000000 --- a/main/java/gregtech/common/gui/GT_Container_Filter.java +++ /dev/null @@ -1,152 +0,0 @@ -/* 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; -/* 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: */ @Override -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: */ @Override -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: */ @Override -public int getSlotCount() -/* 135: */ { -/* 136:113 */ return 9; -/* 137: */ } -/* 138: */ -/* 139: */ @Override -public int getShiftClickSlotCount() -/* 140: */ { -/* 141:118 */ return 9; -/* 142: */ } -/* 143: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_Filter - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_Container_QuantumChest.java b/main/java/gregtech/common/gui/GT_Container_QuantumChest.java deleted file mode 100644 index cceca54..0000000 --- a/main/java/gregtech/common/gui/GT_Container_QuantumChest.java +++ /dev/null @@ -1,68 +0,0 @@ -package gregtech.common.gui; - -import java.util.Iterator; - -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_Output; -import gregtech.api.gui.GT_Slot_Render; -import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -import gregtech.common.tileentities.storage.GT_MetaTileEntity_QuantumChest; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.inventory.ICrafting; -import net.minecraft.inventory.Slot; - -public class GT_Container_QuantumChest extends GT_ContainerMetaTile_Machine { - - public GT_Container_QuantumChest(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity) { - super(aInventoryPlayer, aTileEntity); - } - - @Override - public void addSlots(InventoryPlayer aInventoryPlayer) { - addSlotToContainer(new Slot(mTileEntity, 0, 80, 17)); - addSlotToContainer(new GT_Slot_Output(mTileEntity, 1, 80, 53)); - addSlotToContainer(new GT_Slot_Render(mTileEntity, 2, 59, 42)); - } - - public int mContent = 0; - - @Override - public void detectAndSendChanges() { - super.detectAndSendChanges(); - - if (mTileEntity.isClientSide() || mTileEntity.getMetaTileEntity() == null) return; - if (mTileEntity.getMetaTileEntity() instanceof GT_MetaTileEntity_QuantumChest){ - mContent = ((GT_MetaTileEntity_QuantumChest)mTileEntity.getMetaTileEntity()).mItemCount; - }else{ - mContent = 0;} - - Iterator var2 = this.crafters.iterator(); - while (var2.hasNext()) { - ICrafting var1 = (ICrafting)var2.next(); - var1.sendProgressBarUpdate(this, 100, mContent & 65535); - var1.sendProgressBarUpdate(this, 101, mContent >>> 16); - } - } - - @Override - @SideOnly(Side.CLIENT) - public void updateProgressBar(int par1, int par2) { - super.updateProgressBar(par1, par2); - switch (par1) { - case 100: mContent = mContent & -65536 | par2; break; - case 101: mContent = mContent & 65535 | par2 << 16; break; - } - } - - @Override - public int getSlotCount() { - return 2; - } - - @Override - public int getShiftClickSlotCount() { - return 1; - } -} diff --git a/main/java/gregtech/common/gui/GT_Container_Regulator.java b/main/java/gregtech/common/gui/GT_Container_Regulator.java deleted file mode 100644 index cad11df..0000000 --- a/main/java/gregtech/common/gui/GT_Container_Regulator.java +++ /dev/null @@ -1,186 +0,0 @@ -/* 1: */ package gregtech.common.gui; -/* 10: */ import java.util.Iterator; - -/* 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; -/* 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: */ @Override -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: */ @Override -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: */ @Override -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: */ @Override -@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: */ @Override -public int getSlotCount() -/* 166: */ { -/* 167:140 */ return 9; -/* 168: */ } -/* 169: */ -/* 170: */ @Override -public int getShiftClickSlotCount() -/* 171: */ { -/* 172:145 */ return 9; -/* 173: */ } -/* 174: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_Regulator - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_Container_SuperBuffer.java b/main/java/gregtech/common/gui/GT_Container_SuperBuffer.java deleted file mode 100644 index 83af424..0000000 --- a/main/java/gregtech/common/gui/GT_Container_SuperBuffer.java +++ /dev/null @@ -1,92 +0,0 @@ -/* 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; -/* 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: */ @Override -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: */ @Override -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: */ @Override -public int getSlotCount() -/* 75: */ { -/* 76:62 */ return 0; -/* 77: */ } -/* 78: */ -/* 79: */ @Override -public int getShiftClickSlotCount() -/* 80: */ { -/* 81:67 */ return 0; -/* 82: */ } -/* 83: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_SuperBuffer - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_Container_TypeFilter.java b/main/java/gregtech/common/gui/GT_Container_TypeFilter.java deleted file mode 100644 index f547a3b..0000000 --- a/main/java/gregtech/common/gui/GT_Container_TypeFilter.java +++ /dev/null @@ -1,132 +0,0 @@ -/* 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; -/* 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: */ @Override -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: */ @Override -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: */ @Override -public int getSlotCount() -/* ;5: */ { -/* ;6:93 */ return 9; -/* ;7: */ } -/* ;8: */ -/* ;9: */ @Override -public int getShiftClickSlotCount() -/* <0: */ { -/* <1:98 */ return 9; -/* <2: */ } -/* <3: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_Container_TypeFilter - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java b/main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java deleted file mode 100644 index 275cd63..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java +++ /dev/null @@ -1,54 +0,0 @@ -/* 1: */ package gregtech.common.gui; -/* 2: */ -/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine; -/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -/* 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: */ @Override -protected void drawGuiContainerForegroundLayer(int par1, int par2) -/* 17: */ { -/* 18:15 */ this.fontRendererObj.drawString("Boiler", 8, 4, 4210752); -/* 19: */ } -/* 20: */ -/* 21: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_Boiler - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java b/main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java deleted file mode 100644 index 9a61f87..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_BronzeBlastFurnace.java +++ /dev/null @@ -1,38 +0,0 @@ -/* 1: */ package gregtech.common.gui; -/* 4: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine; -/* 5: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -/* 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: */ @Override -protected void drawGuiContainerForegroundLayer(int par1, int par2) -/* 18: */ { -/* 19:16 */ this.fontRendererObj.drawString("Bronze Blast Furnace", 8, 4, 4210752); -/* 20: */ } -/* 21: */ -/* 22: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_BronzeBlastFurnace - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java b/main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java deleted file mode 100644 index 1891ff8..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_ChestBuffer.java +++ /dev/null @@ -1,29 +0,0 @@ -/* 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: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_ChestBuffer - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_Filter.java b/main/java/gregtech/common/gui/GT_GUIContainer_Filter.java deleted file mode 100644 index 1122762..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_Filter.java +++ /dev/null @@ -1,29 +0,0 @@ -/* 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: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_Filter - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_FusionReactor.java b/main/java/gregtech/common/gui/GT_GUIContainer_FusionReactor.java deleted file mode 100644 index db092ff..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_FusionReactor.java +++ /dev/null @@ -1,52 +0,0 @@ -package gregtech.common.gui; - -import static gregtech.api.enums.GT_Values.RES_PATH_GUI; - -import gregtech.api.gui.GT_Container_MultiMachine; -import gregtech.api.gui.GT_GUIContainerMetaTile_Machine; -import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -import gregtech.api.util.GT_Utility; -import net.minecraft.entity.player.InventoryPlayer; - -public class GT_GUIContainer_FusionReactor extends GT_GUIContainerMetaTile_Machine { - - String mName = ""; - - public GT_GUIContainer_FusionReactor(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aTextureFile) { - super(new GT_Container_MultiMachine(aInventoryPlayer, aTileEntity, false), RES_PATH_GUI + "multimachines/" + (aTextureFile==null?"MultiblockDisplay":aTextureFile)); - mName = aName; - } - - @Override - protected void drawGuiContainerForegroundLayer(int par1, int par2) { - fontRendererObj.drawString(mName, 8, -10, 16448255); - - if (mContainer != null) { - if ((((GT_Container_MultiMachine)mContainer).mDisplayErrorCode & 64) != 0) fontRendererObj.drawString("Incomplete Structure.", 10, 8, 16448255); - - if (((GT_Container_MultiMachine)mContainer).mDisplayErrorCode == 0) { - if (((GT_Container_MultiMachine)mContainer).mActive == 0) { - fontRendererObj.drawString("Hit with Soft Hammer to (re-)start the Machine if it doesn't start.", -70, 170, 16448255); - } else { - fontRendererObj.drawString("Running perfectly.", 10, 170, 16448255); - } - } - if(this.mContainer!=null){ - fontRendererObj.drawString(GT_Utility.formatNumbers(this.mContainer.mEnergy)+" EU", 50, 155, 0x00b0b000); - } - } - } - - @Override - protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) { - super.drawGuiContainerBackgroundLayer(par1, par2, par3); - int x = (width - xSize) / 2; - int y = (height - ySize) / 2; - drawTexturedModalRect(x, y, 0, 0, xSize, ySize); - if (this.mContainer != null) - { - double tScale = (double) this.mContainer.mEnergy / (double)this.mContainer.mStorage; - drawTexturedModalRect(x + 5, y + 156, 0, 251,Math.min(147, (int)(tScale*148)), 5); - } - } -} \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_QuantumChest.java b/main/java/gregtech/common/gui/GT_GUIContainer_QuantumChest.java deleted file mode 100644 index e6498fa..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_QuantumChest.java +++ /dev/null @@ -1,37 +0,0 @@ -package gregtech.common.gui; - -import static gregtech.api.enums.GT_Values.RES_PATH_GUI; - -import gregtech.api.gui.GT_GUIContainerMetaTile_Machine; -import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -import gregtech.api.util.GT_Utility; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.StatCollector; - -public class GT_GUIContainer_QuantumChest extends GT_GUIContainerMetaTile_Machine { - - private final String mName; - - public GT_GUIContainer_QuantumChest(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName) { - super(new GT_Container_QuantumChest(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "BasicTank.png"); - mName = aName; - } - - @Override - protected void drawGuiContainerForegroundLayer(int par1, int par2) { - fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 8, ySize - 96 + 2, 4210752); - fontRendererObj.drawString(mName, 8, 6, 4210752); - if (mContainer != null) { - fontRendererObj.drawString("Item Amount", 10, 20, 16448255); - fontRendererObj.drawString(GT_Utility.parseNumberToString(((GT_Container_QuantumChest)mContainer).mContent), 10, 30, 16448255); - } - } - - @Override - protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) { - super.drawGuiContainerBackgroundLayer(par1, par2, par3); - int x = (width - xSize) / 2; - int y = (height - ySize) / 2; - drawTexturedModalRect(x, y, 0, 0, xSize, ySize); - } -} diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java b/main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java deleted file mode 100644 index 57d9d02..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_Regulator.java +++ /dev/null @@ -1,43 +0,0 @@ -/* 1: */ package gregtech.common.gui; -/* 2: */ -/* 3: */ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine; -/* 4: */ import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -/* 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: */ @Override -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: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_Regulator - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java b/main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java deleted file mode 100644 index e684d3e..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_SuperBuffer.java +++ /dev/null @@ -1,29 +0,0 @@ -/* 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: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_SuperBuffer - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file diff --git a/main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java b/main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java deleted file mode 100644 index d620e82..0000000 --- a/main/java/gregtech/common/gui/GT_GUIContainer_TypeFilter.java +++ /dev/null @@ -1,29 +0,0 @@ -/* 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: */ @Override -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: */ } - - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.gui.GT_GUIContainer_TypeFilter - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file -- cgit v1.2.3