Luke100000 / minecraft-comes-alive

Replaces Minecraft's villagers with humans, who can be interacted with.
GNU General Public License v3.0
76 stars 55 forks source link

Config file for names #415

Open smmmadden opened 1 year ago

smmmadden commented 1 year ago

Enhancement: It would be great to have a config file include a list of names that can be updated. For another mod I had provided a few thousand names (first & last) for females and males to cover a wide area of cultures making it very flexible and personalized. The names could then be put into their own language files so that they would match the regions the players are in. Alternatively, they could just be names unique to that locale (in English). Also in the UI where it prompts to input a name, adding that name to the config file would be a great addition as well! Thanks!!

Luke100000 commented 1 year ago

Names are now datapack based, you can add your own names. It is not possible yet to remove the inbuilt names, other than deleting the respective data directory in the mod. It is not possible to add language specific names. Villages do use a similar feature tho, every village uses names from a single country to have some sort of culture.

smmmadden commented 1 year ago

Thanks for the quick response. I wouldn't remove the names but being in the US I would like to add names that related to users in this country and also add some for Japan, China, UK, etc. The way the other mod owner did his is to read the names from the config file and randomly assign the first and last names to the villager based on their language settings. So if they were from Japan, the names would all be Japanese names (making it more common for them). The Random name button could provide a similar outcome by using names for that language with the goal of not having many villagers with the same names just by having them in their own json files like this: image Of course this would be a major enhancement to change the logic to support a model like this, but something to think about if you are looking for something to do. :-) - Thanks, Steve