From 73ca377dc01f859dabd7b07738cb7aeb762272b1 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Thu, 29 Jan 2015 18:28:37 +0000 Subject: Made lots of changes --- .../darkknight/jewelrycraft/client/GuiJewelry.java | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 java/darkknight/jewelrycraft/client/GuiJewelry.java (limited to 'java/darkknight/jewelrycraft/client/GuiJewelry.java') diff --git a/java/darkknight/jewelrycraft/client/GuiJewelry.java b/java/darkknight/jewelrycraft/client/GuiJewelry.java new file mode 100644 index 0000000..bbc6236 --- /dev/null +++ b/java/darkknight/jewelrycraft/client/GuiJewelry.java @@ -0,0 +1,32 @@ +package darkknight.jewelrycraft.client; + +import org.lwjgl.opengl.GL11; + +import darkknight.jewelrycraft.container.ContainerJewelryTab; +import darkknight.jewelrycraft.container.ContainerRingChest; +import net.minecraft.client.Minecraft; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.util.ResourceLocation; + +public class GuiJewelry extends GuiContainer +{ + public GuiJewelry(ContainerJewelryTab containerJewelryTab) + { + super(containerJewelryTab); + xSize = 194; + ySize = 166; + } + + @Override + public void drawGuiContainerBackgroundLayer(float f, int mouseX, int mouseY) + { + GL11.glColor3f(1, 1, 1); + Minecraft.getMinecraft().getTextureManager().bindTexture(new ResourceLocation("jewelrycraft", "textures/gui/jewelry_tab.png")); + drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize); + } + + @Override + public void drawGuiContainerForegroundLayer(int mouseX, int mouseY) + { + } +} -- cgit v1.2.3