diff options
author | Adrian Siekierka <kontakt@asie.pl> | 2019-04-07 19:39:49 +0200 |
---|---|---|
committer | Adrian Siekierka <kontakt@asie.pl> | 2019-04-07 19:39:55 +0200 |
commit | d6e85e22192c7d824572668f54a5bf81eec3bc78 (patch) | |
tree | 18d998b01510277cb71e262200d3beeda7bd620f /src/main | |
parent | 20c98824b9ffca7e9ff0080941627a5f12a10792 (diff) |
update to Loader 0.4.0
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/resources/assets/modid/icon.png | bin | 0 -> 453 bytes | |||
-rw-r--r-- | src/main/resources/fabric.mod.json | 33 | ||||
-rw-r--r-- | src/main/resources/modid.common.json | 10 | ||||
-rw-r--r-- | src/main/resources/modid.mixins.json (renamed from src/main/resources/modid.client.json) | 2 |
4 files changed, 28 insertions, 17 deletions
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 --- /dev/null +++ b/src/main/resources/assets/modid/icon.png Binary files differdiff --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 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": { |