Advertisement
Guest User

Untitled

a guest
Apr 9th, 2015
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1.     private static ItemStack findBlock() {
  2.         Block[] blocks = new Block[] {
  3.             Computronics.tapeReader,
  4.             Computronics.camera,
  5.             Computronics.ironNote,
  6.             Computronics.chatBox,
  7.             Computronics.cipher,
  8.             Computronics.radar,
  9.             Computronics.colorfulLamp,
  10.             Computronics.cipher_advanced,
  11.             Computronics.nc_eepromreader };
  12.         for(int i = 0; i < blocks.length; i++) {
  13.             if(blocks[i] != null){
  14.                 return new ItemStack(blocks[i]);
  15.             }
  16.         }
  17.         return null;
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement