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

feat(api): item data components #1066

Merged
merged 6 commits into from
Apr 24, 2024
Merged

Conversation

zml2008
Copy link
Member

@zml2008 zml2008 commented Apr 20, 2024

This lets us properly represent item data components in hover events.

Things to do:

  • test coverage
  • implement converters for serializers
  • implement converts in platforms
  • handle components in configurate serializer
  • add concept of a customizable 'native' representation for gson, so platforms can avoid some type conversions this seems to cause about as many problems as it'd solve, current wip will be pushed in a separate PR in case it makes sense to pick up later
  • add jsonoption for whether to emit legacy nbt at all

these still need serializer integration in order to be useful

we should support working with both platform types and serializer types of data
what is the destiny of BinaryTagHolder?
this should be a system that can function, just needs polishing and testing
@zml2008 zml2008 self-assigned this Apr 24, 2024
@zml2008 zml2008 merged commit 1849c9b into feat/1.20.5 Apr 24, 2024
4 checks passed
@zml2008 zml2008 deleted the mc/1.20.5/data-components branch April 24, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant