Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.2 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.2 KB

Minecraft player.dat converter

This is a basic converter to turn vanilla minecraft player.dat files into Multiverse-Inventories .json files. Almost complete implementation of the original Bukkit serialization algorithms.

Requirements:

  1. python >= 3.9 (not tested with earlier versions).

  2. nbt library installed at system or virtual environment.

pip install nbt

Usage:

python ./convert.py <player.dat> [MVWorld]

player.dat - Filename of saved minecraft player state in nbt format to be converted.
MVWorld - Multiverse world(overworld) name. 'world' by deafult

File with lastKnown playername and .json extension will be created in the same directory.

Known issues:

See TODOs in convert.py

Still need some tests:

  • Knowledge book (Creative mode only)

And implementation of some very specific futures:

  • Skull owner profiles
  • Written book pages json normlization
  • BlockStateTag
  • Custom tag