gophertunnel icon indicating copy to clipboard operation
gophertunnel copied to clipboard

Inability to write NBT in the right order when using map

Open Dasciam opened this issue 9 months ago • 1 comments

I encountered a problem that I really need to write the data in the order in which they were decoded, and I would not like to create additional structures, because there are a lot of them will turn out due to a huge number of different types.

The idea is to add the ability to write NBT data in the prescribed order, in my case, the map elements must be sorted in alphabetical order

Dasciam avatar Mar 08 '25 08:03 Dasciam

On Discord we discussed some things, and (most likely) came to the conclusion that it is worth doing something like NBTMarshaler, which will allow reading-writing NBT manually

Dasciam avatar Mar 12 '25 14:03 Dasciam