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

Expose NbtTagType in the public API #40

Open
BenWoodworth opened this issue May 5, 2024 · 0 comments
Open

Expose NbtTagType in the public API #40

BenWoodworth opened this issue May 5, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@BenWoodworth
Copy link
Owner

This can be useful for more efficient switching in when statements (with enum whens compiling to branch tables on JVM), it can be useful for exposing the specific TAG_List element type (which could be TAG_End or something else for empty lists), and acts as a standard way to work with the tag types instead of library users having to create their own enum.

@BenWoodworth BenWoodworth added the enhancement New feature or request label May 5, 2024
@BenWoodworth BenWoodworth added this to the v0.12 milestone May 5, 2024
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