From 50f0be767c69f3ac49c3a2c4c8669354a39fd9b3 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Wed, 12 May 2021 20:41:38 +0100 Subject: 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 --- src/main/resources/fabric.mod.json | 5 +++-- src/main/resources/modid.mixins.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main') 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": [ -- cgit 1.4.1