-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make NbtTags mutable #15
Comments
I was actually planning to add mutable versions when I originally started designing the API. I decided against it and probably won't because I'm trying to closely mirror kotlinx.serialization's API. JsonElement, for example If they ever do add mutable versions (and it might be worth opening an issue/discussion about it) then 100% I'll add those right in! |
What's your use case for them? I can think of a few possible alternatives, depending on what you're trying to do. |
My use case is using NBT data similar to how Minecraft uses NBT data. Notably, |
Also, yes, |
It would be extremely useful to have data structure-based tags (such as
NbtCompound
) be mutable.The text was updated successfully, but these errors were encountered: