The ability to remove vanilla biomes so ONLY yours spawn in a world
Issue comments
For the ones who use custom code, you need to place this snippet in the preInit section of mod element:
for (BiomeManager.BiomeType type : BiomeManager.BiomeType.values()) {
for (BiomeManager.BiomeEntry entry : BiomeManager.getBiomes(type)) {
BiomeManager.removeBiome(type, entry);
}
BiomeManager.addBiome(type, new BiomeManager.BiomeEntry(Biomes.DESERT, 1));
}
This code example will remove all biomes from spawning and only add desert back, so the overworld will only contain desert biomes.
We will most likely incorporate this in MCreator in form of mob init phase procedures.
After some thought, the better approach to this would be custom world types. Removing vanilla biomes is quite an invasive approach and will fail when another mod is added.
World type, on the other hand, will allow the user of the mod to select the user's custom world type based on the selected dimension.
Migrated to https://github.com/MCreator/MCreator/issues/124
We will add a way to do this using procedures / global events so biome spawn event can be intercepted and canceled.