9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-19 14:59:21 +00:00

Update DataVersionSupplier.java (#609)

This commit is contained in:
AO
2025-11-13 00:54:03 +08:00
committed by GitHub
parent 23c3ee08e9
commit 51a700600a

View File

@@ -41,6 +41,8 @@ public interface DataVersionSupplier {
int VERSION1_21_6 = 4435; int VERSION1_21_6 = 4435;
int VERSION1_21_7 = 4438; int VERSION1_21_7 = 4438;
int VERSION1_21_8 = 4438; int VERSION1_21_8 = 4438;
int VERSION1_21_9 = 4554;
int VERSION1_21_10 = 4556;
/** /**
* Returns the data version for a Minecraft version * Returns the data version for a Minecraft version
@@ -65,7 +67,10 @@ public interface DataVersionSupplier {
case "1.21.5" -> VERSION1_21_5; case "1.21.5" -> VERSION1_21_5;
case "1.21.6" -> VERSION1_21_6; case "1.21.6" -> VERSION1_21_6;
case "1.21.7" -> VERSION1_21_7; case "1.21.7" -> VERSION1_21_7;
default -> VERSION1_21_8; // Latest supported version case "1.21.8" -> VERSION1_21_8;
case "1.21.9" -> VERSION1_21_9;
case "1.21.10" -> VERSION1_21_10;
default -> VERSION1_21_10; // Latest supported version
}; };
} }