Renamed ExtraTextures and added ExtraItemTextures.

This commit is contained in:
AlgorithmX2
2014-05-25 20:58:44 -05:00
parent ef7a1592e7
commit 905832ae85
33 changed files with 300 additions and 247 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import appeng.client.texture.ExtraTextures;
import appeng.client.texture.ExtraBlockTextures;
public class GuiToggleButton extends GuiButton implements ITooltip
{
@@ -56,7 +56,7 @@ public class GuiToggleButton extends GuiButton implements ITooltip
int iconIndex = getIconIndex();
GL11.glColor4f( 1.0f, 1.0f, 1.0f, 1.0f );
par1Minecraft.renderEngine.bindTexture( ExtraTextures.GuiTexture( "guis/states.png" ) );
par1Minecraft.renderEngine.bindTexture( ExtraBlockTextures.GuiTexture( "guis/states.png" ) );
this.field_146123_n = par2 >= this.xPosition && par3 >= this.yPosition && par2 < this.xPosition + this.width && par3 < this.yPosition + this.height;
int uv_y = (int) Math.floor( iconIndex / 16 );