Initial patch update to 1.6, Does not compile, need to update references to the old TexturePack system.

This commit is contained in:
LexManos committed 2013-06-30 05:50:11 -07:00
1 parent 7326f00a85
commit d2144f274b
126 files changed
+1527 -1666

No files matched your search

@@ -9,6 +9,7 @@ import net.minecraft.client.gui.GuiControls;
import net.minecraft.client.gui.GuiSlot;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.util.EnumChatFormatting;
public class GuiControlsScrollPanel extends GuiSlot
@@ -60,7 +61,7 @@ public class GuiControlsScrollPanel extends GuiSlot
}
@Override
protected void drawBackground() {}
protected void func_130003_c() {}
@Override
public void drawScreen(int mX, int mY, float f)
@@ -91,7 +92,7 @@ public class GuiControlsScrollPanel extends GuiSlot
boolean flag = _mouseX >= xPosition && _mouseY >= yPosition && _mouseX < xPosition + width && _mouseY < yPosition + height;
int k = (flag ? 2 : 1);
mc.renderEngine.bindTexture("/gui/gui.png");
mc.renderEngine.func_110577_a(TextureMap.field_110576_c);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
controls.drawTexturedModalRect(xPosition, yPosition, 0, 46 + k * 20, width / 2, height);
controls.drawTexturedModalRect(xPosition + width / 2, yPosition, 200 - width / 2, 46 + k * 20, width / 2, height);