mojira.dev
MC-190798

Entity specification not working with / teleport or /tp

Hi, I am looking for help or to report a bug. I'm not sure which. From my understanding if I have a wolf named Fred and want to teleport my player character or the nearest player to that named wolf entity. All I would need to do is type /tp @p @e[type=!minecraft:wolf,name=Fred] or /teleport @p @e[type=!minecraft:wolf,name=Fred]. For whatever reason the @e is not able to be detected. The error is attached in a screenshot and is the same if I use my username instead of @p. I have re-installed both Java and Minecraft. Still the @e tag will not be detected. Any comments or help would be useful thanks. This happens in both 1.16 release candidate 1 and 1.15.1

Attachments

Comments 2

The error message is pretty unhelpful (tracked elsewhere). It's supposed to tell you that the second selector needs to be exactly one entity.

/tp @p @e[name=fred,limit=1]

That worked, thank you so much I probably never would have guessed that. Thank you much appreciated.

Patrick Richards

(Unassigned)

Unconfirmed

(Unassigned)

1.15.2, 1.16 Release Candidate 1

Retrieved