Addon that changes villager profession until desired trade found
Addon is targeted for lazy people that are playing on server and trying to find enchantment on librarians. No functionality about other trades/professions implemented and planned, you can pull request them if you really want to.
- Acquire villager (not nitwit)
- Acquire some lecterns (32 will be good)
- (Recommended, not required) Acquire axe, better quality - faster rolling
- Confine yourself and a villager from step 1 in a space where no freely moving entities and blocks are present (except villager and you)
- Block villager from wandering around (slabs, blocks, stairs, not trapdoors since those mess with pathfinding)
- Place a lectern where villager can access it and ensure that hand-rolling of profession is possible
- Configure module to your needs and enable it
- Follow selection of block and villager from chat messages
- Leave module running alone (switching focus from window will likely open pause menu and pause rolling if "Pause on screens" option is enabled, disable it if you know what you are doing)
- Profit!