Guest User

Untitled

a guest
Jul 16th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. public void Tracers() {
  2. for(int p = 0; p < mc.theWorld.playerEntities.size(); p ++);
  3. BL EntityPlayer player = (EntityPlayer) mc.theWorld.playerEntities.get(p);
  4. double X = player.boundingBox.minX - mc.thePlayer.boundingBox.minX;
  5. double Y = player.boundingBox.maxY - mc.thePlayer.boundingBox.maxY;
  6. double Z = player.boundingBox.minZ - mc.thePlayer.boundingBox.minZ;
  7.  
  8. GL11.glPushMatrix();
  9. GL11.glColor4f(0.0f, 1.0f, 0.0f, 1.0f);
  10. GL11.glLineWidth(3);
  11. GL11.glDisable(3553);
  12. GL11.glDisable(2896);
  13. GL11.glDepthMask(false);
  14. GL11.glBlendFunc(770, 771);
  15. GL11.glEnable(GL11.GL_LINE_SMOOTH);
  16. GL11.glVertex3d(0 ,0 ,0);
  17. GL11.glVertex3d(X ,Y ,Z);
  18. GL11.glEnd();
  19. GL11.glDisable(GL11.GL_LINE_SMOOTH);
  20. GL11.glDepthMask(false);
  21. GL11.glEnable(3553);
  22. GL11.glEnable(2896);
  23. GL11.glPopMatrix();
  24. }
Add Comment
Please, Sign In to add comment