[Bug Report] Minecraft Bedrock crashes
Andrew-Sor opened this issue · comments
Bug Report
Minecraft Bedrock 1.21 crashes when loading a converted world from Minecraft Java 1.20.4.
Current Behaviour:
Not a working world from Minecraft Java 1.20.4 to Minecraft Bedrock 1.21
Expected behavior:
Working world from Minecraft Java 1.20.4 to Minecraft Bedrock 1.21
Steps To Reproduce:
- Go to "Amulet"
- Click on "Open world"
- Chose world from Minecraft Java 1.20.4
- Go to "Convert"
- Chose world from Minecraft Bedrock 1.21
- Click on "Convert"
- Open converted world
- Get crash
Environment:
- OS: Windows 11
- Minecraft Platform: Java and Bedrock
- Minecraft Version: 1.20.4 and 1.21
- Amulet Version: 0.10.29
Additional context
Could this have something to do with the mods and resource packs used in the Java version of Minecraft or the world settings of the Bedrock version? I use Forge, Optifine and shaders with a texture pack. In the Bedrock version world, I enabled beta features and Education Edition.
Attachments
Screenshots
Worlds
Java: https://drive.google.com/file/d/1dk6Xj7wmoEFnOzrKWF5PizngH4Vy2vIL/view?usp=sharing
Bedrock: heU5Zl+jAAA=.zip
Looks like a corrupted lectern block entity.
The crash is coming from "hasBook" being set to 1 but there is no "book" tag.
I have added a bug report on the Bedrock bug tracker because the game should handle this gracefully.
https://bugs.mojang.com/browse/MCPE-183007
I will also look into fixing this in our codebase so it doesn't generate an invalid block entity.
Okay, thank you!