From 6ab4321f0ba68d7cad70f77cd59cef15f99629f3 Mon Sep 17 00:00:00 2001 From: Adrian Siekierka Date: Sun, 7 Apr 2019 19:39:49 +0200 Subject: update to Loader 0.4.0 --- src/main/resources/assets/modid/icon.png | Bin 0 -> 453 bytes src/main/resources/fabric.mod.json | 33 ++++++++++++++++++++++++------- src/main/resources/modid.client.json | 11 ----------- src/main/resources/modid.common.json | 10 ---------- src/main/resources/modid.mixins.json | 13 ++++++++++++ 5 files changed, 39 insertions(+), 28 deletions(-) create mode 100644 src/main/resources/assets/modid/icon.png delete mode 100644 src/main/resources/modid.client.json delete mode 100644 src/main/resources/modid.common.json create mode 100644 src/main/resources/modid.mixins.json (limited to 'src') diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/modid/icon.png new file mode 100644 index 0000000..047b91f Binary files /dev/null and b/src/main/resources/assets/modid/icon.png differ diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 4b9af9f..26ac594 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,17 +1,36 @@ { + "schemaVersion": 1, "id": "modid", + "version": "${version}", + "name": "Example Mod", "description": "This is an example description! Tell everyone what your mod is about!", - "version": "${version}", - "side": "universal", - "initializers": [ - "net.fabricmc.example.ExampleMod" + "authors": [ + "Me!" + ], + "contact": { + "homepage": "https://fabricmc.net/", + "sources": "https://github.com/FabricMC/fabric-example-mod" + }, + + "license": "CC0-1.0", + "icon": "assets/modid/icon.png", + + "environment": "*", + "entrypoints": { + "main": [ + "net.fabricmc.example.ExampleMod" + ] + }, + "mixins": [ + "modid.mixins.json" ], + "requires": { + "fabricloader": ">=0.4.0", "fabric": "*" }, - "mixins": { - "client": "modid.client.json", - "common": "modid.common.json" + "suggests": { + "flamingo": "*" } } diff --git a/src/main/resources/modid.client.json b/src/main/resources/modid.client.json deleted file mode 100644 index 7e8bcc4..0000000 --- a/src/main/resources/modid.client.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "required": true, - "package": "net.fabricmc.example.mixin", - "compatibilityLevel": "JAVA_8", - "mixins": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 - } -} diff --git a/src/main/resources/modid.common.json b/src/main/resources/modid.common.json deleted file mode 100644 index b26285f..0000000 --- a/src/main/resources/modid.common.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "required": true, - "package": "net.fabricmc.example.mixin", - "compatibilityLevel": "JAVA_8", - "mixins": [ - ], - "injectors": { - "defaultRequire": 1 - } -} diff --git a/src/main/resources/modid.mixins.json b/src/main/resources/modid.mixins.json new file mode 100644 index 0000000..e243f0a --- /dev/null +++ b/src/main/resources/modid.mixins.json @@ -0,0 +1,13 @@ +{ + "required": true, + "package": "net.fabricmc.example.mixin", + "compatibilityLevel": "JAVA_8", + "mixins": [ + ], + "client": [ + "ExampleMixin" + ], + "injectors": { + "defaultRequire": 1 + } +} -- cgit v1.2.3