Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immutable types #18

Open
ForeverZer0 opened this issue Aug 26, 2023 · 0 comments
Open

Immutable types #18

ForeverZer0 opened this issue Aug 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ForeverZer0
Copy link
Owner

Apply the immutability to many NBT types.

The following types should be completely immutable after initialization:

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 ForeverZer0 added the enhancement New feature or request label Aug 26, 2023
@ForeverZer0 ForeverZer0 added this to the 2.0 milestone Aug 26, 2023
@ForeverZer0 ForeverZer0 self-assigned this Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant