-
Notifications
You must be signed in to change notification settings - Fork 276
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
Player command should accept a target selector #768
Comments
Problem is, target selector built-in argument (for autocomplete and things, which is probably what matters) doesn't allow using that argument for non-existent players (therefore breaking Target selectors could probably be added artificially, but as said, it would probably break autocomplete for those selectors. If you really need to use the You could probably put it in an app to make a custom command accepting selectors, though. |
Yeah, the reason is that fake players are not players, and you would always require just one to be provided. And also not in all circumstances |
There was a vanilla command that errored "more than one target provided", so there is no reason to deprive people of, for example, command books interacting with the closest bot. You can limit it to just |
Carpet Version 1.4.29
Fabric Version 0.32.0+1.16
Minecraft Version 1.16.5
Description: The player command won't accept a Minecraft target selector
Steps to reproduce: run
/player @p attack once
. you will get the errorExpected whitespace to end one argument, but found trailing data
The text was updated successfully, but these errors were encountered: