Description
This mod was created whilst playing around in a vanilla world. I noticed that sometimes villagers never find jobs even when there is free job sites in their village, VMT remedies that.
VMT version 1.3 supports both forge and fabric make sure you have to right one! In this update villagers now automagically get assigned beds as well, as per the request of several people, thank you for supporting development!
Fabric usage: (example here)
To "fix" a village, simply interact with any villager (including if they have no job or if they are children) you will notice many villagers suddenly get professions.
this mod scans villages for all work stations and then assigns villagers that don't have a job to said work stations, this is done by modifying the villagers memory (that is legitimately what it's called) and from that point they will path to their workstation as if they had found it themselves, In the process of giving them jobs, VMT also modifies the villagers memory to know where their meeting point is, which was often a problem in very large villages.
There is a couple of configurable options in this mod, one is the search range of all the internal searches for blocks and entities, this defaults to 50, but can be changed if you experience problems
the other option is "farmer union" mode, if no job sites are left during job assignments, new composters (representing farmers) will be placed on old ones and then the villager is assigned, by default this is true but for the very reason that some villages can literally spawn with no other worksites then composter stacks can be very high, and in some cases, out of the reach of a villager to restock, obviously this can be fixed by moving the composters yourself, but the config option is there just in case.
If for any reason you want to do something with "fixed" villagers, you can target any entity with the "vmt_fixed" scoreboard tag, assigning this tag to a non villager will more than likely cause problems, but fixed villagers automatically get this tag and when clicked will not initiate another fix, use this as you may.
If you have a suggestion on simply enjoy this mod please post a comment, if you do a review do that also so I can see it :D
You can of course use this mod in modpacks, but please do not repost it on any other site without my permission in the comments


