Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1.     public int getBlockIdDropped(int i, Random random)
  2.     {
  3.     if(random.nextBoolean())
  4.         {
  5.         System.out.println("returning two");
  6.             return 2;
  7.         } else {
  8.         System.out.println("returning three");
  9.             return 3;
  10.         }
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement