Villager Names (Legacy Fabric)
Villager Names (Legacy Fabric)
This mod requires the Collective (Fabric) library and Fabric API.
Note: This is the legacy version for Fabric 1.16 and 1.17. New versions and updates are available on the main project page. For Forge and Fabric 1.18+, visit the main link.
This mod is part of the "The Vanilla Experience" modpack.
Villager Names is a minimalistic and configurable mod that assigns predefined names to all unnamed village residents. This applies to both existing and newly spawned NPCs in the world. The mod contains a list of over 5000 names, one of which is randomly selected when a nameless villager is detected. The villager's profession is also displayed on the trade screen. You can use your own custom name lists — details below.
By default, all preset and custom names are used. If you want to use only your own names, disable the _useFemaleNames and _useMaleNames configuration options. Non-Latin alphabets are supported.
Configuration
- _useCustomNames (default = true): Use the custom name list, editable in the
./config/villagernames/customnames.txtfile, separated by commas. - _useFemaleNames (default = true): Use the list of female names when assigning names to villagers.
- _useMaleNames (default = true): Use the list of male names when assigning names to villagers.
- nameModdedVillagers (default = true): If enabled, also gives names to modded villagers. If you find a "villager"-type entity that doesn't receive a name, report it through the issue tracking system.
The mod can also name villagers from other mods. Let me know if you find a villager-like entity that doesn't get a name so I can add it to the list.
Supported mods:
- Guard Villagers by tallestegg
- The Farlanders by ModdingLegacy
- All other mods that extend the Villager class
Custom Name Lists
Version 2.0 adds the ability to use custom name lists. When the mod is first loaded, it creates a "customnames.txt" file in the .minecraft/config/villagernames/ folder.

You can add as many names as you want to this list. Make sure they are separated by commas (line breaks are not required). Make sure the "_useCustomNames" option is enabled in the configuration, and if necessary, disable the other preset name lists included in the mod.

Profession Identification
Since identifying the profession of a named villager can be difficult:

The mod also adds profession display on the trade screen:
