-
Notifications
You must be signed in to change notification settings - Fork 6
Loading JSON Files
The mod includes JSON files for a few new villagers and trades, stored internally within it's JAR file.
By default, when the mod is initialised, it will read these files first and then check in the mod config directory to see if any additional files need to be loaded.
It will look for a folder named "vtt" inside the "config" folder, and create it if it doesn't exist. Within the "vtt" folder it will look for two additional folders, one called "villagers" and one called "trade_tables".
If the "villagers" or "trade_tables" folders exist, the mod will not make any changes to them or the files they contain. If they do not exist, the mod will create them and then copy it's internal JSON files into those folders.
The mod will expect to find all the custom villager professions and careers in the "villagers" folder, and all the trades in the "trade_tables" folder. If it finds a file with the same name as one of it's internal files, it will use the external file instead of the internal one.
The names of the files do not matter, but they must end with a .json file extension.
Loading the internal JSON files can be disabled altogether changing the "loadVillagersFromJar" and "loadTradesFromJar" values within the mod's config file, which is called "vtt.cfg".