documentation:fabric_mod_json_spec
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
documentation:fabric_mod_json_spec [2020/08/16 13:52] – add accessWidener property juuz | documentation:fabric_mod_json_spec [2022/03/22 21:20] – Update version range spec to be more precise player | ||
---|---|---|---|
Line 65: | Line 65: | ||
=== VersionRange === | === VersionRange === | ||
- | A string or array of string declaring supported version ranges. In the case of an array, an " | + | A string or array of string declaring supported version ranges |
- | In the case of all versions, '' | + | In the case of all versions, '' |
- | For semantic versions, the specification follows a rough subset of the [[https://docs.npmjs.com/misc/semver|NPM semver]] specification, in particular | + | Versions compatible with the extended semver format are compared as defined by [[https://semver.org/ semver |
- | * '' | + | The following |
- | * Version ranges - a set of space-delimited comparators of the ''> | + | |
- | * X-Ranges, | + | |
- | * Tilde Ranges, | + | |
- | * Caret Ranges. | + | |
+ | * standalone ''< | ||
+ | * standard operators ''< | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * X-Ranges: ''< | ||
+ | |||
+ | All operators always work the same regardless of the version they are matching against, there is no special casing for '' | ||
==== Mandatory fields ==== | ==== Mandatory fields ==== | ||
documentation/fabric_mod_json_spec.txt · Last modified: 2023/12/27 12:54 by mineblock11