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

✨ Add exclude option to id mcdoc attribute #1615

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

misode
Copy link
Member

@misode misode commented Oct 10, 2024

Allows specifying a list of values that are not allowed in the id attribute, for example:

#[id(registry="item",exclude="air")] string

image

Implementation note:
I wasn't sure whether to put this in ResourceLocationOptions or not, so I decided to keep it exclusive to the id attribute handler for now. I'd be happy to move it though.

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.

1 participant