Changes

334 bytes added ,  19:34, 13 June 2022
Basic display test info
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 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 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>
 
|}
 
|}