Changes

330 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.18.2 is version 40
+
# Forge for 1.19 is version 41
loaderVersion="[40,)"
+
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="[40,)"
+
     versionRange="[41,)"
 
     ordering="NONE"
 
     ordering="NONE"
 
     side="BOTH"
 
     side="BOTH"
Line 37: Line 38:  
     modId="minecraft"
 
     modId="minecraft"
 
     mandatory=true
 
     mandatory=true
     versionRange="[1.18.2,1.19)"
+
     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>"[40,)"</code>
+
|<code>"[41,)"</code>
 
|-
 
|-
 
|<code>license</code>
 
|<code>license</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>
 
|}
 
|}