Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TextureAtlasSprite a = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite(FluidRegistry.LAVA.getFlowing().toString());
- GlStateManager.pushMatrix();
- GlStateManager.translate(0, 1.5, 0);
- GlStateManager.scale(2, 2, 2);
- wr.startDrawingQuads();
- Minecraft.getMinecraft().renderEngine().bindTexture(TextureMap.locationBlocksTexture);
- wr.addVertexWithUV(1, 0, 0, a.getMaxU, a.getMinU);
- wr.addVertexWithUV(0, 0, 0, a.getMinU, a.getMinU);
- wr.addVertexWithUV(0, 0, 1, a.getMinU, a.getMaxU);
- wr.addVertexWithUV(1, 0, 1, a.getMaxU, a.getMaxU);
- Tessellator.getInstance.draw();
- GlStateManager.popMatrix();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement