Line 8: |
Line 8: |
| <syntaxhighlight lang="TOML"> | | <syntaxhighlight lang="TOML"> |
| modLoader="javafml" | | modLoader="javafml" |
− | # Forge for 1.17.1 is version 37 | + | # Forge for 1.19 is version 41 |
− | loaderVersion="[37,)" | + | loaderVersion="[41,)" |
| license="All rights reserved" | | license="All rights reserved" |
| issueTrackerURL="github.com/MinecraftForge/MinecraftForge/issues" | | issueTrackerURL="github.com/MinecraftForge/MinecraftForge/issues" |
Line 26: |
Line 26: |
| Lets you craft dirt into diamonds. This is a traditional mod that has existed for eons. It is ancient. The holy Notch created it. Jeb rainbowfied it. Dinnerbone made it upside down. Etc. | | Lets you craft dirt into diamonds. This is a traditional mod that has existed for eons. It is ancient. The holy Notch created it. Jeb rainbowfied it. Dinnerbone made it upside down. Etc. |
| ''' | | ''' |
| + | displayTest="MATCH_VERSION" |
| | | |
| [[dependencies.examplemod]] | | [[dependencies.examplemod]] |
| modId="forge" | | modId="forge" |
| mandatory=true | | mandatory=true |
− | versionRange="[37,)" | + | versionRange="[41,)" |
| ordering="NONE" | | ordering="NONE" |
| side="BOTH" | | side="BOTH" |
Line 37: |
Line 38: |
| modId="minecraft" | | modId="minecraft" |
| mandatory=true | | mandatory=true |
− | versionRange="[1.17.1,1.18)" | + | versionRange="[1.19,1.20)" |
| ordering="NONE" | | ordering="NONE" |
| side="BOTH" | | side="BOTH" |
Line 66: |
Line 67: |
| |'''mandatory''' | | |'''mandatory''' |
| |The acceptable version range of the language loader, expressed as a [https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html Maven version spec]. For the Forge-provided Java loader, the version is the major version of the Forge version. | | |The acceptable version range of the language loader, expressed as a [https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html Maven version spec]. For the Forge-provided Java loader, the version is the major version of the Forge version. |
− | |<code>"[37,)"</code> | + | |<code>"[41,)"</code> |
| |- | | |- |
| |<code>license</code> | | |<code>license</code> |
Line 118: |
Line 119: |
| |string | | |string |
| |<code>"1"</code> | | |<code>"1"</code> |
− | |.), ideally conforming to [[Semantic_Versioning>Semantic Versioning]]. The default value in the MDK for this is <code>${file.jarVersion}</code>, which is replaced at runtime with the <code>Implementation-Version</code> found in the jar's manifest file. | + | |The mod's version, ideally conforming to [[Semantic Versioning|semantic versioning]]. The default value in the MDK for this is <code>${file.jarVersion}</code>, which is replaced at runtime with the <code>Implementation-Version</code> found in the jar's manifest file. |
| |<code>"0.2.4-beta1"</code> | | |<code>"0.2.4-beta1"</code> |
| |- | | |- |
Line 130: |
Line 131: |
| |string | | |string |
| |<code>"MISSING DESCRIPTION"</code> | | |<code>"MISSING DESCRIPTION"</code> |
− | |The description of the mod, for use in the Mods listing screen. It's recommended to use a multiline string (surrounded by <code>'''<code>)</code></code> | + | |The description of the mod, for use in the Mods listing screen. It's recommended to use a multiline string (surrounded by <code><nowiki>'''</nowiki></code>) |
| |<code>"Adds things and stuff. "</code> | | |<code>"Adds things and stuff. "</code> |
| |- | | |- |
Line 148: |
Line 149: |
| |string | | |string |
| |''nothing'' | | |''nothing'' |
− | |The update JSON URL, used by the [Update_Checker update checker]. This should never be a blank string, as that will cause an error. | + | |The update JSON URL, used by the [[Update_Checker|update checker]]. This should never be a blank string, as that will cause an error. |
| |<code><nowiki>"http://myurl.me/path/to/update.json"</nowiki></code> | | |<code><nowiki>"http://myurl.me/path/to/update.json"</nowiki></code> |
| |- | | |- |
Line 174: |
Line 175: |
| |A URL, displayed on the Mods listing screen. Can be any string. | | |A URL, displayed on the Mods listing screen. Can be any string. |
| |<code><nowiki>"http://example.com/"</nowiki></code> | | |<code><nowiki>"http://example.com/"</nowiki></code> |
| + | |- |
| + | |<code>displayTest</code> |
| + | |string |
| + | |<code>"MATCH_VERSION"</code> |
| + | |Controls the display of the mod in the server connection screen. Must be either <code>MATCH_VERSION</code>, <code>IGNORE_SERVER_VERSION</code>, <code>IGNORE_ALL_VERSION</code>, or <code>NONE</code>. |
| + | |<code>"IGNORE_ALL_VERSION"</code> |
| |} | | |} |
| | | |