An open API service indexing awesome lists of open source software.

https://github.com/valence-rs/valence_nbt

Valence's NBT library, extracted from https://github.com/valence-rs/valence/pull/599
https://github.com/valence-rs/valence_nbt

Last synced: 2 months ago
JSON representation

Valence's NBT library, extracted from https://github.com/valence-rs/valence/pull/599

Awesome Lists containing this project

README

        

# valence_nbt

A library for encoding and decoding Minecraft's [Named Binary Tag] (NBT)
format.

[Named Binary Tag]: https://minecraft.wiki/w/NBT_format

# Features

- `binary`: Serialize and deserialize in Java edition's binary format.
- `snbt`: Serialize and deserialize in "stringified" format.
- `preserve_order`: Preserve the order of fields in `Compound`s during insertion and deletion. The iterators on `Compound` then implement `DoubleEndedIterator`.
- `serde`: Adds support for [`serde`](https://docs.rs/serde/latest/serde/)
- `java_string`: Adds support for Java-compatible strings via the `java_string` crate.