package net.minecraft.client.renderer.texturefx; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.RenderEngine; import org.lwjgl.opengl.GL11; @SideOnly(Side.CLIENT) public class TextureFX { public byte[] imageData = new byte[1024]; public int iconIndex; public boolean anaglyphEnabled = false; /** Texture ID */ public int textureId = 0; public int tileSize = 1; public int tileImage = 0; public TextureFX(int par1) { this.iconIndex = par1; } public void onTick() {} public void bindImage(RenderEngine par1RenderEngine) { if (this.tileImage == 0) { GL11.glBindTexture(GL11.GL_TEXTURE_2D, par1RenderEngine.getTexture("/terrain.png")); } else if (this.tileImage == 1) { GL11.glBindTexture(GL11.GL_TEXTURE_2D, par1RenderEngine.getTexture("/gui/items.png")); } } }