Skip to content

Fix world migration checks in Base Metals 1.20.1 - #515

Merged
SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-1.20.1from
SkyBlade1978:master-1.20.1
Oct 25, 2026
Merged

SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-1.20.1from
SkyBlade1978:master-1.20.1

Conversation

@SkyBlade1978

Copy link
Copy Markdown
Contributor

Base Metals could try to pre-flatten a world that was already using modern block IDs. This patch only starts that conversion when an old source save or the world's migration record confirms it is needed.

It also stops an old level.dat_old from replacing the current player or turning on legacy terrain protection. Chunk reading uses Minecraft's supported formats, and conversion backups include external chunk files.

Genuine upgrades keep their saved registry maps and support reloads and chunks opened later, including nested custom dimensions. Registry IDs, recipes and ore settings are unchanged.

This is 3.1.1.120011 for Minecraft 1.20.1.

The regression tests failed before the fix and pass afterwards. Checks cover Cyano 1.10, MMD 1.10 and 1.12 saves, modern-world controls, stale backups, mixed regions and later-opened chunks. The local build, GameTests, Javadocs, release-JAR audit and Eclipse isolation checks pass.

Release 3.1.1.120011 with safer old-world detection, current-player preservation and native chunk reading.
@SkyBlade1978
SkyBlade1978 merged commit 36db6af into MinecraftModDevelopmentMods:master-1.20.1 Oct 25, 2026
5 checks passed
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