Can the locate command be used to find an entity?
Mia Lopez
I was wondering if anyone knew how/if the /locate command could be used to find a lost animal with a name. ( Please see my other question for a explanation, if you need one).
1 Answer
The locate command is for structures, not animals.
The /locate command was added in Minecraft 1.11 to allow players to locate structures- such as woodland mansions and villages.
If you would like to locate your lost pet, you would have to teleport it to you. Use this command:
/tp @e[name=INSERT] @pReplace INSERT with the name of your pet. Type it exactly as you created it, such as PenkatPet or Bob.