HomeJavaDatapacksAPI-NameTagVillagers
API-NameTagVillagers
DatapacksJava

API-NameTagVillagers

by PasToSmith · on Modrinth

RU NAMES This is a Minecraft datapack that automatically changes and generates names for villagers (the “nosy ones”). It makes the game world feel more…

⬇ Download on Modrinth
API-NameTagVillagers — screenshot 1
This is a Minecraft datapack that automatically changes and generates names for villagers (the “nosy ones”). It makes the game world feel more alive — now every villager receives a unique name that is generated when they spawn.   When a villager spawns (naturally or through an egg/command), the datapack activates a function that:

Checks if the villager already has a name;

If not — it creates a new random name (for example: Andrey Trader, Nikita Wheatson, Leonid Armorer, etc.).

🧠 The names are taken from special lists of first names and professions built into the datapack system. The combination is generated dynamically, so each villager looks unique.

The API part allows other datapacks or commands to use this functionality — for example, to assign their own name templates, styles, or even effects when generating names.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more