nbt-studio
nbt-studio copied to clipboard
Binary string tag support for Bedrock Edition entity data
trafficstars
Starting from 1.18.30, Bedrock Edition uses a binary string tag to store entity storageKey data, which cannot be displayed correctly by this software and cannot be edited
A example data:



Attachment:
actorprefix780000000f000000c9.zip
Can Bedrock go 5 seconds without inventing the stupidest NBT spec breaks imaginable?
Anyway... my plan will probably be like this:
- add
\uXXXXunicode escapes to SNBT parser just like JSON - and add a thing to SnbtOptions that decides when to serialize them
- by default, only does for control characters
- in inline preview, replace specifically
\u0000with some placeholder char - for edit box, any ideas? It's supposed to be "raw" text so no escapes, but obviously we can't have null characters hanging around in there. Maybe the string editor can have a byte view tab?
Also, I will most likely not work on this any time soon :(