SharpNBT icon indicating copy to clipboard operation
SharpNBT copied to clipboard

Immutable types

Open ForeverZer0 opened this issue 2 years ago • 0 comments

Apply the immutability to many NBT types.

The following types should be completely immutable after initialization:

  • BoolTag ( #17 )
  • ByteTag
  • ShortTag
  • IntTag
  • LongTag
  • FloatTag
  • Doubletag
  • StringTag

The following types should be of a fixed size, but allow individual elements to be changed.

  • ByteArraytag
  • IntArrayTag
  • LongArraytag

The following will behave normally, allowing insertion/deletion

  • ListTag
  • CompoundTag

ForeverZer0 avatar Aug 26 '23 23:08 ForeverZer0