Skip to content
forked from AnTi3z/nbt2MVI

Convert minecraft player.dat(nbt) inventory and stats to Multiverse-Inventories json format

Notifications You must be signed in to change notification settings

pituluk/nbt2MVI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 

Repository files navigation

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

About

Convert minecraft player.dat(nbt) inventory and stats to Multiverse-Inventories json format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%