From d5b7f133bd00d29e6c8262c27a9436aab40a1d2c Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:22:45 +0100 Subject: [PATCH] 1.20.4 --- README.md | 2 +- gradle.properties | 6 +++--- .../injection/mixin/viaversion/MixinProtocolVersion.java | 1 + .../viafabricplus/mappings/PackFormatsMappings.java | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7e1aee27f..104d535c6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ ViaFabricPlus is a deep integration of ViaVersion on the Fabric platform, unlike the classic Via* implementations, ViaFabricPlus implements many changes that can't be fixed on protocol level (old animations, old movement/swimming, collisions and general rendering changes). At the time of writing, VFP is the only protocol translation platform for the client with which you can play on all Minecraft multiplayer versions with many QoL features and get the feel of the old versions. ### Supported Server versions -- Release (1.0.0 - 1.20.3) +- Release (1.0.0 - 1.20.4) - Beta (b1.0 - b1.8.1) - Alpha (a1.0.15 - a1.2.6) - Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension)) diff --git a/gradle.properties b/gradle.properties index 678514e8f..36b14f4e7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,12 +14,12 @@ maven_group=de.florianmichael archives_base_name=viafabricplus # ViaVersion Libraries -viaversion_version=4.9.2-SNAPSHOT -viabackwards_version=4.9.1-SNAPSHOT +viaversion_version=4.9.2 +viabackwards_version=4.9.1 vialegacy_version=2.2.22-SNAPSHOT viaaprilfools_version=2.0.11-SNAPSHOT viabedrock_version=0.0.3-SNAPSHOT -vialoader_version=2.2.12-SNAPSHOT +vialoader_version=2.2.12 # RaphiMC Libraries minecraftauth_version=3.0.0 diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java index ad9730166..88d7da743 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java @@ -46,6 +46,7 @@ private static void initMaps(CallbackInfo ci) { viafabricplus_remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null)); viafabricplus_remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null)); viafabricplus_remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null)); + viafabricplus_remaps.put("1.20.3", new Pair<>("1.20.3-1.20.4", null)); } @Redirect(method = "", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;")) diff --git a/src/main/java/de/florianmichael/viafabricplus/mappings/PackFormatsMappings.java b/src/main/java/de/florianmichael/viafabricplus/mappings/PackFormatsMappings.java index dce7db6c5..9a108bbc2 100644 --- a/src/main/java/de/florianmichael/viafabricplus/mappings/PackFormatsMappings.java +++ b/src/main/java/de/florianmichael/viafabricplus/mappings/PackFormatsMappings.java @@ -33,7 +33,7 @@ public class PackFormatsMappings { private final static Map protocolMap = new HashMap<>(); public static void load() { - registerVersion(VersionEnum.r1_20_3, 22, "1.20.3"); + registerVersion(VersionEnum.r1_20_3tor1_20_4, 22, "1.20.4"); registerVersion(VersionEnum.r1_20_2, 18, "1.20.2"); registerVersion(VersionEnum.r1_20tor1_20_1, 15, "1.20.1"); // 1.20 and 1.20.1 are the same, why care... registerVersion(VersionEnum.r1_19_4, 13, "1.19.4");