Advertisement
Guest User

Render Code

a guest
Apr 25th, 2015
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. GL11.glPushMatrix();   
  2.  
  3. GL11.glTranslatef((float)x + 0.5F, (float)y + 1.0F, (float)z + 0.5F);
  4. GL11.glScalef(-1F, -1F, 1F);
  5. GL11.glRotatef(90F * tile.getBlockMetadata(), 0F, 1F, 0F);
  6.  
  7. Minecraft.getMinecraft().renderEngine.bindTexture(texture);
  8.  
  9. model.render(0.0625F);
  10.  
  11. GL11.glPopMatrix();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement