Advertisement
Guest User

SchleifeEntityInRadiusVonSpielerAbfragen

a guest
Aug 1st, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. int xPos;
  2. int yPos;
  3. int zPos;
  4. int radius = 10;
  5.  
  6. for(int x = -radius; x > radius; x--){
  7.             for(int y = radius; y < -radius; y--){
  8.                 for(int z = -radius; z < radius; z--){
  9.                     this.xPos = ((int)mc.thePlayer.posX + x);
  10.                     this.yPos = ((int)mc.thePlayer.posY + y);
  11.                     this.zPos = ((int)mc.thePlayer.posZ + z);
  12.                    
  13.                     //Funktioniert nicht :c
  14.                    
  15.                 }
  16.             }
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement