[MC-1577] command block extra data for specifick playes doesn't work Created: 01/Nov/12  Updated: 03/May/15  Resolved: 01/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Maarten Thijs Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: block, command
Environment:

windows 7 java version 7


Confirmation Status: Unconfirmed

 Description   

this command works: tp @p[x=15,y=64,z=13,r=3] 15 64 17
this command also works: tp Maarten359 15 64 17
but this command doesn't work!:tp Maarten359[x=15,y=64,z=13,r=3] 15 64 17
I tried variations like:tp Maarten359 [x=15,y=64,z=13,r=3] 15 64 17 and: tp @Maarten359[x=15,y=64,z=13,r=3] 15 64 17.
but it still doesn't work.

what I expected to happen was: this command would work:tp Maarten359[x=15,y=64,z=13,r=3] 15 64 17

what actually happened: nothing



 Comments   
Comment by Thomas Hope [ 03/Nov/12 ]

I found the same problem and assumed it was a bug, the idea that this is the way its meant to be doesn't make sense to me.
Including this feature would be extremely useful, consistent and logical. It would make vanilla admins much happier!

Comment by Maarten Thijs [ 01/Nov/12 ]

ah, ok thanks. is that ever going to be added? because it would be great for banking systems

Comment by [Mojang] Nathan Adams [ 01/Nov/12 ]

Player selectors (@, then type) are a special syntax. It's not "anything and then [] on the end". It's @a or @p or @r and then [] on the end for extra options.

You cannot specify specific players, and you cannot use player selector arguments with anything other than player selectors.

Generated at Sun Jan 12 11:54:55 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.