Modules
This part is about the resource mod
You can selectively apply load functions and paths through modules.
The module is defined in modules
in rml.info
and is an array of JsonObject. Each element is as follows:
{
"name":"rml:CONFIG_OVERRIDE",
"location":"mods/forge/config/override",
"forceLoaded":false
}
Among them, name
represents module, necessary content.
location
is optional. If not filled in, it will default. The actual path is /assets/<domain>/<location>
, which is the path agreed in this document.
forceLoaded
is optional, defaults to false, set to true to crash when the module is failed to be loaded.
If the modules
field is not exist, all default modules are applied by default.