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

feat: target Minecraft 1.21.4, replacing 1.21.3

This commit is contained in:
William
2024-12-07 20:43:11 +00:00
parent 7967d00208
commit cedd12a048
10 changed files with 52 additions and 47 deletions

View File

@@ -94,7 +94,8 @@ public class FabricHuskSync implements DedicatedServerModInitializer, HuskSync,
private static final int VERSION1_20_4 = 3700;
private static final int VERSION1_20_5 = 3837;
private static final int VERSION1_21_1 = 3955;
private static final int VERSION1_21_3 = 4082; // Current
private static final int VERSION1_21_3 = 4082;
private static final int VERSION1_21_4 = 4189; // Current
private final TreeMap<Identifier, Serializer<? extends Data>> serializers = Maps.newTreeMap(
SerializerRegistry.DEPENDENCY_ORDER_COMPARATOR
@@ -373,7 +374,8 @@ public class FabricHuskSync implements DedicatedServerModInitializer, HuskSync,
case "1.20.5", "1.20.6" -> VERSION1_20_5;
case "1.21", "1.21.1" -> VERSION1_21_1;
case "1.21.2", "1.21.3" -> VERSION1_21_3;
default -> VERSION1_21_3; // Current supported ver
case "1.21.4" -> VERSION1_21_4;
default -> VERSION1_21_4; // Current supported ver
};
}