Whenever I type /tp @e[type=anything] @p
it teleport all entities nearby and all my named entities, even though I've specified to teleport all cows, or minecart with chests, or whatever I put under type. Is there any way to fix this or use a different command?
Edit:
I was using the auto fill options and I used the command that I wrote specifically i.e. /tp @e[type=!minecraft:cow] @p
, but it does it for anything I try. I am using vanilla 1.14.4
.
/tp @e[type=cow] @s
works for me, in Java 1.14.4. Could you copy paste some of the commands you tried and edit them into your question? Until then, a couple things: make sure that whatever ID you use in thetype=
selector is correct, and if possible, use tab to autofill. Also, maybe use@s
just for clarity if you are the entity running the command? Otherwise, I'm not really sure what's wrong, but we can help you better if you include the commands you've tried.