From d6e85e22192c7d824572668f54a5bf81eec3bc78 Mon Sep 17 00:00:00 2001 From: Adrian Siekierka Date: Sun, 7 Apr 2019 19:39:49 +0200 Subject: [PATCH] update to Loader 0.4.0 --- gradle.properties | 6 ++-- src/main/resources/assets/modid/icon.png | Bin 0 -> 453 bytes src/main/resources/fabric.mod.json | 33 ++++++++++++++---- src/main/resources/modid.common.json | 10 ------ .../{modid.client.json => modid.mixins.json} | 2 ++ 5 files changed, 31 insertions(+), 20 deletions(-) create mode 100644 src/main/resources/assets/modid/icon.png delete mode 100644 src/main/resources/modid.common.json rename src/main/resources/{modid.client.json => modid.mixins.json} (90%) diff --git a/gradle.properties b/gradle.properties index 883630d..056db07 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version=19w12a - yarn_mappings=19w12a.2 - loader_version=0.3.7.109 + minecraft_version=19w14b + yarn_mappings=19w14b.4 + loader_version=0.4.0+build.112 # Mod Properties mod_version = 1.0.0 diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/modid/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..047b91f2347de5cf95f23284476fddbe21ba23fe GIT binary patch literal 453 zcmV;$0XqJPP)QAFYGys`80vegN0XDFh0OXKz&i8?Le#x7{1X)R+00000NkvXXu0mjf73i~T literal 0 HcmV?d00001 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.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.client.json b/src/main/resources/modid.mixins.json similarity index 90% rename from src/main/resources/modid.client.json rename to src/main/resources/modid.mixins.json index 7e8bcc4..e243f0a 100644 --- a/src/main/resources/modid.client.json +++ b/src/main/resources/modid.mixins.json @@ -3,6 +3,8 @@ "package": "net.fabricmc.example.mixin", "compatibilityLevel": "JAVA_8", "mixins": [ + ], + "client": [ "ExampleMixin" ], "injectors": {