From f7ac857955aeb246c8e49e443dbac01906acb697 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Mon, 13 Mar 2023 10:15:14 +0000 Subject: [PATCH] Added example of `mods.toml` --- tests/content/forge/mods.toml | 73 +++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 tests/content/forge/mods.toml diff --git a/tests/content/forge/mods.toml b/tests/content/forge/mods.toml new file mode 100644 index 0000000..c0f6b41 --- /dev/null +++ b/tests/content/forge/mods.toml @@ -0,0 +1,73 @@ +modLoader="javafml" +loaderVersion="[34,)" +issueTrackerURL="https://github.com/" +displayURL="https://github.com/" +authors="Author" +license="MIT" + +[[mods]] + modId="example-mod" + version="0.1.0" + displayName="Example Mod" + description=''' + Example mod + ''' + +[[dependencies.example-mod]] + modId="minecraft" + mandatory=true + versionRange="[1.17, 1.18)" + side="BOTH" + +[[dependencies.example-mod]] + modId="forge" + mandatory=true + versionRange="[34,)" + ordering="NONE" + side="BOTH" + +[[dependencies.example-mod]] + modId="java" + mandatory=true + versionRange="[16,)" + ordering="NONE" + side="BOTH" + +[[dependencies.example-mod]] + modId="suggested-mod" + mandatory=false + versionRange="*" + ordering="NONE" + side="BOTH" + [dependencies.example-mod.mc-publish] + modrinth="BBBB" + curseforge=43 + github="v0.3.0" + ignore=["curseforge"] + + +[[dependencies.example-mod]] + modId="included-mod" + mandatory=false + embedded=true + versionRange="*" + ordering="NONE" + side="BOTH" + +[[dependencies.example-mod]] + modId="breaking-mod" + mandatory=false + incompatible=true + versionRange="*" + ordering="NONE" + side="BOTH" + +[mc-publish] + modrinth="AANobbMI" + curseforge=394468 + github="mc1.18-0.4.0-alpha5" + loaders=["forge", "forge2"] + dependencies=[ + "recommended-mod@0.2.0(recommended){modrinth:AAAA}{curseforge:42}{github:v0.2.0}#(ignore)", + "conflicting-mod@<0.40.0(conflicting)", + ]