Teleport a Mob to You
Pull the nearest mob of a specific type to your location
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Teleports the nearest cow to your position. Replace 'cow' with any entity type ID — zombie, villager, horse, etc. The limit=1 ensures only one is teleported; sort=nearest picks the closest one. Both editions support identical selector syntax.
/tp @e[type=cow,limit=1,sort=nearest] @s- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock) and paste the command.
- Change 'cow' to the entity type you want (zombie, horse, etc.).
- Press Enter — the nearest matching mob appears at your feet.
Related commands
Teleport to Coordinates
Instantly move to a specific X Y Z location
Teleport to Another Player
Instantly move to where another player is standing
Teleport All Players to You
Pull every player in the world to your location instantly
Teleport Up 10 Blocks
Jump straight up 10 blocks without flying
Teleport Up (Relative)
Move straight up without changing X/Z position
Teleport in Facing Direction
Move forward in the direction you're looking