Captain-Chaos / WorldPainter

WorldPainter is an interactive graphical map generator for the indie game Minecraft.
http://www.worldpainter.net/
GNU General Public License v3.0
355 stars 58 forks source link

Migrate skull blocks automatically #420

Open HydrolienF opened 3 weeks ago

HydrolienF commented 3 weeks ago

I'm generating a world with worldpainter in 1.19+ mod. When the server generate some chunk it print errors:

[12:42:39 ERROR]: Recoverable errors when loading section [2944, 7, 1557]: (Unknown registry key in ResourceKey[minecraft:root / minecraft:block]: legacy:block_144 -> using default); (Unknown registry key in ResourceKey[minecraft:root / minecraft:block]: legacy:block_144 -> using default)

I guess that it happens because some block id have been changed in 1.21. It will be alsome if we can get an update for 1.21 😁

HydrolienF commented 3 weeks ago

@JONTY650413 what's that ?

vocaloidkiss commented 3 weeks ago

It's a virus! I have already reported him:)

Captain-Chaos commented 2 weeks ago

That error is caused by old (numerical ID based) skull blocks in custom objects being exported to a new (named resources based) Minecraft format. Those blocks are not compatible. I'll change this into a feature request to add support for automatically migrating those blocks. In the mean time you can work around it by using custom objects created in Minecraft 1.13 or later.

HydrolienF commented 2 weeks ago

Ok, thanks!