From 48712f09a16c4272b22c0629e71b77cdc41a989b Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Thu, 13 Jun 2024 18:37:40 +0100 Subject: [PATCH] 1.21 --- gradle.properties | 8 ++++---- .../java/com/example/mixin/client/ExampleClientMixin.java | 2 +- src/main/resources/fabric.mod.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gradle.properties b/gradle.properties index acdf74bc6..c129da364 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,9 +4,9 @@ org.gradle.parallel=true # Fabric Properties # check these on https://fabricmc.net/develop -minecraft_version=1.20.6 -yarn_mappings=1.20.6+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=1.0.0 @@ -14,4 +14,4 @@ maven_group=com.example archives_base_name=modid # Dependencies -fabric_version=0.97.8+1.20.6 \ No newline at end of file +fabric_version=0.100.1+1.21 \ No newline at end of file diff --git a/src/client/java/com/example/mixin/client/ExampleClientMixin.java b/src/client/java/com/example/mixin/client/ExampleClientMixin.java index 061b0efcb..7ee50d152 100644 --- a/src/client/java/com/example/mixin/client/ExampleClientMixin.java +++ b/src/client/java/com/example/mixin/client/ExampleClientMixin.java @@ -9,7 +9,7 @@ @Mixin(MinecraftClient.class) public class ExampleClientMixin { @Inject(at = @At("HEAD"), method = "run") - private void run(CallbackInfo info) { + private void init(CallbackInfo info) { // This code is injected into the start of MinecraftClient.run()V } } \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 73d4a7622..1429df8f8 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -30,8 +30,8 @@ } ], "depends": { - "fabricloader": ">=0.15.10", - "minecraft": "~1.20.6", + "fabricloader": ">=0.15.11", + "minecraft": "~1.21", "java": ">=21", "fabric-api": "*" },