Exemplo n.º 1
0
 public static void drawScaledTexture(
     ResourceLocation texture,
     int x,
     int y,
     int xStart,
     int yStart,
     int xEnd,
     int yEnd,
     float scale) {
   start();
   enable(GL_BLEND);
   bindTexture(texture);
   scale(scale);
   drawTexture(getScaledX(x, scale), getScaledY(y, scale), xStart, yStart, xEnd, yEnd);
   disable(GL_BLEND);
   end();
 }