Feature Request: Biome handling improvement
Tyrius1 opened this issue · 3 comments
Using biome type handles id say probably 90% of usage needs. However there are circumstances where you might want a feature to generate or spawn in a specifed biome type but not 1 specific biome. Something like this would be really nice:
Biomes = []
BlacklistBiomes = ["voyage:desert_mixed"]
Dictionaries = ["SANDY"]
BlacklistDictionaries = []
Where dictionaries would be the default used feature. We could then use blacklist biomes to specify areas which we don't want the feature to generate.
Atm i'm trying to figure out how to get Gorgons to generate only in the mysticalbiomes:petrified_wastes but with the current system it's proving to be quite difficult.
Another example is with what my preferences are for the harpies:
[mob_spawns.harpy_spawn]
#Range: 0 ~ 1000
chance = 24
whitelist = false
biome_types = ["END", "WATER", "COLD", "SNOWY", "MUSHROOM", "NETHER", "PLAINS", "SWAMP", "SAVANNA"]
Trying to get harpies to generate in forests and coniferous biomes specifically in the mountains but not jungles or cold variants. So like minecraft:wooded_mountains and minecraft:wooded_hills for example.
Biomes = ["minecraft:wooded_mountains", "minecraft:wooded_hills"]
BlacklistBiomes = [""]
Dictionaries = [""]
BlacklistDictionaries = []
The next update will allow both biome types and biome names to be in the biome_types
array. Not completely what you're asking for here, but a step in the right direction.
The reason I hesitate to use 2 blacklists/whitelists is that I'm not sure how to handle edge cases (such as when one is empty and the other isn't, when both have something, etc.)