diff options
author | modmuss50 <modmuss50@gmail.com> | 2021-05-12 20:41:38 +0100 |
---|---|---|
committer | modmuss50 <modmuss50@gmail.com> | 2021-05-12 20:41:38 +0100 |
commit | 50f0be767c69f3ac49c3a2c4c8669354a39fd9b3 (patch) | |
tree | bdc742db4382ca89f9c87ba6d6854c5fe0157f80 /src/main/resources | |
parent | 29c522536fc16233833221e22eed3f106c0726bc (diff) |
Update to 21w19a and Java 16
This commit can be used as an example on how to update your mod to Java 16. You will need to ensure you have Java 16 installed and set as the active version to run this. Gradle 7 is required along with loom 0.8
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/fabric.mod.json | 5 | ||||
-rw-r--r-- | src/main/resources/modid.mixins.json | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index df92d8b..a0bfabb 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -27,9 +27,10 @@ ], "depends": { - "fabricloader": ">=0.7.4", + "fabricloader": ">=0.11.3", "fabric": "*", - "minecraft": "1.16.x" + "minecraft": "1.17.x", + "java": ">=16" }, "suggests": { "another-mod": "*" diff --git a/src/main/resources/modid.mixins.json b/src/main/resources/modid.mixins.json index 21fe73a..9cf7e06 100644 --- a/src/main/resources/modid.mixins.json +++ b/src/main/resources/modid.mixins.json @@ -2,7 +2,7 @@ "required": true, "minVersion": "0.8", "package": "net.fabricmc.example.mixin", - "compatibilityLevel": "JAVA_8", + "compatibilityLevel": "JAVA_16", "mixins": [ ], "client": [ |