Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Tracers() {
- for(int p = 0; p < mc.theWorld.playerEntities.size(); p ++);
- BL EntityPlayer player = (EntityPlayer) mc.theWorld.playerEntities.get(p);
- double X = player.boundingBox.minX - mc.thePlayer.boundingBox.minX;
- double Y = player.boundingBox.maxY - mc.thePlayer.boundingBox.maxY;
- double Z = player.boundingBox.minZ - mc.thePlayer.boundingBox.minZ;
- GL11.glPushMatrix();
- GL11.glColor4f(0.0f, 1.0f, 0.0f, 1.0f);
- GL11.glLineWidth(3);
- GL11.glDisable(3553);
- GL11.glDisable(2896);
- GL11.glDepthMask(false);
- GL11.glBlendFunc(770, 771);
- GL11.glEnable(GL11.GL_LINE_SMOOTH);
- GL11.glVertex3d(0 ,0 ,0);
- GL11.glVertex3d(X ,Y ,Z);
- GL11.glEnd();
- GL11.glDisable(GL11.GL_LINE_SMOOTH);
- GL11.glDepthMask(false);
- GL11.glEnable(3553);
- GL11.glEnable(2896);
- GL11.glPopMatrix();
- }
Add Comment
Please, Sign In to add comment