Java Edition only
Spectator mode is a game mode which allows the player to fly around and observe the world without interacting with it in any way. Spectator mode can be entered by using the command
/gamemode 3, or dying in Hardcore mode or using F3+N while in Creative mode.
Spectators are completely invisible, except to other players who are also in Spectator mode (see above).
Spectators can also use the "Highlight Players (Spectator)" control if changed from default (nothing). This will allow the spectator to see other players as if they have the Glowing effect, and if let go the effect will disappear. The color is still the same in the player's scoreboard if you do press the chosen key.
Spectators can move through blocks, entities, and other players. When their head is inside a block, they can see through all blocks.
Commands (including player selectors) can still target spectators.
Spectators are always flying. They cannot stop flying by landing, as the player will just go through the blocks. The mouse scroll wheel and the sprint key affect the flying speed, but the slowness and swiftness effects do not.
The maximum speed that can be achieved is 43.556 m/s or 87.111 m/s while sprinting.
If a player opens their inventory while in Spectator mode, they cannot interact with or use any of the items in it. Likewise, viewing GUIs is possible, but it is not possible to interact with them. If a container uses a loot table to generate its contents, but the loot has not yet been generated, a player in Spectator mode cannot open the container to view its contents. Items in the world also cannot be picked up.
If you click a number on your keyboard, you can teleport to a specific player on that server by pressing 1, or you can teleport to a team member by pressing 2.
Seeing invisible entities
Spectators can see other spectators and invisible mobs, as well as themselves using F5. Spectators appear as a translucent disembodied head, and any held or equipped items are invisible. Invisible mobs appear translucent, like when viewing an invisible ally with
/scoreboard teams option <team> seeFriendlyInvisibles set to true.
A spectator can left click on an entity, to take its view. Their position is locked to that of the entity, and their POV moves in accordance with the entity. Viewing oneself while spectating from an entity's point-of-view using F5 shows the entity. Pressing the dismount key (⇧ Shift by default) returns the player to flying mode. In addition to spectating mobs, players can also spectate any block that is an entity, such as an end crystal, primed TNT, or an armor stand.
Certain mobs also apply a shader while looking from their point-of-view. This filters how the world is portrayed to the spectator. Similar to the Super Secret Settings, if one presses F4, it removes the filter without dismounting the mob. Below is a table of mobs that have a filter.
|Creeper||Green pixelated, tinted vision|
|Spider||Quintuple vision, slight blurring, high FOV|
|Cave Spider||Same as spider, with the screen tinted red as if near the world border|
|1.8||January 27, 2014||Dinnerbone tweeted about trying out Spectator mode.|
|14w05a||Spectator mode added.|
|14w06a||Added hot key for player outlines.|
|14w18a||Spectator presence no longer prevents mob despawning.|
|14w19a||The inventory hotbar is replaced with a commands window including the ability to teleport to other players or teams.|
|14w20a||Adjusting fly speed of Spectator mode now works vertically.|
|1.8.2||1.8.2-pre1||Hostile mobs no longer follow/attack spectators.|
|1.9||15w51a||A spectator is no longer able to open a chest where the loot has not been generated yet.|
Issues relating to “Spectator” are maintained on the issue tracker. Report issues there.
- If you put a pumpkin on your head and go into spectator mode, your vision is still filtered even when you enter the view of a mob.
- If an entity falls out of the world, any spectators taking its perspective will die with it since they are still separate entities and take void damage.
- All mobs' perspective can be viewed with the exception of the ender dragon.
- Getting killed while on mob view makes the player respawn with the same shader view.