aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/core/gui
diff options
context:
space:
mode:
authorRaven Szewczyk <git@eigenraven.me>2024-07-26 10:26:18 +0100
committerGitHub <noreply@github.com>2024-07-26 10:26:18 +0100
commit2d09c1d5693de31bb500752a8dcc9074acecbd73 (patch)
treede00b34ed53ec860943afd1a5c72d5087d059f81 /src/main/java/gtPlusPlus/core/gui
parent0cb32ba6d9f2acf9352af667fa7bcf311b011d9c (diff)
downloadGT5-Unofficial-2d09c1d5693de31bb500752a8dcc9074acecbd73.tar.gz
GT5-Unofficial-2d09c1d5693de31bb500752a8dcc9074acecbd73.tar.bz2
GT5-Unofficial-2d09c1d5693de31bb500752a8dcc9074acecbd73.zip
Fix Lead Lined Box gui and add ModularUI2 as a dependency (#2767)
Diffstat (limited to 'src/main/java/gtPlusPlus/core/gui')
-rw-r--r--src/main/java/gtPlusPlus/core/gui/machine/GUI_DecayablesChest.java54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/main/java/gtPlusPlus/core/gui/machine/GUI_DecayablesChest.java b/src/main/java/gtPlusPlus/core/gui/machine/GUI_DecayablesChest.java
deleted file mode 100644
index 60e0f0e67e..0000000000
--- a/src/main/java/gtPlusPlus/core/gui/machine/GUI_DecayablesChest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package gtPlusPlus.core.gui.machine;
-
-import static gregtech.api.enums.Mods.GTPlusPlus;
-
-import net.minecraft.client.gui.inventory.GuiContainer;
-import net.minecraft.entity.player.InventoryPlayer;
-import net.minecraft.util.ResourceLocation;
-
-import org.lwjgl.opengl.GL11;
-
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import gtPlusPlus.core.container.Container_DecayablesChest;
-import gtPlusPlus.core.tileentities.general.TileEntityDecayablesChest;
-
-@SideOnly(Side.CLIENT)
-public class GUI_DecayablesChest extends GuiContainer {
-
- private static final ResourceLocation craftingTableGuiTextures = new ResourceLocation(
- GTPlusPlus.ID,
- "textures/gui/FishTrap.png");
-
- public GUI_DecayablesChest(final InventoryPlayer player_inventory, final TileEntityDecayablesChest te) {
- super(new Container_DecayablesChest(player_inventory, te));
- }
-
- @Override
- protected void drawGuiContainerForegroundLayer(final int i, final int j) {
-
- }
-
- @Override
- protected void drawGuiContainerBackgroundLayer(final float f, final int i, final int j) {
- GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
- this.mc.renderEngine.bindTexture(craftingTableGuiTextures);
- final int x = (this.width - this.xSize) / 2;
- final int y = (this.height - this.ySize) / 2;
- this.drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize);
- }
-
- // This method is called when the Gui is first called!
- @Override
- public void initGui() {
- // You have to add this line for the Gui to function properly!
- super.initGui();
-
- // The parameters of GuiButton are(id, x, y, width, height, text);
- // this.buttonList.add(new GuiButton( 1, 367, 132, 18, 18, "X"));
- // this.buttonList.add(new GuiButton( 2, 385, 132, 18, 18, "Y"));
- // NOTE: the id always has to be different or else it might get called twice or never!
-
- // Add any other buttons here too!
- }
-}