Do you want to give your villages their own names?
Well, you just found the perfect mod for that.
This mod doesn’t require any other mods.
Be careful if you use it on a server — it hasn’t been tested on servers yet.
If you find an issue or have a feature request, just let me know. Here is the mod’s GitHub repository.
For now, the mod includes the following languages: en_us, es_ar, es_es, es_mx, es_ve, es_cl, es_ec, and es_uy.
If you want to contribute a translation, feel free to contact me.
How do I set the names?
Put your custom names in a file called village_names.txt inside a folder named yourvillagesnames, located in the config folder.
Write them like this:
Bahiense del Norte
Independiente de Neuquén
Villa Mitre
One name per line.
Commands
- /villagehere: Tells you if you are currently in a village.
- /villagedetails: Shows the ID and the name of the selected village.
- /setvillagename: Allows you to change the name of the selected village.
Configuration
As of version 3.1.0, there are four configurable options:
- Detection distance (default 80): How many blocks away the player can be from the center of the village (using only the X and Z axes) for it to be detected.
- Higher detection distance (default 20): How many blocks above the village the player can be for detection.
- Lower detection distance (default 20): How many blocks below the village the player can be for detection.
- Village IDs (default "minecraft:village_desert", "minecraft:village_plains", "minecraft:village_savanna", "minecraft:village_snowy", "minecraft:village_taiga").
To change these settings, go to the yourvillagesname-common.toml file inside the config folder.
(If the file doesn’t exist, you can create it manually or let the mod generate it automatically.)
Then modify the parameters as needed:
[general]
detectionDistance = 80
detectionHigherDistance = 20
detecionLowerDistance = 20
#Village IDs
villageIds = ["minecraft:village_desert", "minecraft:village_plains", "minecraft:village_savanna", "minecraft:village_snowy", "minecraft:village_taiga"]
This is the default content of the file.