Expand description
A library for reading and writing various minecraft files from many different editions and versions of the game.
Modules§
- be
be
- Module for writing and reading
Minecraft: Bedrock Edition
files - je
je
- Module for writing and reading
Minecraft: Java Edition
files - nbt
nbt
- Module for serializing and deserializing NBT data
Macros§
- chunk_
id je-region
andje
- Gets the entry id in the header tables for the chunk at (x, z).
- location_
parts je-region
andje
- Breaks a location value into it’s offset and size byte
- normalize_
size je-region
andje
- Makes the
File
a multiple of 4KiB as per specification. - seek_
sector je-region
andje
- Moves the cursor of the file to a region sector
Structs§
Traits§
- Binary
File - Trait for any struct that can converted to and from a binary stream.
- Endianness
- Trait that allows a struct to be used as an endianness when working with binary
- Random
Access - Trait for structs that interact with random access files such as region files.