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.
-
python >= 3.9 (not tested with earlier versions).
-
nbt library installed at system or virtual environment.
pip install nbt
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.
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