LapisSea

Untitled

Dec 3rd, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. Tessellator tes=Tessellator.getInstance();
  2. VertexBuffer buf=tes.getBuffer();
  3. buf.setTranslation(f5, f6, f7);
  4.  
  5. buf.begin(GL11.GL_QUADS, DefaultVertexFormats.PARTICLE_POSITION_TEX_COLOR_LMAP);
  6.  
  7. buf.pos(rotatedCubeVectors[0][0], rotatedCubeVectors[0][1], rotatedCubeVectors[0][2]).tex(f1, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  8. buf.pos(rotatedCubeVectors[1][0], rotatedCubeVectors[1][1], rotatedCubeVectors[1][2]).tex(f1, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  9. buf.pos(rotatedCubeVectors[2][0], rotatedCubeVectors[2][1], rotatedCubeVectors[2][2]).tex(f, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  10. buf.pos(rotatedCubeVectors[3][0], rotatedCubeVectors[3][1], rotatedCubeVectors[3][2]).tex(f, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  11.  
  12. buf.pos(rotatedCubeVectors[4][0], rotatedCubeVectors[4][1], rotatedCubeVectors[4][2]).tex(f, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  13. buf.pos(rotatedCubeVectors[5][0], rotatedCubeVectors[5][1], rotatedCubeVectors[5][2]).tex(f, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  14. buf.pos(rotatedCubeVectors[6][0], rotatedCubeVectors[6][1], rotatedCubeVectors[6][2]).tex(f1, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  15. buf.pos(rotatedCubeVectors[7][0], rotatedCubeVectors[7][1], rotatedCubeVectors[7][2]).tex(f1, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  16.  
  17. buf.pos(rotatedCubeVectors[8][0], rotatedCubeVectors[8][1], rotatedCubeVectors[8][2]).tex(f1, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  18. buf.pos(rotatedCubeVectors[9][0], rotatedCubeVectors[9][1], rotatedCubeVectors[9][2]).tex(f, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  19. buf.pos(rotatedCubeVectors[10][0], rotatedCubeVectors[10][1], rotatedCubeVectors[10][2]).tex(f, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  20. buf.pos(rotatedCubeVectors[11][0], rotatedCubeVectors[11][1], rotatedCubeVectors[11][2]).tex(f1, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  21.  
  22. buf.pos(rotatedCubeVectors[12][0], rotatedCubeVectors[12][1], rotatedCubeVectors[12][2]).tex(f, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  23. buf.pos(rotatedCubeVectors[13][0], rotatedCubeVectors[13][1], rotatedCubeVectors[13][2]).tex(f1, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  24. buf.pos(rotatedCubeVectors[14][0], rotatedCubeVectors[14][1], rotatedCubeVectors[14][2]).tex(f1, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  25. buf.pos(rotatedCubeVectors[15][0], rotatedCubeVectors[15][1], rotatedCubeVectors[15][2]).tex(f, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  26.  
  27. buf.pos(rotatedCubeVectors[16][0], rotatedCubeVectors[16][1], rotatedCubeVectors[16][2]).tex(f1, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  28. buf.pos(rotatedCubeVectors[17][0], rotatedCubeVectors[17][1], rotatedCubeVectors[17][2]).tex(f1, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  29. buf.pos(rotatedCubeVectors[18][0], rotatedCubeVectors[18][1], rotatedCubeVectors[18][2]).tex(f, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  30. buf.pos(rotatedCubeVectors[19][0], rotatedCubeVectors[19][1], rotatedCubeVectors[19][2]).tex(f, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  31.  
  32. buf.pos(rotatedCubeVectors[20][0], rotatedCubeVectors[20][1], rotatedCubeVectors[20][2]).tex(f, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  33. buf.pos(rotatedCubeVectors[21][0], rotatedCubeVectors[21][1], rotatedCubeVectors[21][2]).tex(f, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  34. buf.pos(rotatedCubeVectors[22][0], rotatedCubeVectors[22][1], rotatedCubeVectors[22][2]).tex(f1, f3).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  35. buf.pos(rotatedCubeVectors[23][0], rotatedCubeVectors[23][1], rotatedCubeVectors[23][2]).tex(f1, f2).color(this.particleRed, this.particleGreen, this.particleBlue, particleAlpha).lightmap(j, k).endVertex();
  36.  
  37. tes.draw();
Add Comment
Please, Sign In to add comment