diff options
author | miozune <miozune@gmail.com> | 2022-12-03 00:20:47 +0900 |
---|---|---|
committer | miozune <miozune@gmail.com> | 2022-12-03 00:20:47 +0900 |
commit | 12bfafdc2f2de09bdcbf31cf27c4809e2bd84b3b (patch) | |
tree | 2d1da082e7a283d920ff017fca80fd46a1df23bd /src/main/java/client/gui | |
parent | 7cf6053fdba91bcc4dbb579a1f6ff40b98de7397 (diff) | |
download | GT5-Unofficial-12bfafdc2f2de09bdcbf31cf27c4809e2bd84b3b.tar.gz GT5-Unofficial-12bfafdc2f2de09bdcbf31cf27c4809e2bd84b3b.tar.bz2 GT5-Unofficial-12bfafdc2f2de09bdcbf31cf27c4809e2bd84b3b.zip |
Migrate to ModularUI
Diffstat (limited to 'src/main/java/client/gui')
-rw-r--r-- | src/main/java/client/gui/GUIContainer_ModularNuclearReactor.java | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/main/java/client/gui/GUIContainer_ModularNuclearReactor.java b/src/main/java/client/gui/GUIContainer_ModularNuclearReactor.java deleted file mode 100644 index eabbb26ff1..0000000000 --- a/src/main/java/client/gui/GUIContainer_ModularNuclearReactor.java +++ /dev/null @@ -1,40 +0,0 @@ -package client.gui; - -import common.container.Container_ModularNuclearReactor; -import gregtech.api.interfaces.tileentity.IGregTechTileEntity; -import kekztech.KekzCore; -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.inventory.GuiContainer; -import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.entity.player.InventoryPlayer; -import net.minecraft.util.ResourceLocation; -import org.lwjgl.opengl.GL11; - -public class GUIContainer_ModularNuclearReactor extends GuiContainer { - - private ResourceLocation texture = - new ResourceLocation(KekzCore.MODID, "textures/gui/MultiblockDisplay_REACTOR.png"); - - private InventoryPlayer inventory; - private IGregTechTileEntity te; - - public GUIContainer_ModularNuclearReactor(IGregTechTileEntity te, EntityPlayer player) { - super(new Container_ModularNuclearReactor(te, player)); - inventory = player.inventory; - this.te = te; - } - - @Override - protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) { - Minecraft.getMinecraft().renderEngine.bindTexture(texture); - - GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - - final int x = (super.width - super.xSize) / 2; - final int y = (super.height - super.ySize) / 2; - super.drawTexturedModalRect(x, y, 0, 0, super.xSize, super.ySize); - } - - @Override - protected void drawGuiContainerForegroundLayer(int par1, int par2) {} -} |