Skip to content

About

Python tool for moving worlds between Minecraft Java and Blockman GO.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

bg-convert

Convert between Minecraft Java worlds and Blockman GO maps.

The tool reads a Minecraft world, maps the blocks to the legacy IDs Blockman GO uses, writes BG region files, and builds the folder, checksum file, and zip that the game loads. It also reads a BG map and writes a Minecraft Java 26.3 world.

Target versions from 1.8.8 to 26.3 work through Chunker. The map package layout is in docs/map-layout.md and the version notes are in docs/version-support.md.

The full command list is in docs/commands.md. The module layout is in docs/architecture.md.

What works

  • .mcr and .mca worlds
  • Beta, 1.2 to 1.12, 1.13 to 1.17, and 1.18 and newer chunk layouts
  • horizontal and vertical region shifts
  • BG package creation, checksums, and zip output
  • BG to Minecraft 26.3
  • BG to Minecraft 1.8.8 through 26.2 with Chunker
  • adb install into an editor slot

What does not work

  • entities, chest contents, signs, and other block entities
  • modded blocks
  • Minecraft targets below 1.8.8
  • automatic tests against every Minecraft release

Install

python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e .

The converter has no runtime dependencies.

Use

Check the source world first.

bgconvert inspect "C:\path\to\world"

Convert the overworld regions. By default the build is shifted so the world spawn lands near the BG template spawn at 579, 466. Use --shift-x and --shift-z when you want to place it yourself.

bgconvert convert "C:\path\to\world" out\regions

Build the map package and the zip.

bgconvert package out\regions out\my-map --init 579 8 466

Turn a BG map zip into a 26.3 world.

bgconvert to-mc out\my-map.zip -o out\my-world --gamemode creative

For other Minecraft targets, install Chunker once. It needs Java 17 or newer.

bgconvert chunker install
bgconvert to-mc out\my-map.zip -o out\my-world --mc-version 1.20.1

Run bgconvert chunker status if you want to see which jar and Java the tool will use. You can also pass --chunker-jar and --java to to-mc. Other problems are covered in docs/troubleshooting.md.

Install a BG package on a device that already has adb access.

bgconvert install out\my-map --zip out\my-map.zip --slot offi-edit-102 --id YOUR_MAP_ID

The map id is the 32 character folder name in the game's map slot. Read it from the game log before you install. The game deletes and re-downloads a slot when the folder, checksum file, and zip do not match.

Development

pip install -e ".[dev]"
python -m pytest
ruff check .

See CONTRIBUTING.md before opening a pull request. The same checks run in GitHub Actions on Linux and Windows.

About

Python tool for moving worlds between Minecraft Java and Blockman GO.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages