From 34b30a92d79b37f7e39d5296309e4142733a7e75 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Fri, 3 Mar 2023 09:11:52 +0000 Subject: [PATCH] Added example of `fabric.mod.json` --- tests/content/fabric/fabric.mod.json | 63 ++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 tests/content/fabric/fabric.mod.json diff --git a/tests/content/fabric/fabric.mod.json b/tests/content/fabric/fabric.mod.json new file mode 100644 index 0000000..e8f8d3f --- /dev/null +++ b/tests/content/fabric/fabric.mod.json @@ -0,0 +1,63 @@ +{ + "schemaVersion": 1, + "id": "example-mod", + "version": "0.1.0", + "name": "Example Mod", + "description": "Description", + "authors": [ + "Author" + ], + "contact": { + "homepage": "https://github.com/", + "sources": "https://github.com/" + }, + "license": "MIT", + "icon": "assets/example-mod/icon.png", + "environment": "*", + "entrypoints": { + "main": [ + "example.ExampleMod" + ] + }, + "mixins": [ + "example-mod.mixins.json" + ], + + "depends": { + "fabricloader": ">=0.11.3", + "fabric": ">=0.40.0", + "minecraft": [ + "1.17", + "1.17.1" + ], + "java": ">=16" + }, + "recommends": { + "recommended-mod": "0.2.0" + }, + "includes": { + "included-mod": "*" + }, + "suggests": { + "suggested-mod": "*" + }, + "conflicts": { + "conflicting-mod": "<0.40.0" + }, + "breaks": { + "breaking-mod": "*" + }, + + "custom": { + "mc-publish": { + "modrinth": "AANobbMI", + "curseforge": 394468, + "github": "mc1.18-0.4.0-alpha5", + + "loaders": ["fabric", "quilt"], + "dependencies": [ + "recommended-mod@0.2.0(recommended){modrinth:AAAA}{curseforge:42}{github:v0.2.0}#(ignore)" + ] + } + } +}