Skip to content
/craftcmd

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 2026

Teleports 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
40 characters

How to use

  1. Open chat (T on Java, / on Bedrock) and paste the command.
  2. Change 'cow' to the entity type you want (zombie, horse, etc.).
  3. Press Enter — the nearest matching mob appears at your feet.

Related commands

Instantly move to a specific X Y Z location

/tp @s 100 64 -200

Instantly move to where another player is standing

/tp @s PlayerName

Pull every player in the world to your location instantly

/tp @a @s

Jump straight up 10 blocks without flying

/tp @s ~ ~10 ~
Teleport Up (Relative)
Teleport Up (Relative) Awaiting in-game verification
Both

Move straight up without changing X/Z position

/teleport ~ ~10 ~
Teleport in Facing Direction
Teleport in Facing Direction Awaiting in-game verification
Java

Move forward in the direction you're looking

/teleport ~ ~ ~ rotated as @s