Skip to content

Commit 32d2200

Browse files
committed
Semicolon
1 parent 9d617c0 commit 32d2200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/gettingstarted/modfiles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Mods can specify their dependencies, which are checked by NeoForge before loadin
125125
| Property | Type | Default | Description | Example |
126126
|:---------------|:------:|:-------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------|
127127
| `modId` | string | **mandatory** | The identifier of the mod added as a dependency. | `modId="jei"` |
128-
| `type` | string | `required` | Replaced the `mandatory` field in NeoForge 20.4.40-beta. Specifies the nature of this dependency: `required` is the default and prevents the mod from loading if this dependency is missing. `optional` will not prevent the mod from loading if the dependency is missing, but still validates that the dependency is compatible. `incompatible` prevents the mod from loading if this dependency is present. `discouraged` still allows the mod to load if the dependency is present, but presents a warning to the user. | `type=incompatible` |
128+
| `type` | string | `required` | Replaced the `mandatory` field in NeoForge 20.4.40-beta. Specifies the nature of this dependency: `required` is the default and prevents the mod from loading if this dependency is missing; `optional` will not prevent the mod from loading if the dependency is missing, but still validates that the dependency is compatible; `incompatible` prevents the mod from loading if this dependency is present; `discouraged` still allows the mod to load if the dependency is present, but presents a warning to the user. | `type=incompatible` |
129129
| `reason` | string | *nothing* | Available since NeoForge 20.4.40-beta. An optional user-facing message to describe why this dependency is required, or why it is incompatible |
130130
| `versionRange` | string | `""` | The acceptable version range of the language loader, expressed as a [Maven Version Range][mvr]. An empty string matches any version. | `versionRange="[1, 2)"` |
131131
| `ordering` | string | `"NONE"` | Defines if the mod must load before (`"BEFORE"`) or after (`"AFTER"`) this dependency. If the ordering does not matter, return `"NONE"` | `ordering="AFTER"` |

0 commit comments

Comments
 (0)