How can I teleport to an unnamed entity in Minecraft?
Christopher Harper
Published May 11, 2026
I am trying to find a blaze spawner in minecraft 1.12 using the /tp command, but I'm not sure if I have the correct syntax.
So far I have tried:
/tp <username> blaze
/tp <username> minecraft:blaze
/tp <username> entity:blazeBut every time it will return:
Entity '(the blaze part)' cannot be found
Is this because the chunks are not loaded or is it because I have the wrong syntax?
2 Answers
Just entering a name only works for players. For entities in general you need a target selector:
@ptargets the closest player.@rtargets a random player, or, if you specify a type, a random entity of that type.@atargets all players.@etargets all entities@stargets yourself.
If you want to go to the closest blaze, you can use:
/tp @s @e[type=blaze,sort=nearest,limit=1]@s as the first argument of the /tp command just selects you, because you execute the command, so you will be teleported. You could also use your username, if you want to.
@e as the second argument of the /tp command (the target to teleport to) would select all the entities that are currently loaded, so you would be teleported to all of them one after another very fast. But you can restrict the group of entites you select with selector arguments:
type=blaze restricts it to only blazes.
sort=nearest sorts the entity list by distance from you.
limit=1 restricts it to the first entity of the list, the one that is closest to you.
So in general, you select the closest blaze to you and teleport to it, like you wanted. If you want to teleport to a random blaze, you can leave out ,sort=nearest.
More about target selectors can be found here (archive).
1As an alternative to selectors, UUIDs can be entered too, working exactly as nicknames. The UUID must be a - separated string of hexadecimal (lowercase letters) UUID data.