Skip to content

Conversation

@huanmeng-qwq
Copy link

for this PR, I've completed the content according to the TODO comments. However, since I directly implemented the codec for Component using Gson as the intermediary, we might not need TRANSLATION_ARGUMENT? I'm not sure—maybe this PR is just one possible implementation approach?

kennytv and others added 30 commits February 27, 2025 21:58
Co-authored-by: MiniDigger | Martin <[email protected]>
…timization

Use DecorationMap for style builder
feat(nbt): Add stream API for compound/list tags
Co-authored-by: Riley Park <[email protected]>
fix(minimessage): rename `numeric` to `string`
`mergeStyle` is called a lot, especially in TranslatableComponentRenderer, where there is no merging to be done. By skipping the creation of the builder if the merge is a no-op, we can save some allocations.
this will only break if someone has a minecraft key with a valid uuid value and they don't provide the namespace... but like, meh?
feature(minimessage): Set the target to hold the locale of the translation by default
…lder

feature(api): Skip style builder creation on merge
feat(nbt): update number parsing for 1.21.5
feat(nbt): Initial implementation of heterogeneous list handling
Seggan and others added 29 commits June 20, 2025 13:32
Add `equals` to `VirtualComponent`
feature(api): Add a method to close an open dialog
…tener-pop-styles

fix: component flattener not popping styles in correct order
These new modules are intended to allow better integration with the DFU library that drives a growing amount of serialization in modern Minecraft.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.