MC 1.19.4

This commit is contained in:
Marc Baloup 2023-03-14 22:56:28 +01:00
parent fd828d600e
commit d4ff95534f

View File

@ -100,7 +100,9 @@ public enum MinecraftVersion {
/** Minecraft versions 1.19.1 and 1.19.2, protocol version 760. */ /** 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"), v1_19_1_to_1_19_2(760, "1.19.1", "1.19.2"),
/** Minecraft versions 1.19.3, protocol version 761. */ /** 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; // 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), versionMergeDisplay.put(EnumSet.of(v1_18_to_1_18_1, v1_18_2),
List.of("1.18.x")); 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")); 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), versionMergeDisplay.put(EnumSet.of(v1_19, v1_19_1_to_1_19_2),
List.of("1.19-1.19.2")); List.of("1.19-1.19.2"));
versionMergeDisplay.put(EnumSet.of(v1_19_1_to_1_19_2, v1_19_3), versionMergeDisplay.put(EnumSet.of(v1_19_1_to_1_19_2, v1_19_3),
List.of("1.19.1-1.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"));
} }