Skip to content

🧑‍🌾 Gives all villager entities a default or custom name to liven up the world.

License

Notifications You must be signed in to change notification settings

Serilum/Villager-Names

Repository files navigation

Villager Names

Download

You can download Villager Names on CurseForge and Modrinth:

  CurseForge:   https://curseforge.com/minecraft/mc-mods/villager-names
  Modrinth:      https://modrinth.com/mod/villager-names-serilum

Issue Tracker

To keep a better overview of all mods, the issue tracker is located in a separate repository.
  For issues, ideas, suggestions or anything else, please follow this link:

    -> Issue Tracker

Pull Requests

Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
  A wiki page entry about it is available here:

    -> Pull Request Information

Mod Description

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:

 
------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or 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!