diff --git a/gradle.properties b/gradle.properties index 8c1868c..c9d93e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,13 +2,13 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/develop/ -minecraft_version=1.20.5 -yarn_mappings=1.20.5+build.1 -loader_version=0.15.10 +minecraft_version=1.21 +yarn_mappings=1.21+build.1 +loader_version=0.15.11 # Mod Properties mod_version=2.8.0 maven_group=one.oktw archives_base_name=FabricProxy-Lite # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api -fabric_version=0.97.5+1.20.5 +fabric_version=0.100.1+1.21 diff --git a/src/main/java/one/oktw/VelocityLib.java b/src/main/java/one/oktw/VelocityLib.java index 583d9bb..ac7699a 100644 --- a/src/main/java/one/oktw/VelocityLib.java +++ b/src/main/java/one/oktw/VelocityLib.java @@ -18,7 +18,7 @@ import static java.util.Arrays.binarySearch; public class VelocityLib { - public static final Identifier PLAYER_INFO_CHANNEL = new Identifier("velocity", "player_info"); + public static final Identifier PLAYER_INFO_CHANNEL = Identifier.of("velocity", "player_info"); public static final int MODERN_FORWARDING_DEFAULT = 1; public static final int MODERN_FORWARDING_WITH_KEY = 2; public static final int MODERN_FORWARDING_WITH_KEY_V2 = 3; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index bb2c063..1583b3f 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -23,9 +23,9 @@ "hack.mixins.json" ], "depends": { - "fabricloader": ">=0.15.10", + "fabricloader": ">=0.15.11", "fabric-networking-api-v1": "*", - "minecraft": ">=1.20.5", + "minecraft": ">=1.21", "java": ">=21" } }