Advertisement
Guest User

Untitled

a guest
Aug 10th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Fluid fluid = FluidRegistry.LAVA;
  2. IIcon texture = fluid.getStillIcon();
  3. GL11.glPushMatrix();
  4. tessellator.startDrawingQuads();
  5. Minecraft.getMinecraft().renderEngine.bindTexture(TextureMap.locationBlocksTexture);
  6. tessellator.addVertexWithUV(0, 0, 0, 0, 0);
  7. tessellator.addVertexWithUV(1, 0, 0, 1, 0);
  8. tessellator.addVertexWithUV(1, 0, 1, 1, 1);
  9. tessellator.addVertexWithUV(0, 0, 1, 0, 1);
  10. tessellator.draw();
  11. GL11.glPopMatrix();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement