The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Commands/spectate

From Minecraft Wiki
Jump to: navigation, search
spectate
Restrictions

Operator

First introduced

Java Edition 1.15 (19w41a)

Information icon.svg
This feature is exclusive to Java Edition.

Causes a player in Spectator mode to spectate another entity.

Syntax[edit]

spectate [<target>] [<player>]

Arguments[edit]

<target>

The target to be spectated. Must be a single entity or player. If blank, makes the target stop spectating. Must be a player name, a target selector, or a UUID.
Permits entity other than players.

<player>

Must be a single player who is in spectator mode.
Entities other than players are not allowed.

Result[edit]

Fails if the arguments are not specified correctly, if <player> fails to resolve to one or more online players, or <player> isn't in spectator mode.

On success, causes a player to spectate another entity or stop spectating.

History[edit]

Java Edition
1.1519w41aAdded /spectate.