TransWikia.com

Teleporting type command doesn't work with @e

Arqade Asked by 221blazed on May 3, 2021

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.

3 Answers

If you tried everything and it still doesn't work, you can also make every single entity you specify use a command to teleport to you:

execute as @e[type=anything] run tp @p

execute as @e[type=anything] makes it so that ALL entities that match the criteria will run tp @p, A.K.A. to you.

Hope this helps.

Answered by ahmettrPro on May 3, 2021

Teleporting only works if you are an admin, so go to the pause menu and see if there is a crown next to your name. If it is anything else than a crown, you don't have permission to teleport. Also. cheats need to be on to teleport. Also the correct command is /tp [gamertag]. But make sure you don't use the straight parentheses. Also, instead of typing, open the chat menu and press the / on the left side of the chat bar that shows your unsent message. Then press teleport and the player's name. If the slash does not appear, cheats are disabled. So make sure you have admin permissions and cheats are activated.

Answered by flowinglinc101 on May 3, 2021

You are using the ! which means not. You are selecting everything that is not a cow. Get rid of the ! and it should work.

Answered by Penguin on May 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP