Skip to main content

Lightweight Little-Endian NBT -> JSON CLI utility for Minecraft Bedrock level.dat files

Project description

ParseDAT Bedrock

A command line utility that reads a Minecraft Bedrock level.dat file (Little-Endian NBT) and outputs the data as JSON.

Usage

parsedat-bedrock /path/to/level.dat --out world.json --pretty
parsedat-bedrock /path/to/level.dat --stdout
parsedat-bedrock /path/to/level.dat --preserve-types --pretty

Features

  • Automatically detect compression algorithm: gzip, zlib, or uncompressed
  • Parse NBT tags (0..12): End, Byte, Short, Int, Long, Float, Double, Byte_Array, String, List, Compound, Int_Array, Long_Array
  • Emits clean JSON values (default)
  • Emits typed JSON if --preserve-types flag is used
  • Validates tag 0 termination (where applicable)
  • No external dependencies

Notes

This script assumes the input file is Bedrock-style NBTLE, opposed to Java’s Big-Endian NBT.

Author

DJ Stomp

License

MIT License. See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parsedat_bedrock-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parsedat_bedrock-1.0.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file parsedat_bedrock-1.0.0.tar.gz.

File metadata

  • Download URL: parsedat_bedrock-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.2.1-PRoot-Distro

File hashes

Hashes for parsedat_bedrock-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d0faf52b452aee28f73a5d343e7aa9d885ef1033e381413b23299434d1a7d21d
MD5 279064f5d7a155196feed0bdb7472590
BLAKE2b-256 b56c5e9fcf653f409b32116352456502e6a0353827ca1b3dff11be0d8c7c446e

See more details on using hashes here.

File details

Details for the file parsedat_bedrock-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: parsedat_bedrock-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.2.1-PRoot-Distro

File hashes

Hashes for parsedat_bedrock-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74aaa7c93e54832ec2afb0d97d691b5297a25c5d4874b53c616f70122b450047
MD5 7cab237b079c0ceeec271a77582e786f
BLAKE2b-256 434e52cdb40f8a67dd48cb5dfd8470c4a392ef44d20aa520bc3fac90723a4471

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page