
/spectate
Makes a spectator view the game through another entity. Its basic form is /spectate; it has 3 syntax forms and 2 arguments. Permission: Cheats / op 2.
/spectate syntax
Game dataEvery form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.
/spectate/spectate <target>/spectate <target> <player>/spectate examples
Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.
/spectate @p- In Spectator mode, puts your camera inside the nearest player so you see what they see.
/spectate arguments
What each argument expects, with the limits the game enforces.
| Argument | Expects | Limits |
|---|---|---|
<target> | Target selector or player name (@s, @p, @a, @e, @r) | one target |
<player> | Target selector or player name (@s, @p, @a, @e, @r) | players only · one target |
Other commands
Data: Minecraft Java Edition 26.3 game files. How we source this
Makes a spectator view the game through another entity. It has 3 syntax forms and can be run by: Cheats / op 2.
See Also
Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.
/spectate FAQ (Java 26.3)
What does /spectate do in Minecraft?
Makes a spectator view the game through another entity.
What is the syntax of /spectate?
The basic form is /spectate. All forms are listed above.
What is an example of /spectate?
/spectate @p — In Spectator mode, puts your camera inside the nearest player so you see what they see.
Do you need cheats for /spectate?
Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).