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 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.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": {