Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tessellator tes=Tessellator.getInstance();
- VertexBuffer buf=tes.getBuffer();
- buf.setTranslation(f5, f6, f7);
- buf.begin(GL11.GL_QUADS, DefaultVertexFormats.PARTICLE_POSITION_TEX_COLOR_LMAP);
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- 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();
- tes.draw();
Add Comment
Please, Sign In to add comment