- check_circle Advancements
- check_circle Functions
- check_circle Loot Tables
- 13,304 views, 1 today
- 2,259 downloads, 0 today
31
Villager Names (v1.2)

This datapack aims at giving villagers and golems random names. If this setting is enabled, the names given to the villagers depend on the biome they're in.
You can customize these names by giving your own list. To do it, edit these loot tables:
You can customize these names by giving your own list. To do it, edit these loot tables:
jw_vn:custom/villager
jw_vn:custom/golem

After the installation, you can configure the datapack by executing the command:
/function jw_vn:settings
This one will send you a message in your chat, which contains all the available settings. If you want to disable or enable an option, click on the marks (note that you need to reload the message for you to see which option is enabled or not. This measure has been taken in order to not pollute the player chat).Therefore, when you'll enter a village, villagers and iron golems will be renamed! The same thing applies to pillagers and wandering traders.

Once you know that, here is the command to perform the uninstallation process:
/function jw_vn:uninstall

As I said earlier, plenty of settings are available for you to customize as much as possible the datapack.
Here are some examples:
- Does the biome affects the given name
- Are <mob> names activated
- Do <mob> names given come from the custom list settled by an admin
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
3 Update Logs
v1.2 : by JeffWooden 08/12/2021 5:26:19 pmAug 12th, 2021
library_add Content added:
- wandering trader names
- pillager names
- new setting menu
- new options
bug_report Fixed bugs:
- "Does biome affects given name" option didn't work as intended
- When a mob got a hat, this one was deleted
- If one mob name was once reactivated after being disabled, non-renamed entities didn't get their name.
create Coming soon:
- Patrol entities names
Thanks for all the support! I read all of your comments, therefore, if you have any suggestions, do not hesitate 😉
- wandering trader names
- pillager names
- new setting menu
- new options
bug_report Fixed bugs:
- "Does biome affects given name" option didn't work as intended
- When a mob got a hat, this one was deleted
- If one mob name was once reactivated after being disabled, non-renamed entities didn't get their name.
create Coming soon:
- Patrol entities names
Thanks for all the support! I read all of your comments, therefore, if you have any suggestions, do not hesitate 😉
LOAD MORE LOGS
5249599
119
Create an account or sign in to comment.
Another thing, can you make it so the functions excute on a /triger like the ones on vanillatweaks? Mostly for the worlds where there is no cheats enabled like in hardcore.
Concerning your questions, I'll answer them one by one.
Of course. If you don't have another datapack that is renaming villager names, it should do so for those who are part of loaded villages. (There will be a function/trigger command to reset the nearest villager's name in the next update)
As a security, the /function jw_vn:settings is used to prevent simple players (non-operator ones) from interfering with the settings. To be honest, I didn't think about it in the first place. Therefore, I'll add your suggestion to the datapack.
But this will take some time. Consequently, you'll have to wait before seeing an update with the addition.
If the villagers are named, players won't be able to kill the villagers.