remove unimplemented world generator modes

specifically: BIOME_ONLY, BIOME_ONLY_SIMULATE_HEIGHT, and FULL
This commit is contained in:
James Seibel
2023-08-18 15:55:32 -05:00
parent 56c8441daf
commit ef21987817
3 changed files with 33 additions and 94 deletions
@@ -622,29 +622,28 @@ public class Config
+ EDhApiDistantGeneratorMode.PRE_EXISTING_ONLY + " \n"
+ "Only create LOD data for already generated chunks. \n"
+ "\n"
+ EDhApiDistantGeneratorMode.BIOME_ONLY + " \n"
+ "Only generate the biomes and use the biome's \n"
+ "grass color, water color, or snow color. \n"
+ "Doesn't generate height, everything is shown at sea level. \n"
+ "- Fastest \n"
+ "\n"
+ EDhApiDistantGeneratorMode.BIOME_ONLY_SIMULATE_HEIGHT + " \n"
+ "Same as " + EDhApiDistantGeneratorMode.BIOME_ONLY + ", except instead \n"
+ "of always using sea level as the LOD height \n"
+ "different biome types (mountain, ocean, forest, etc.) \n"
+ "use predetermined heights to simulate having height data. \n"
+ "- Fastest \n"
//not currently implemented
//+ EDhApiDistantGeneratorMode.BIOME_ONLY + " \n"
//+ "Only generate the biomes and use the biome's \n"
//+ "grass color, water color, or snow color. \n"
//+ "Doesn't generate height, everything is shown at sea level. \n"
//+ "- Fastest \n"
//+ "\n"
//+ EDhApiDistantGeneratorMode.BIOME_ONLY_SIMULATE_HEIGHT + " \n"
//+ "Same as " + EDhApiDistantGeneratorMode.BIOME_ONLY + ", except instead \n"
//+ "of always using sea level as the LOD height \n"
//+ "different biome types (mountain, ocean, forest, etc.) \n"
//+ "use predetermined heights to simulate having height data. \n"
//+ "- Fastest \n"
+ "\n"
+ EDhApiDistantGeneratorMode.SURFACE + " \n"
+ "Generate the world surface, \n"
+ "this does NOT include trees, \n"
+ "or structures. \n"
+ "- Faster \n"
+ "\n"
+ EDhApiDistantGeneratorMode.FEATURES + " \n"
+ "Generate everything except structures. \n"
+ "WARNING: This may cause world generator bugs or instability when paired with certain world generator mods. \n"
+ "- Fast \n"
+ "")
/*
// FULL isn't currently implemented
@@ -112,20 +112,17 @@ public class BatchGenerator implements IDhApiWorldGenerator
EDhApiWorldGenerationStep targetStep = null;
switch (generatorMode)
{
case PRE_EXISTING_ONLY:
targetStep = EDhApiWorldGenerationStep.EMPTY; // NOTE: Only load in existing chunks. No new chunk generation
break;
case BIOME_ONLY:
targetStep = EDhApiWorldGenerationStep.BIOMES; // NOTE: No blocks. Require fake height in LodBuilder
break;
case BIOME_ONLY_SIMULATE_HEIGHT:
targetStep = EDhApiWorldGenerationStep.NOISE; // NOTE: Stone only. Require fake surface
case PRE_EXISTING_ONLY: // Only load in existing chunks. Note: this requires the biome generation step in order for biomes to be properly initialized.
//case BIOME_ONLY: // No blocks. Require fake height in LodBuilder
targetStep = EDhApiWorldGenerationStep.BIOMES;
break;
//case BIOME_ONLY_SIMULATE_HEIGHT:
// targetStep = EDhApiWorldGenerationStep.NOISE; // Stone only. Requires a fake surface
// break;
case SURFACE:
targetStep = EDhApiWorldGenerationStep.SURFACE; // Carvers or Surface???
targetStep = EDhApiWorldGenerationStep.SURFACE;
break;
case FEATURES:
case FULL:
targetStep = EDhApiWorldGenerationStep.FEATURES;
break;
}