Add missing step in V3818

This commit is contained in:
Nassim Jahnke 2024-05-04 22:49:48 +02:00
parent 5632210f10
commit 6fcca46674
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -22650,7 +22650,7 @@ index 0000000000000000000000000000000000000000..29d256c2f5d5e338dc7abeb82c0f1ae9
+ });
+
+ // 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);