diff --git a/common/src/main/java/moe/caramel/chat/mixin/MixinEditBox.java b/common/src/main/java/moe/caramel/chat/mixin/MixinEditBox.java index a082b44..e1af5f3 100644 --- a/common/src/main/java/moe/caramel/chat/mixin/MixinEditBox.java +++ b/common/src/main/java/moe/caramel/chat/mixin/MixinEditBox.java @@ -184,7 +184,7 @@ private void onValueChange(final String text, final CallbackInfo ci) { } @Inject( - method = "deleteChars", + method = "deleteCharsToPos", at = @At( value = "INVOKE", shift = At.Shift.BEFORE, target = "Lnet/minecraft/client/gui/components/EditBox;moveCursorTo(IZ)V" diff --git a/common/src/main/java/moe/caramel/chat/mixin/MixinSelectWorldScreen.java b/common/src/main/java/moe/caramel/chat/mixin/MixinSelectWorldScreen.java index f87d6e9..d0b6a57 100644 --- a/common/src/main/java/moe/caramel/chat/mixin/MixinSelectWorldScreen.java +++ b/common/src/main/java/moe/caramel/chat/mixin/MixinSelectWorldScreen.java @@ -19,7 +19,7 @@ public final class MixinSelectWorldScreen { method = "init", at = @At( value = "INVOKE", shift = At.Shift.AFTER, - target = "Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;(Lnet/minecraft/client/gui/screens/worldselection/SelectWorldScreen;Lnet/minecraft/client/Minecraft;IIIIILjava/lang/String;Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;)V" + target = "Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;(Lnet/minecraft/client/gui/screens/worldselection/SelectWorldScreen;Lnet/minecraft/client/Minecraft;IIIILjava/lang/String;Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList;)V" ), cancellable = true ) private void initWorldSelectionList(final CallbackInfo ci) { diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index ddc87b0..cd640ec 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -24,8 +24,8 @@ "accessWidener": "caramelchat.accesswidener", "mixins": [ "caramelchat.mixins.json" ], "depends": { - "fabricloader": ">=0.14.0", - "minecraft": ">=1.20.2" + "fabricloader": ">=0.15.0", + "minecraft": ">=1.20.3" }, "breaks": { "lunar": "*", diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index 0270f0f..7f090b9 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -6,7 +6,7 @@ # The name of the mod loader type to load - for regular FML @Mod mods it should be javafml modLoader="javafml" #mandatory # A version range to match for said mod loader - for regular FML @Mod it will be the forge version -loaderVersion="[47,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions. +loaderVersion="[49,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions. # The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties. # Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here. license="GNU LGPL 3.0" @@ -48,11 +48,11 @@ Provides an enhanced IME input experience in Minecraft. [[dependencies.caramelchat]] modId = "forge" mandatory = true - versionRange = "[48,)" + versionRange = "[49,)" side = "CLIENT" [[dependencies.caramelchat]] modId="minecraft" mandatory=true - versionRange = "[1.20.2,)" + versionRange = "[1.20.3,)" side = "CLIENT" diff --git a/forge/src/main/resources/pack.mcmeta b/forge/src/main/resources/pack.mcmeta index dcd259c..48be278 100644 --- a/forge/src/main/resources/pack.mcmeta +++ b/forge/src/main/resources/pack.mcmeta @@ -1,6 +1,6 @@ { "pack": { "description": "caramelChat Resources", - "pack_format": 18 + "pack_format": 22 } } diff --git a/gradle.properties b/gradle.properties index 7ba6ddf..13b9091 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ archives_base_name=caramelChat mod_version=1.1.1 maven_group=moe.caramel -minecraft_version=1.20.2 -fabric_loader_version=0.14.22 -forge_version=1.20.2-48.0.0 -neoforge_version=20.2.86 +minecraft_version=1.20.4 +fabric_loader_version=0.15.1 +forge_version=1.20.4-49.0.3 +neoforge_version=20.4.5-beta diff --git a/neoforge/src/main/resources/META-INF/mods.toml b/neoforge/src/main/resources/META-INF/mods.toml index e492fd7..58bed5e 100644 --- a/neoforge/src/main/resources/META-INF/mods.toml +++ b/neoforge/src/main/resources/META-INF/mods.toml @@ -50,13 +50,13 @@ config = "caramelchat.mixins.json" [[dependencies.caramelchat]] modId="neoforge" mandatory=true -versionRange="[20.2,)" +versionRange="[20.3,)" ordering="NONE" side="BOTH" [[dependencies.caramelchat]] modId="minecraft" mandatory=true -versionRange="[1.20.2,)" +versionRange="[1.20.3,)" ordering="NONE" side="CLIENT" diff --git a/neoforge/src/main/resources/pack.mcmeta b/neoforge/src/main/resources/pack.mcmeta index dcd259c..48be278 100644 --- a/neoforge/src/main/resources/pack.mcmeta +++ b/neoforge/src/main/resources/pack.mcmeta @@ -1,6 +1,6 @@ { "pack": { "description": "caramelChat Resources", - "pack_format": 18 + "pack_format": 22 } }