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

NBT API/DSL #6

Open
SilverAndro opened this issue Jun 9, 2022 · 1 comment · May be fixed by #21
Open

NBT API/DSL #6

SilverAndro opened this issue Jun 9, 2022 · 1 comment · May be fixed by #21
Labels
enhancement New feature or request

Comments

@SilverAndro
Copy link
Contributor

Intro:

The NBT format is the most commonly used format for data saving and transfer in Minecraft, but current internal APIs mostly work on single access and conversion per tag, which can cause strange issues when a wrapper tag is expected that doesn't exist, a tag is missing, ect. An NBT API/DSL may be capable of mitigating certain issues with this system such as potentially providing:

  • Easier/safer data (de)serialization
  • Lens-esc data access for deeply nested data without requiring many lookups
  • A custom typesafe data access structure (generation?)

Existing work:

@Oliver-makes-code Oliver-makes-code added the enhancement New feature or request label Jun 9, 2022
@pluiedev pluiedev linked a pull request Jun 15, 2022 that will close this issue
6 tasks
@Kroppeb
Copy link

Kroppeb commented Jun 16, 2022

This is my old code to allow the use of kotlinx serializers to be used to serialize to and deserialize from nbt

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

Successfully merging a pull request may close this issue.

3 participants