Exemple #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;
   }
 }
Exemple #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;
   }
 }