bedrocktool icon indicating copy to clipboard operation
bedrocktool copied to clipboard

Fatal Error: cannot register the same biome (...) twice

Open kkrkun opened this issue 3 months ago • 1 comments

Describe the bug When using the worlds command to download a world from a server, bedrocktool crashes with a fatal error: cannot register the same biome (...) twice. This issue has been observed on multiple servers with different biomes, suggesting a problem with how the tool handles biome registration.

  • On server playicebow.fsi.si:1041, the error was for minecraft:ocean.
  • On server kkrkun.aternos.me:27752, the error was for minecraft:cherry_grove.

To Reproduce Steps to reproduce the behavior:

  1. Run bedrocktool in the terminal.
  2. Input the worlds command.
  3. Enter a server address that triggers the bug (e.g., kkrkun.aternos.me:27752).
  4. Open Minecraft and connect to the bedrocktool proxy listed under the "Friends" tab (LAN Games).
  5. After the client connects, bedrocktool crashes and displays the fatal error in the terminal.

Expected behavior bedrocktool should handle the biome data without crashing and proceed to download the world successfully.

Error Logs

Log 1: Crash with minecraft:cherry_grove

time="2025-08-30T00:06:21+09:00" level=info msg="Client Connected" time="2025-08-30T00:06:21+09:00" level=debug msg="starting game" part=ResourcePacks Fatal Error occurred. --COPY FROM HERE-- Version: 1.49.0-1-g648fcfb Cmdline: [C:\Users\tknsk\Downloads\bedrock_tool\bedrocktool-windows-amd64-1.49.0-1-g648fcfb.exe worlds] Error: cannot register the same biome (minecraft:cherry_grove) twice stacktrace from panic: goroutine 100 [running]: runtime/debug.Stack() runtime/debug/stack.go:26 +0x5e github.com/bedrock-tool/bedrocktool/utils.PrintPanic({0x1a1bda0, 0xc002786010}) github.com/bedrock-tool/bedrocktool/utils/panic.go:15 +0x2f ... (stacktrace) ... --END COPY HERE-- time="2025-08-30T00:06:23+09:00" level=error msg="cannot register the same biome (minecraft:cherry_grove) twice" part=main

Log 2: Crash with minecraft:ocean

time="2025-08-29T23:56:44+09:00" level=info msg="Client Connected" time="2025-08-29T23:56:45+09:00" level=info msg="Using Custom Blocks" part=WorldsHandler skipped component item_tags [] Fatal Error occurred. --COPY FROM HERE-- Version: 1.49.0-1-g648fcfb Cmdline: [C:\Users\tknsk\Downloads\bedrock_tool\bedrocktool-windows-amd64-1.49.0-1-g648fcfb.exe worlds] Error: cannot register the same biome (minecraft:ocean) twice stacktrace from panic: goroutine 94 [running]: runtime/debug.Stack() runtime/debug/stack.go:26 +0x5e github.com/bedrock-tool/bedrocktool/utils.PrintPanic({0x1a1bda0, 0xc0001b0ed0}) github.com/bedrock-tool/bedrocktool/utils/panic.go:15 +0x2f ... (stacktrace) ... --END COPY HERE-- time="2025-08-29T23:56:45+09:00" level=error msg="cannot register the same biome (minecraft:ocean) twice" part=main

Desktop:

  • OS: Windows
  • Version: 1.49.0-1-g648fcfb
  • Minecraft Version: 1.21.101

Additional context This bug appears to be consistent across different servers if they have a world da

kkrkun avatar Aug 29 '25 15:08 kkrkun

ive got the same error

vOmarred11 avatar Aug 31 '25 14:08 vOmarred11