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.
- Fabric api (Turns out you need this to run the mod initializer)
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 addType
.
Maven repository:
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
Dependency:
modImplementation "maven.modrinth:biome-tag-villagers:1.0.0"