Please go use Lithostitched: https://www.curseforge.com/minecraft/mc-mods/lithostitched
A small server side mod that changes the current hard coded villager biomes to instead have the game read a set of tags to determine what variant a villager will be in what biome. If a biome is in multiple tag lists, it will randomize between the two.
The mod has only server side config in the format of tags. It adds 6 new tags for each villager type (eg. snowy, taiga, savanna). This is just the standard minecraft biome tag.
The Example datapack can be found here.
If you are a mod developer adding new villager types. You will just want to add the villager types to the map with BiomeTagVillagers.addType(TAG_HERE, TYPE_HERE), or see example here.
Maven repository:
repositories {
maven {
url = "https://teamvoided.org/releases"
}
}
Dependency:
modImplementation "com.theendercore:biome_tag_villagers:1.3.0"
Click on the banner or here to support me and my projects! :)