Skip to content

Fix world migration checks in Base Metals 1.18.2 - #513

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

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

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 now uses Minecraft's supported formats, and conversion backups include external chunk files.

Genuine upgrades still 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.118021 for Minecraft 1.18.2.

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

Release 3.1.1.118021 with safer old-world detection, current-player preservation and native chunk reading.
@SkyBlade1978
SkyBlade1978 merged commit 5261c13 into MinecraftModDevelopmentMods:master-1.18 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