summaryrefslogtreecommitdiff
path: root/common/darkknight/jewelrycraft/client/GuiRingChest.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2013-12-26 00:50:16 +0200
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2013-12-26 00:50:16 +0200
commit1a3455b24d90b0def912c28467cbc51662d660e0 (patch)
tree90232ffe1b1a52ab43594b438cfac44ad3c0b60e /common/darkknight/jewelrycraft/client/GuiRingChest.java
parent1997f4547812121223836dcacfcb31ea63acdda6 (diff)
Major changes. Thanks domi for helping me with the chest linking ring :)
Diffstat (limited to 'common/darkknight/jewelrycraft/client/GuiRingChest.java')
-rw-r--r--common/darkknight/jewelrycraft/client/GuiRingChest.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/common/darkknight/jewelrycraft/client/GuiRingChest.java b/common/darkknight/jewelrycraft/client/GuiRingChest.java
new file mode 100644
index 0000000..3aa4cf6
--- /dev/null
+++ b/common/darkknight/jewelrycraft/client/GuiRingChest.java
@@ -0,0 +1,39 @@
+package darkknight.jewelrycraft.client;
+
+import org.lwjgl.opengl.GL11;
+
+import darkknight.jewelrycraft.container.ContainerRingChest;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.inventory.GuiContainer;
+import net.minecraft.util.ResourceLocation;
+
+public class GuiRingChest extends GuiContainer
+{
+ public ContainerRingChest container;
+
+ public GuiRingChest(ContainerRingChest container)
+ {
+ super(container);
+ this.container = container;
+ xSize = 176;
+ 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/chest_ring.png"));
+
+ drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
+ }
+
+ @Override
+ public void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
+ {
+ fontRenderer.drawString("Linked Chest", 8, 6, 0x404040);
+ fontRenderer.drawString("Inventory", 8, 72, 0x404040);
+ }
+}