Requires the library mod Collective.
This mod is part of The Vanilla Experience modpack and Serilum's RPG Bundle mod.
Villager Names gives all unnamed villagers a pre-defined name. This will name old and new spawns in the world. The mod contains a list of 5000+ names, one of which will be randomly chosen whenever an unnamed villager is detected. The profession of the villager is also visible on the trade screen. You can also use your own custom name lists, see below. There are various config options available to determine what should and shouldn't be shown on the villager trade screen. Professions will be localized in the game language.
The mod can also name modded villagers! Let me know if you've found a villager-like entity that's not named so I can add it to the list.
Configurable: ( how do I configure? )
useCustomNames (default = true): Use the custom name list, editable in ./mods/villagernames/customnames.txt, seperated by a comma. If custom names are found, the default name list is ignored.
useDefaultFemaleNames (default = true): Use the list of pre-defined female names when naming villagers.
useDefaultMaleNames (default = true): Use the list of pre-defined male names when naming villagers.
useBothCustomAndDefaultNames (default = false): Disabled by default. Whether both custom and default names should be used to name villagers. Custom names will probably not be chosen often due to the amount of default names.
nameModdedVillagers (default = true): If enabled, also gives modded villagers a name. If you've found a 'villager'-entity that isn't named let me know by opening an issue so I can add it in.
showProfessionOnTradeScreen (default = true): Whether the profession should be added to the villager's trade screen next to their name.
switchNameAndProfessionTradeScreen (default = false): If enabled, switches the name and profession on the villager trading screen. Result: - .
hideMerchantLevelTradeScreen (default = false): Whether the merchant level (novice, apprentice etc.) should be hidden on the trade screen.
shouldCapitalizeNames (default = true): If enabled, the mod capitalizes each word in the custom name list.
Commands:
/villagernames unname - Removes the names of all loaded villagers.
/villagernames name - Gives all unnamed loaded villagers a name.
/villagernames rename - Gives all loaded villagers a new random name.
Version 2.0 adds custom name lists:
When first loading the mod, it'll create a file in your .minecraft folder in /config/villagernames/ called "customnames.txt".
You can add as many names as you want to this list. Just make sure they're separated by a comma (the new line is not necessary). Make sure that "useCustomNames" in the config is enabled.
Because it's difficult to determine the profession of a named villager:
The mod also adds the profession on the trade screen:
There are various commands available to unname, name and rename loaded villagers:
Show Spoiler
------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
External resources
Project members
Serilum
Owner