Skip to content

Fix legacy blocks resolving to air in Bedrock worlds#2440

Open
LVCHLANN wants to merge 1 commit into
HiveGamesOSS:mainfrom
LVCHLANN:patch-1
Open

Fix legacy blocks resolving to air in Bedrock worlds#2440
LVCHLANN wants to merge 1 commit into
HiveGamesOSS:mainfrom
LVCHLANN:patch-1

Conversation

@LVCHLANN

Copy link
Copy Markdown

This fixes an issue with legacy chunks not being fully upgraded, I had just upgraded a world from an old version (within Minecraft, not chunker) which still had legacy numeric id's, Which when converted to java in my case left air instead of the relevant blocks, this simply adds a check for legacy blocks, and when detected, falls back to the legacy resolver used for worlds before 1.13

It does this by looking for val tags which only existed in legacy versions of the game (Legacy Console Edition, all pre 1.13 versions e.t.c.) and then defaults them to the legacy resolver

AI Disclaimer: This code was partially written by an LLM (Claude Code) but I have tested it in a real world scenario and looked over it and I personally find it to be of a good enough standard

Worlds with blocks not converted by the 1.13 major update still have some old numeric id's, even when the world itself itself is a modern version
@LVCHLANN
LVCHLANN requested a review from a team as a code owner July 24, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant