documentation:fabric_mod_json
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:fabric_mod_json [2022/11/07 08:36] – [Mod loading] solidblock | documentation:fabric_mod_json [2023/12/27 12:53] (current) – ↷ Page name changed from documentation:fabric_mod_json_spec to documentation:fabric_mod_json mineblock11 | ||
---|---|---|---|
Line 2: | Line 2: | ||
The fabric.mod.json file is a mod metadata file used by Fabric Loader to load mods. In order to be loaded, a mod must have this file with the exact name placed in the root directory of the mod JAR. | The fabric.mod.json file is a mod metadata file used by Fabric Loader to load mods. In order to be loaded, a mod must have this file with the exact name placed in the root directory of the mod JAR. | ||
+ | |||
===== Mandatory fields ===== | ===== Mandatory fields ===== | ||
* **schemaVersion** Needed for internal mechanisms. Must always be '' | * **schemaVersion** Needed for internal mechanisms. Must always be '' | ||
- | * **id** Defines the mod's identifier - a string of Latin letters, digits, underscores with length from 1 to 63. | + | * **id** Defines the mod's identifier - a string of Latin letters, digits, underscores with length from 2 to 64. |
* **version** Defines the mod's version - a string value, optionally matching the [[https:// | * **version** Defines the mod's version - a string value, optionally matching the [[https:// | ||
documentation/fabric_mod_json.1667810218.txt.gz · Last modified: 2022/11/07 08:36 by solidblock