private boolean generateIn(World world, boolean ore) {
   if (world.provider.dimensionId == ExtraChromaIDs.DIMID.getValue()) return true;
   if (ModList.MYSTCRAFT.isLoaded() && ReikaMystcraftHelper.isMystAge(world)) {
     if (ore
         ? !MystPages.Pages.ORES.existsInWorld(world)
         : !MystPages.Pages.PLANTS.existsInWorld(world)) {
       return false;
     }
   }
   return (world.getWorldInfo().getTerrainType() != WorldType.FLAT
           || ChromaOptions.FLATGEN.getState())
       && !world.provider.hasNoSky;
 }
 private ChromaTeleporter() {
   this(ExtraChromaIDs.DIMID.getValue());
 }
 public int getTargetDimension() {
   return this.getBlockMetadata() == 15 ? 0 : ExtraChromaIDs.DIMID.getValue();
 }