From d4ff95534f2061de866e4c2bc6cd90726ea94463 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Tue, 14 Mar 2023 22:56:28 +0100 Subject: [PATCH] MC 1.19.4 --- .../java/fr/pandacube/lib/util/MinecraftVersion.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java b/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java index 1b5242b..0806519 100644 --- a/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java +++ b/pandalib-util/src/main/java/fr/pandacube/lib/util/MinecraftVersion.java @@ -100,7 +100,9 @@ public enum MinecraftVersion { /** Minecraft versions 1.19.1 and 1.19.2, protocol version 760. */ v1_19_1_to_1_19_2(760, "1.19.1", "1.19.2"), /** Minecraft versions 1.19.3, protocol version 761. */ - v1_19_3(761, "1.19.3"); + v1_19_3(761, "1.19.3"), + /** Minecraft versions 1.19.4, protocol version 762. */ + v1_19_4(762, "1.19.4"); // IMPORTANT: don't forget to update the versionMergeDisplay value when adding a new version; @@ -197,12 +199,18 @@ public enum MinecraftVersion { versionMergeDisplay.put(EnumSet.of(v1_18_to_1_18_1, v1_18_2), List.of("1.18.x")); - versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1_to_1_19_2, v1_19_3), + versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1_to_1_19_2, v1_19_3, v1_19_4), List.of("1.19.x")); + versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1_to_1_19_2, v1_19_3), + List.of("1.19-1.19.3")); + versionMergeDisplay.put(EnumSet.of(v1_19_1_to_1_19_2, v1_19_3, v1_19_4), + List.of("1.19.1-1.19.4")); versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1_to_1_19_2), List.of("1.19-1.19.2")); versionMergeDisplay.put(EnumSet.of(v1_19_1_to_1_19_2, v1_19_3), List.of("1.19.1-1.19.3")); + versionMergeDisplay.put(EnumSet.of(v1_19_3, v1_19_4), + List.of("1.19.3-1.19.4")); }