pub fn normalize_nbt_compound(compound: NbtCompound) -> Option<NbtCompound>Expand description
Converts an NBT compound to Vanilla’s map representation.
Vanilla rejects malformed modified UTF-8 and keeps the final occurrence of
a duplicate compound key. simdnbt preserves raw strings and duplicates,
so codecs crossing a trust boundary normalize them explicitly.