Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fluid fluid = te.getCurrentRecipe().getResult().getFluid();
- TextureAtlasSprite f_s = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite(fluid.getStill().toString());
- wr.begin(GL11.GL_QUADS, DefaultVertexFormats.POSITION_TEX_COLOR);
- Minecraft.getMinecraft().renderEngine().bindTexture(TextureMap.locationBlocksTexture);
- wr.pos(1, 0, 0).tex(f_s.getMaxU, f_s.getMinV).endVertex();
- wr.pos(0, 0, 0).tex(f_s.getMinU, f_s.getMinV).endVertex();
- wr.pos(0, 0, 1).tex(f_s.getMinU, f_s.getMaxV).endVertex();
- wr.pos(1, 0, 1).tex(f_s.getMaxU, f_s.getMaxV).endVertex();
- tess.draw();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement