fNbt icon indicating copy to clipboard operation
fNbt copied to clipboard

MCPE changed the NBT format

Open NiclasOlofsson opened this issue 7 years ago • 1 comments

MiNET rely heavily on fnbt for all things NBT. Mostly because of its exceptional speed. Now, with the release of Minecraft Pocket Edition 0.16, Mojang changed the encoding of int to use google protobuf varint instead. Can you consider adding these changes to fnbt as an option.

If for instance would make the creation of NbtBinaryWriter (and reader) through a callback (factory) method, I could implement my own stuff without having to bother you with the details of the specific changes.

NiclasOlofsson avatar Sep 23 '16 16:09 NiclasOlofsson

Thanks for letting me know. I will add an option in the next release.

mstefarov avatar Sep 23 '16 16:09 mstefarov