diff options
author | aerospark <lukefay12@gmail.com> | 2015-06-23 15:29:05 -0700 |
---|---|---|
committer | aerospark <lukefay12@gmail.com> | 2015-06-23 15:29:05 -0700 |
commit | a1504799f44ba2debdfef06317f24e7f9c1129d6 (patch) | |
tree | 53e53ff64d2902c639951bd1d41f942ee171f836 /main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java | |
parent | b803f59de5a66fcb4ef53e117b912fbbc2841392 (diff) | |
download | GT5-Unofficial-a1504799f44ba2debdfef06317f24e7f9c1129d6.tar.gz GT5-Unofficial-a1504799f44ba2debdfef06317f24e7f9c1129d6.tar.bz2 GT5-Unofficial-a1504799f44ba2debdfef06317f24e7f9c1129d6.zip |
strip linenumbers
Diffstat (limited to 'main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java')
-rw-r--r-- | main/java/gregtech/common/gui/GT_GUIContainer_Boiler.java | 94 |
1 files changed, 47 insertions, 47 deletions
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
|