summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMatyrobbrt <65940752+Matyrobbrt@users.noreply.github.com>2023-12-21 09:47:14 +0200
committerGitHub <noreply@github.com>2023-12-21 08:47:14 +0100
commit6d9c3d6d384e0170d90e8824f161c774b13a4e8e (patch)
tree48e1501d12d07d9a24806b74840b11b8db518d06 /src/main
parentf5f4feccd9bb4861a181af33453ff99c46379e76 (diff)
Update MDK to 1.20.4 (#29)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/META-INF/mods.toml12
-rw-r--r--src/main/resources/pack.mcmeta8
2 files changed, 8 insertions, 12 deletions
diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml
index b0ad9f8..89cadbc 100644
--- a/src/main/resources/META-INF/mods.toml
+++ b/src/main/resources/META-INF/mods.toml
@@ -44,11 +44,15 @@ description='''${mod_description}'''
[[dependencies.${mod_id}]] #optional
# the modid of the dependency
modId="neoforge" #mandatory
- # Does this dependency have to exist - if not, ordering below must be specified
- mandatory=true #mandatory
+ # The type of the dependency. Can be one of "required", "optional", "incompatible" or "discouraged" (case insensitive).
+ # 'required' requires the mod to exist, 'optional' does not
+ # 'incompatible' will prevent the game from loading when the mod exists, and 'discouraged' will show a warning
+ type="required" #mandatory
+ # Optional field describing why the dependency is required or why it is incompatible
+ # reason="..."
# The version range of the dependency
versionRange="${neo_version_range}" #mandatory
- # An ordering relationship for the dependency - BEFORE or AFTER required if the dependency is not mandatory
+ # An ordering relationship for the dependency.
# BEFORE - This mod is loaded BEFORE the dependency
# AFTER - This mod is loaded AFTER the dependency
ordering="NONE"
@@ -57,7 +61,7 @@ description='''${mod_description}'''
# Here's another dependency
[[dependencies.${mod_id}]]
modId="minecraft"
- mandatory=true
+ type="required"
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="${minecraft_version_range}"
ordering="NONE"
diff --git a/src/main/resources/pack.mcmeta b/src/main/resources/pack.mcmeta
deleted file mode 100644
index 59c5240..0000000
--- a/src/main/resources/pack.mcmeta
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "pack": {
- "description": {
- "text": "${mod_id} resources"
- },
- "pack_format": ${pack_format_number}
- }
-}