From 6d9c3d6d384e0170d90e8824f161c774b13a4e8e Mon Sep 17 00:00:00 2001 From: Matyrobbrt <65940752+Matyrobbrt@users.noreply.github.com> Date: Thu, 21 Dec 2023 09:47:14 +0200 Subject: Update MDK to 1.20.4 (#29) --- src/main/resources/META-INF/mods.toml | 12 ++++++++---- src/main/resources/pack.mcmeta | 8 -------- 2 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 src/main/resources/pack.mcmeta (limited to 'src/main/resources') 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} - } -} -- cgit v1.2.3