mojira.dev
MC-122974

Can't tp to type and named entity

Trying again since some mod decided it was an invalid issue without giving any other reason and then deleting the issue.... was once here

/tp @e[type=Villager,name=Bob]
does not work

FYI /tp is an alias to /teleport which I also tried. Saw a couple of comments on this
Both cmds give me an error where # is the char index value

Incorrect argument for command at position #: @e type <--[HERE]

Now I am fairly certain the format has changed <- if that's the case then please don't mark this as invalid rather be informative of the correct usage and then close, or work on the cmd helper suit being a bit more assistant here because it isn't as intuitive as lead to be.

Attachments

Comments 5

The error message clearly indicates you typed a space instead of a "[".

there is no space attaching image.

[media]

[media]

This is not resolved, please revert back to open

Entity names are required to be lowercase and you can only teleport to one entity so the correct command would be

/tp @e[type=villager,name=Bob,limit=1,sort=nearest]

Thanks! That did it!!

Ashley

(Unassigned)

Unconfirmed

Minecraft 17w49a

Retrieved