nbt icon indicating copy to clipboard operation
nbt copied to clipboard

Named Binary Tag (NBT) library for Java based on Graham Edgecombe's JNBT library. NBT is a tag based binary format designed to carry large amounts of binary data with smaller amounts of additional dat...

Results 9 nbt issues
Sort by recently updated
recently updated
newest added

Should we change package from flowpowered to spongepowered like in noise and math?

https://github.com/flow/nbt/blob/7a1b6d986e6fbd01862356d47827b8b357349a22/src/main/java/com/flowpowered/nbt/stream/EndianSwitchableInputStream.java#L100-L122 As you can see, readInt() and readLong() take care of the endian ness, but readFloat() and readDouble() also try to take care of flipping the bytes around! This causes...

Where is examples? Because that [link](https://github.com/flow/examples/tree/master/nbt) doesn't work

This tag was introduced with MC 1.12. This should address #9.

The `ListTag` class has an attribute: private final Class type; This is fine and helpful, but most of the time I'm more interested in the `TagType` of the children. I...

Tried using this to parse region files and I'm getting an error right away. `new NBTInputStream(file, false).readTag()` causes an IOException with the message "TAG_End found without a TAG_Compound/TAG_List tag preceding...

Fix ByteArrayTag.toString() and ShortArrayTag.toString() having extra digits for negative numbers or having too few leading zeros for small positive numbers Fix ShortArrayTag.clone() returning the original array instead of the clone

`EndianSwitchableOutputStream.java` internally uses DataOutputStream as its stream and when a DataOutputStream instance wraps an underlying ByteArrayOutputStream instance, it is recommended to flush or close the DataOutputStream before invoking the underlying...