From 579897040aea2e015c6e2a1223e4480f2cfe1cd7 Mon Sep 17 00:00:00 2001 From: Pahimar Date: Fri, 19 Sep 2014 16:09:07 -0400 Subject: [PATCH] Work work work --- .../ee3/client/gui/inventory/GuiEE.java | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 src/main/java/com/pahimar/ee3/client/gui/inventory/GuiEE.java diff --git a/src/main/java/com/pahimar/ee3/client/gui/inventory/GuiEE.java b/src/main/java/com/pahimar/ee3/client/gui/inventory/GuiEE.java new file mode 100644 index 00000000..d4052f75 --- /dev/null +++ b/src/main/java/com/pahimar/ee3/client/gui/inventory/GuiEE.java @@ -0,0 +1,84 @@ +package com.pahimar.ee3.client.gui.inventory; + +import com.pahimar.ee3.util.ResourceLocationHelper; +import net.minecraft.client.gui.inventory.GuiContainer; +import net.minecraft.inventory.Container; +import net.minecraft.util.ResourceLocation; + +/** + * Borrowing from CoFHLib's idea of a generic Gui class to build off of because otherwise this is a crapshoot + */ +public class GuiEE extends GuiContainer +{ + protected ResourceLocation guiTexture; + + public GuiEE(Container container) + { + super(container); + } + + public GuiEE(Container container, String texture) + { + this(container, ResourceLocationHelper.getResourceLocation(texture)); + } + + public GuiEE(Container container, ResourceLocation guiTexture) + { + super(container); + this.guiTexture = guiTexture; + } + + @Override + public void initGui() + { + super.initGui(); + } + + @Override + public void drawScreen(int x, int y, float partialTick) + { + super.drawScreen(x, y, partialTick); + } + + @Override + protected void drawGuiContainerForegroundLayer(int x, int y) + { + super.drawGuiContainerForegroundLayer(x, y); + } + + @Override + protected void drawGuiContainerBackgroundLayer(float partialTick, int x, int y) + { + + } + + @Override + protected void keyTyped(char characterTyped, int keyPressed) + { + + } + + @Override + public void handleMouseInput() + { + + } + + @Override + protected void mouseClicked(int mX, int mY, int mouseButton) + { + + } + + @Override + protected void mouseMovedOrUp(int mX, int mY, int mouseButton) + { + + } + + @Override + protected void mouseClickMove(int mX, int mY, int lastClick, long timeSinceClick) + { + + } +}