9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

feat: add 1.21.5 support

This commit is contained in:
lojosho
2025-04-14 16:46:25 -05:00
parent d21ebed81d
commit c2c22dcbf8
8 changed files with 448 additions and 3 deletions

View File

@@ -8,7 +8,9 @@ public enum MinecraftVersion {
v1_20_6,
v1_21_1,
v1_21_3,
v1_21_4;
v1_21_4,
v1_21_5,
;
public boolean isHigher(MinecraftVersion other) {
return this.ordinal() > other.ordinal();

View File

@@ -18,6 +18,7 @@ public class NMSHandlers {
// 1.20.2 is not supported; was imminently bumped to 1.21.3
put(MinecraftVersion.v1_21_3, "v1_21_R2");
put(MinecraftVersion.v1_21_4, "v1_21_R3");
put(MinecraftVersion.v1_21_5, "v1_21_R4");
}};
private static NMSHandler handler;