public ModTextureStatic(int icon, int size, String target, BufferedImage image) { super(icon); RenderEngine re = FMLClientHandler.instance().getClient().renderEngine; targetTex = target; storedSize = size; tileSize = size; tileImage = re.getTexture(target); overrideData = image; }
public void bindImage(RenderEngine par1RenderEngine) { GL11.glBindTexture(GL_TEXTURE_2D, par1RenderEngine.getTexture(targetTex)); }