Auto update mappings
This commit is contained in:
parent
595c9575b1
commit
4095a0b52d
79 changed files with 704 additions and 644 deletions
|
@ -21,7 +21,7 @@ public class GuiButtonAHeight extends GuiButton
|
|||
if (this.visible)
|
||||
{
|
||||
FontRenderer fontrenderer = minecraft.fontRendererObj;
|
||||
minecraft.getTextureManager().bindTexture(buttonTextures);
|
||||
minecraft.getTextureManager().bindTexture(BUTTON_TEXTURES);
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
this.hovered = mouseX >= this.xPosition && mouseY >= this.yPosition && mouseX < this.xPosition + this.width
|
||||
&& mouseY < this.yPosition + this.height;
|
||||
|
|
|
@ -48,7 +48,7 @@ public class GuiButtonCustomTexture extends GuiButtonExt
|
|||
{
|
||||
boolean flag = mouseX >= this.xPosition && mouseY >= this.yPosition && mouseX < this.xPosition + this.width
|
||||
&& mouseY < this.yPosition + this.height;
|
||||
mc.getTextureManager().bindTexture(buttonTextures);
|
||||
mc.getTextureManager().bindTexture(BUTTON_TEXTURES);
|
||||
int u = textureU;
|
||||
int v = textureV;
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public class GuiButtonItemTexture extends GuiButtonExt
|
|||
{
|
||||
boolean flag = mouseX >= this.xPosition && mouseY >= this.yPosition && mouseX < this.xPosition + this.width
|
||||
&& mouseY < this.yPosition + this.height;
|
||||
mc.getTextureManager().bindTexture(buttonTextures);
|
||||
mc.getTextureManager().bindTexture(BUTTON_TEXTURES);
|
||||
int u = textureU;
|
||||
int v = textureV;
|
||||
if (flag)
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GuiButtonTextOnly extends GuiButton
|
|||
if (this.visible)
|
||||
{
|
||||
FontRenderer fontrenderer = minecraft.fontRendererObj;
|
||||
minecraft.getTextureManager().bindTexture(buttonTextures);
|
||||
minecraft.getTextureManager().bindTexture(BUTTON_TEXTURES);
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
this.hovered = mouseX >= this.xPosition && mouseY >= this.yPosition && mouseX < this.xPosition + this.width
|
||||
&& mouseY < this.yPosition + this.height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue