Ejemplo n.º 1
0
  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;
  }
Ejemplo n.º 2
0
 public void bindImage(RenderEngine par1RenderEngine) {
   GL11.glBindTexture(GL_TEXTURE_2D, par1RenderEngine.getTexture(targetTex));
 }