Repository navigation
Fix 26.3 block-state provider backporting to 26.2 - #1357
Closed
lukasbeppi wants to merge 1 commit into
Closed
lukasbeppi wants to merge 1 commit into
lukasbeppi wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Minecraft 26.2 clients can fail during registry loading with
Unknown registry key ... minecraft:worldgen/block_state_provider_type: minecraft:simplewhen Frost Walker contains a 26.3 block-state provider. This was observed with ViaFabricPlus 5.0.2 and its bundled ViaBackwards 5.12.0; the provider conversion is still unchanged on current master. The enchantment condition fixes from #1346 do not cover this case.Minimal failing provider:
This restores all eight renamed vanilla provider identifiers and their pre-26.3 block-state representation, including weighted/noise state lists and nested providers. The superclass runs before the conversion so its block mappings still see the 26.3 fields. Already converted states retain their
Nameand properties, and unrelated provider namespaces remain unchanged. Existing enchantment condition handling is preserved.Validation:
./gradlew build). The repository currently has no test sources; the codec/regression checks above were run separately.An actual in-game join with the modified build has not yet been confirmed. This contribution was prepared with AI assistance and checked locally.