You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// From https://github.com/MinecraftForge/MinecraftForge/blob/0ff8a596fc1ef33d4070be89dd5cb4851f93f731/src/fmllauncher/java/net/minecraftforge/fml/loading/StringSubstitutor.java
// From https://github.com/MinecraftForge/MinecraftForge/blob/38a5400a8c878fe39cd389e6d4f68619d2738b88/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModInfo.java#L45
Copy file name to clipboardExpand all lines: src/main/kotlin/toml/platform/forge/ModsTomlSchema.kt
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,14 @@ logoBlur=false
58
58
credits="Thanks for this example mod goes to Java"
59
59
# A text field displayed in the mod UI.
60
60
authors="Love, Cheese and small house plants"
61
+
# Display Test controls the display for your mod in the server connection screen
62
+
# MATCH_VERSION means that your mod will cause a red X if the versions on client and server differ. This is the default behaviour and should be what you choose if you have server and client elements to your mod.
63
+
# IGNORE_SERVER_VERSION means that your mod will not cause a red X if it's present on the server but not on the client. This is what you should use if you're a server only mod.
64
+
# IGNORE_ALL_VERSION means that your mod will not cause a red X if it's present on the client or the server. This is a special case and should only be used if your mod has no server component.
65
+
# NONE means that no display test is set on your mod. You need to do this yourself, see IExtensionPoint.DisplayTest for more information. You can define any scheme you wish with this value.
66
+
# IMPORTANT NOTE: this is NOT an instruction as to which environments (CLIENT or DEDICATED SERVER) your mod loads on. Your mod should load (and maybe do nothing!) whereever it finds itself.
67
+
displayTest="MATCH_VERSION" # MATCH_VERSION is the default if nothing is specified (#optional)
68
+
61
69
# The description text for the mod (multi line!)
62
70
description='''
63
71
This is a long form description of the mod. You can write whatever you want here
0 commit comments