Minecraft – Lost the way in Minecraft – How to teleport to a certain un-named entity

minecraft-commandsminecraft-java-edition

I am wondering how to teleport back to a pack of wolves I left sitting near my house that I now cannot locate. I want to get back to my house and keep building it.

Is there any way to teleport to the wolves, even if I didn't name them? I also left a horse outside that is tamed.. how do I teleport to that horse?

Is it possible to teleport to a certain object, such as a gate, or a block?

I'm stumped and I've searched the entire internet…

I have a command block if that helps. I don't know the coords for my old place though.

Best Answer

If one of your pets is loaded, you should be able to teleport to it, although it's going to take some setup first. You'll also need access to commands (obviously) beyond /tp.

First thing to do is give all your tamed animals a score on the scoreboard. Set up the scoreboard with /scoreboard objectives add tamed dummy.

Next, you need to set the score for each of your tamed animals. In order to do this in 1.8, you're going to need to know your personal UUID. You can find out what that is here. In 1.8 and later use /scoreboard players set @e tamed 1 {OwnerUUID:"<your UUID>"} (omit < and >). Prior to 1.8, you would use the datatag {Owner:"<your username>"}.

Then it's a simple matter of teleporting yourself to one of your animals: /tp @p @e[score_tamed_min=1,c=1] (the c=1 is there to select only one tamed animal, otherwise the command will fail).


As I said in the beginning, your animals need to be loaded for this to work. If they are present in one of your spawn chunks, my belief is that they should be loaded.