예제 #1
0
 public static boolean isBlockTransparent(short id) {
   if (id < 0) id += 256;
   if (!net.minecraft.server.Block.i(id)) {
     return true;
   }
   return false;
 }
예제 #2
0
 @Override
 public boolean Block_i(final int id) {
   try {
     return Block.i(id);
   } catch (Throwable t) {
     // Minecraft default value.
     return true;
   }
 }