Description
Summary
As you play in a world and exploit its natural resources you create wealth for yourself. In the real world, people flock towards newfound wealth - the gold rush is a good example. In Minecraft, not so much, until now! Villagers will now occasionally spawn near you when you have spent a decent amount of time in a region.
Details
Every time the mod ticks (every minute by default) it checks to see if a random value between 0 and 1 is lower than the amount of ticks spent in the chunk divided by the maximum inhabited time (default 3600000, or 50 hours). If it is, it checks a random chunk within the spawn radius (default 2) of a random player on the server to see if it is a viable location for a villager. To be viable it needs to have spawned less villagers than the limit in the config (default 1) and the location needs to be aboveground and not covered by water.
Config options
There are some config options that allow you to tweak the spawn settings to your liking.
- "Dimensions": This is a list of all the dimensions that the mod attempts to spawn villagers in.
- "Chunk check range": The radius (in chunks) that the mod checks for viability around each player.
- "Logging": Setting this to true enables additional server messages detailing the inner workings of the mod.
- "Max villagers per chunk": The maximum amount of villagers that the mod will spawn on each chunk.
- "Tick speed": How often the mod picks a player to check for viability.
- "Inhabited time for maximum spawn chance": This is the collective amount of ticks that players need to be in a chunk for there to be a 100% chance to spawn a villager in that chunk.


