Add missing step in V3818

This commit is contained in:
Nassim Jahnke 2024-05-04 22:49:48 +02:00
parent 4473bf06e0
commit 7b2ce17e23

View file

@ -22650,7 +22650,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ });
+
+ // Step 3
+ MCTypeRegistry.DATA_COMPONENTS.addStructureWalker(VERSION, new DataWalker<>() {
+ MCTypeRegistry.DATA_COMPONENTS.addStructureWalker(VERSION, 3, new DataWalker<>() {
+ private static void walkBlockPredicates(final MapType<String> root, final long fromVersion, final long toVersion) {
+ if (root.hasKey("blocks", ObjectType.STRING)) {
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, root, "blocks", fromVersion, toVersion);