summaryrefslogtreecommitdiff
path: root/src/main/java/gmail/Lance5057/gui
diff options
context:
space:
mode:
authorLance5057 <Lance5057@gmail.com>2015-02-23 09:43:28 -0600
committerLance5057 <Lance5057@gmail.com>2015-02-23 09:43:28 -0600
commitda8aa0a9994d1bf635c4ec8b1e98fce46c5ec09d (patch)
tree60277ad49a8d3c90dc34c0a61ebae45aec09e63a /src/main/java/gmail/Lance5057/gui
parent6853c1789e7c211719463a58fa2f7ce7941648be (diff)
Revert "Crest Mount Attempt 3 Part 2"
This reverts commit 6853c1789e7c211719463a58fa2f7ce7941648be.
Diffstat (limited to 'src/main/java/gmail/Lance5057/gui')
-rw-r--r--src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java70
1 files changed, 0 insertions, 70 deletions
diff --git a/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java b/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java
deleted file mode 100644
index 1ab1356..0000000
--- a/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package gmail.Lance5057.gui;
-
-import gmail.Lance5057.containers.Container_CrestMount;
-import gmail.Lance5057.tileentities.TileEntity_CrestMount;
-
-import javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler;
-
-import net.minecraft.client.gui.inventory.GuiContainer;
-import net.minecraft.client.renderer.OpenGlHelper;
-import net.minecraft.client.renderer.RenderHelper;
-import net.minecraft.client.renderer.entity.RenderManager;
-import net.minecraft.client.resources.I18n;
-import net.minecraft.entity.EntityLivingBase;
-import net.minecraft.util.ResourceLocation;
-
-import org.lwjgl.opengl.GL11;
-import org.lwjgl.opengl.GL12;
-
-public class Gui_CrestMount extends GuiContainer
-{
-/** x and y size of the inventory window in pixels. Defined as float, passed as int
-* These are used for drawing the player model. */
-private float xSize_lo;
-private float ySize_lo;
-
-/** ResourceLocation takes 2 parameters: ModId, path to texture at the location:
-* "src/minecraft/assets/modid/" */
-private static final ResourceLocation iconLocation = new ResourceLocation("TileEntity_CrestMountmod", "textures/gui/TileEntity_CrestMount.png");
-
-/** The inventory to render on screen */
-private final TileEntity_CrestMount inventory;
-
-public Gui_CrestMount(Container_CrestMount Container_CrestMount)
-{
-super(Container_CrestMount);
-this.inventory = Container_CrestMount.inventory;
-}
-
-/**
-* Draws the screen and all the components in it.
-*/
-public void drawScreen(int par1, int par2, float par3)
-{
-super.drawScreen(par1, par2, par3);
-this.xSize_lo = (float)par1;
-this.ySize_lo = (float)par2;
-}
-
-/**
-* Draw the foreground layer for the GuiContainer (everything in front of the items)
-*/
-protected void drawGuiContainerForegroundLayer(int par1, int par2)
-{
- String s = inventory.hasCustomInventoryName() ? inventory.getInventoryName() : I18n.format(inventory.getInventoryName());
- this.fontRendererObj.drawString(s, this.xSize / 2 - this.fontRendererObj.getStringWidth(s) / 2, 0, 4210752);
- this.fontRendererObj.drawString(I18n.format("container.inventory"), 26, this.ySize - 96 + 4, 4210752);
-}
-
-/**
-* Draw the background layer for the GuiContainer (everything behind the items)
-*/
-protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
-{
-GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
-this.mc.getTextureManager().bindTexture(iconLocation);
-int k = (this.width - this.xSize) / 2;
-int l = (this.height - this.ySize) / 2;
-this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize);
-}
-} \ No newline at end of file