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 ability to programmatically create selectors #2194

Merged
merged 4 commits into from
Jul 31, 2020
Merged

Conversation

dualspiral
Copy link
Contributor

This isn't for creating new selector types (i.e. @a alternatives), this is simply for if you want a selector outside of commands. I chose to ditch the ArgumentTypes system because really that seemed to be a reimplementation of selectors and I'd prefer to sit on top of what Vanilla has.

I did actually start trying to redo the ArgumentTypes system, but it was a rabbit hole. I'm open to doing so in the future, but for now, this should cover most (if not all) of the current options.

Also added Range utility. Might be useful in advancements because of the MinMaxBounds in the advancement package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: 8 (u) version: 1.16 (unsupported since Oct 17th 2023) system: command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants