Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1.     public void drawOrb(Minecraft client)
  2.     {
  3.         float scale = 0.8f;
  4.                
  5.         GL11.glPushMatrix();
  6.             //GL11.glDisable(GL11.GL_ALPHA_TEST);
  7.             GL11.glEnable(GL11.GL_BLEND);
  8.             GL11.glTranslatef(width / 2 - (int)((float) (64 / 2) * scale), 5.0f, 0.0f);
  9.             GL11.glScalef(scale, scale, 1.0f);
  10.             this.drawTexturedModalRect(0, 0, 0, 0, 64, 64);
  11.             this.drawTexturedModalRect(0, 0, 64 * 3, 0, 64, 64);
  12.         GL11.glPopMatrix();
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement