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

RegistrySet API #10699

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

RegistrySet API #10699

wants to merge 1 commit into from

Conversation

Machine-Maker
Copy link
Member

This API is supposed to introduce an API equivalent to nms' HolderSet and HolderSet$Named.

RegistrySet is the base interface with subtypes in RegistryKeySet and RegistryValueSet. RegistryKeySet is equivalent to a HolderSet filled only with "reference" holders whereas a RegistryValueSet is filled with only "direct" holders. We can safely assume that a HolderSet will only contain 1 type of holder at a time because all the codecs that encode HolderSets require that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

None yet

1 participant