示例#1
0
 public static boolean isAdditional(final GeneralWorld world) {
   switch (world.getType()) {
     case ADDITIONAL:
     case ADDITIONAL_SUB_NETHER:
     case ADDITIONAL_SUB_END:
       return true;
     default:
       return false;
   }
 }
示例#2
0
 public static boolean isStock(final GeneralWorld world) {
   switch (world.getType()) {
     case STOCK:
     case STOCK_NETHER:
     case STOCK_END:
       return true;
     default:
       return false;
   }
 }