Custom Village

Custom Village

167 Downloads

With this module, you can customize the villagers using Json.
This module comes with three definable original content: profession, cancer, and trade.
The module will automatically scan the JSON files under assets/mod/villages. 1.12.2 There are no data packets, so these resource data needs to be packaged as Mod. (You can also modify the custom_village_hileb/villages of this mod to borrow this mod for packaging)
This Mod resource comes with 5 examples in the cvh/villages directory. These examples can help players learn the JSON format, but they will not take effect.

Notice
Please pay attention to the naming of JSON files, as their names are related to the order of registration. If the transaction is registered before the profession, the game will crash. In other words, the transaction of a custom profession must follow the custom profession.
Mod authors should not use JSON to manipulate their villagers, as everything done using JSON can be done without using JSON.
Pay attention to the logs. Successful registrations will display load village+file name, failed registrations will report an error, and skipped registrations will not display any information.