-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
VarArgs Support #308
Labels
Comments
I think this feature can be implement by creating a new argument type like |
The single So, using the |
Rollczi
added a commit
that referenced
this issue
Dec 29, 2023
* Add array arguments, better performance for command analyze and execution. * Fix quote resolver. Spilt array tests. * Support java 8 * Add type domain, TypeToken, TypeIndex, TypeRange. Add Collector arguments for List, Set, Vector, Stack, TreeSet etc. * Add IterableSuperClassResolver and ReflectIndex. Refactor ParserSet. * Fix interface types resolving. * Remove unused imports. * Specific unittest for jdk 21 * Remove unused code. * Add collection examples.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think a feature to support VarArgs for commands would be nice. This could be specified by using an array in the argument type.
An example would be with a gamerule command: /world setrules worldname rule1:true rule2:true rule3:true
Code:
Alternative code:
The text was updated successfully, but these errors were encountered: