Advertisement
Guest User

Untitled

a guest
May 24th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. private void test() {
  2.         int x_spawn = 0;
  3.         int y_spawn = 0;
  4.         int z_spawn = 0;
  5.  
  6.         int x_pos = 0;
  7.         int y_pos = 0;
  8.         int z_pos = 0;
  9.        
  10.         if(x_spawn - x_pos == 0 || x_spawn - x_pos == -1 || x_spawn - x_pos == 1) {
  11.             if(z_spawn - z_pos == 0 || z_spawn - z_pos == -1 || z_spawn - z_pos == 1) {
  12.                 if(y_pos - y_spawn <= 3 && y_pos - y_spawn > 0) {
  13.                     //SUCCESS
  14.                 }
  15.             }
  16.         }
  17.        
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement