SpongePowered / nbt

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 data.
https://flow.github.io/nbt
MIT License
51 stars 33 forks source link

Added little-endian NBT support for reading Pocket Edition files #1

Closed zhuowei closed 12 years ago

zhuowei commented 12 years ago

I've added little-endian NBT support for Pocket Edition's modified NBT format. The output when run on a test level.dat matches OpenNBT's output and when written back, has the same MD5 value.

This fixes SPOUTAPI-22 .

Salynne commented 12 years ago

Can you increment the version in the POM for me as well? We are versioning the NBT for obvious reasons.

zhuowei commented 12 years ago

Done.