{{about|the game mode|the command|Commands/spectate}}

'''Spectator mode''' is a [[game mode]] that allows the [[player]] to [[flying|fly]] around and observe the [[world]] without interacting with it in any way.

==Usage==
Spectators are invisible, can [[flying|fly]], clip through [[block]]s and [[entities]], and view all entities, including other players in Spectator mode. The HUD is completely invisible, except for [[subtitle]]s and the chat. The [[inventory]] is unchanged, and still like [[Survival]] or [[Adventure]] mode inventory. 

===Accessing===
Spectator mode can be entered by using the {{cmd|gamemode spectator}} [[command]], dying in [[Hardcore]] mode, using {{key|F3+N}} with [[cheats]] enabled, or through the {{key|F3+F4}} game mode selector.

{{IN|be}}, Spectator mode can be entered by using {{cmd|gamemode spectator}}, or by changing the personal game mode to Spectator through settings, however it cannot spectate other [[entities]].

Spectator mode is not accessible {{in|ee}}. It is not available in the settings, and although {{code|spectator}} is listed as a gamemode in the suggestion list of the {{cmd|gamemode}} command, using {{cmd|gamemode spectator}} causes it to throw an error: {{code|Game mode 'Spectator' is invalid}}.

===Invisibility===
Spectators are not noticed by [[mob]]s, and do not trigger mob [[spawning]] (including from [[monster spawner]]s), nor do they prevent mob despawning, but they are noticed by commands and/or [[command block]]s.

Spectators who are affected by the [[Glowing]] [[status effect]] can still be seen in Spectator mode by other players, although not by mobs.

===Highlighting players===
{{Exclusive|Java|section=1}}
Spectators can also use the "Highlight Players (Spectator)" [[control]] if changed from the default (nothing). This allows the spectator to see other [[player]]s as if they have the Glowing effect, and if let go the effect disappears. The color of the outline reflects the player's [[team]].

===Intangibility===
Spectators can move through blocks, entities and other players. When their head is inside a block, they can see through all blocks.

Spectators can see through [[lava]] and [[Powder Snow|powder snow]], and their underwater vision is set to maximum instantly instead of gradually like in other game modes.

Spectators cannot take [[damage]], as all blows go through them. [[Lava]], [[drowning]], [[fire]], and [[suffocation]] also do not affect them. However, they can take damage from the [[void]]{{only|je}} or {{cmd|kill}}.

Commands (including player selectors) can still target spectators.

===Flight===
Spectators are always flying. They cannot stop flying by landing, as the player just passes 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&nbsp;m/s without sprinting and 87.111&nbsp;m/s with sprinting. (Without sprinting: 156.80&nbsp;km/h; With sprinting 313.59&nbsp;km/h)

===GUIs===
{{Exclusive|Java|section=1}}
If a player opens their [[inventory]] while in Spectator mode, they cannot interact with or use any of the [[item]]s 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. Also, the player's head is slightly visible but in a translucent, darker color.

If a number key is pressed, the player can teleport to a specific player on that server by pressing {{key|1}}, or the player can teleport to a team member by pressing {{key|2}} and afterward clicking on the number of the player twice to be teleported or once to see their name.

===Seeing invisible entities===
{{Exclusive|Java|section=1}}
Spectators can see other spectators and invisible [[mob]]s, as well as themselves using {{key|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 {{cmd|team modify <''team''> seeFriendlyInvisibles}} set to true. (Before 1.13: {{cmd|scoreboard teams option <''team''> seeFriendlyInvisibles}})

===Mob view===
{{Exclusive|Java|section=1}}
A spectator can click on an entity with the attack button, 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 {{key|F5}} shows the entity. Pressing the dismount key ({{key|Shift}} by default) returns the player to flying mode. In addition to spectating mobs, players can also spectate any other entity, such as an [[end crystal]], [[primed TNT]], or an [[armor stand]]. If the spectating mob takes any form of [[damage]], the screen tilts a little as if the player was taking damage. 

Certain mobs also apply a post-processing [[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 {{key|F4}}, it removes the filter without dismounting the mob. Below is a table of mobs that have a filter. [[Warden]]s, despite being blind, show a normal view when spectated.<ref>{{bug|MC-249500|||WAI}}</ref>
{| class="wikitable" data-description="Mob views"
!Entity !!Filter Description!!Filter Image
|-
| [[Creeper]]||Pixelated and green tinted vision.||[[File:Creeper View.png|250px]]
|-
| [[Enderman]]||Inverted colors.||[[File:Enderman View.png|250px]]
|-
|[[Spider]]|| Quintuple vision, slight blurring, high FOV.||[[File:Spider View.png|250px]]
|-
|[[Cave Spider]]||Same as the spider, only slightly lower to the ground.||[[File:Cave Spider View.png|250px]]
|}

==History==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.8|dev=January 27, 2014|slink={{tweet|Dinnerbone|427795613733126144}}|Dinnerbone tweeted about trying out Spectator mode.}}
|{{HistoryLine|||dev=14w05a|Spectator mode added.}}
|{{HistoryLine|||dev=14w06a|Added hot key for player outlines.}}
|{{HistoryLine|||dev=14w18a|Spectator presence no longer prevents mob despawning.}}
|{{HistoryLine|||dev=14w19a|The inventory hotbar is replaced with a commands window including the ability to teleport to other players or teams.}}
|{{HistoryLine|||dev=14w20a|Adjusting fly speed of Spectator mode now works vertically.}}
|{{HistoryLine||1.8.2|dev=pre1|Hostile [[mob]]s no longer follow/attack spectators.}}
|{{HistoryLine||1.9|dev=15w32a|{{key|F3+N}} now toggles between [[Creative]] and Spectator.}}
|{{HistoryLine|||dev=15w37a|Players that die in [[Hardcore]] mode now have the choice to respawn in Spectator mode, rather than having to delete the world.
|Added [[game rule]] {{code|spectatorGenerateChunks}}.}}
|{{HistoryLine|||dev=15w51a|A spectator is no longer able to open a [[chest]] where the loot has not been generated yet.}}
|{{HistoryLine||1.16|dev=20w20a|Added gamemode switcher accessible with {{key|F3+F4}}.
|{{key|F3+N}} now toggles between Spectator mode and the previous gamemode.}}
|{{HistoryLine||1.17|dev=21w11a|It is now possible to see while inside [[lava]]<ref>{{bug|MC-71530|||Fixed}}</ref> and [[powder snow]]<ref>{{bug|MC-213743|||Fixed}}</ref> in Spectator mode.}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||?|"Added" Spectator mode.
|Spectator mode cannot be accessed without add-ons or editing, and players cannot spectate other entities.
|Spectator mode used to be accessible through servers where a player's inventory would be filled with dandelions could not be replaced or placed.{{verify|This came from the BE unused features page, but probably needs some testing to verify it.}}}}
|{{HistoryLine||1.18.30|dev=Preview 1.18.30.21|Using {{cmd|gamemode 6}} can now access Spectator mode, however, it is buggy and the player can still break blocks.}}
|{{HistoryLine||1.18.31|exp=Spectator Mode|Spectator mode is moved behind its own experimental toggle.
|Using {{cmd|gamemode spectator}} can now access Spectator mode.}}
|{{HistoryLine||1.19.0|exp=Spectator Mode|dev=Preview 1.19.0.21|Spectator mode now functions properly.}}
|{{HistoryLine||April 14, 2022|link=https://feedback.minecraft.net/hc/en-us/articles/5540500564365-Minecraft-Beta-Preview-1-19-0-24-25|Spectator mode is announced to not be fully included in 1.19.0.}}
|{{HistoryLine||1.19.10|exp=Spectator Mode|dev=Preview 1.19.10.20|Many changes have been made, including:

*Player in Spectator mode can now breathe anywhere.
*Player in Spectator mode cannot be pushed by pistons.
*Sleeping rules to skip the night do not apply to a spectator.
*Moving around as a spectator no longer affects player's hunger level.
*Render only head for players in Spectator mode.
*Render players in Spectator semi-transparently.
*Projectiles such as arrows, tridents, fireballs now shoot through spectators.}}
|{{HistoryLine||1.19.30|exp=Spectator Mode|dev=Preview 1.19.30.20|The Spectator game mode can no longer be entered via {{cmd|/gamemode 6}}.}}
|{{HistoryLine|||dev=Preview 1.19.30.22|Its now possible to see while inside [[powder snow]] in Spectator mode.}}
|{{HistoryLine||1.19.50|dev=Preview 1.19.50.20|Spectator mode is now available without enabling experimental gameplay.}}
}}
<gallery>
Dinnerbone Spectator Mode 1.png|First image of spectator mode.
Dinnerbone Spectator Mode 2.png|Second image of spectator mode.
Dinnerbone Spectator Mode 3.png|Third image of spectator mode.
Dinnerbone Spectator Mode 4.png|Fourth image of spectator mode.
</gallery>

==Issues==
{{issue list}}

==Trivia==
*If the player wears a [[pumpkin]] on their head and enters Spectator mode, their vision is still filtered, even when spectating a mob.
* If an entity falls out of the world, any spectators die with it as they are still separate entities, and take void damage.
* All mobs' perspectives can be viewed with the exception of the [[ender dragon]].
*Shaders persist if the player dies while spectating.
*{{IN|CE}}, it is possible to access this mode in multiplayer by changing the "trust player" option, which makes new players to spectators.
*If a player has an effect applied that [[Screen effects|changes their field of view]], players spectating them are also affected. The FOV changes are not visible when spectating non-players. 
**[[Nausea]] is not subject to this.
*If a player uses a [[spyglass]], the effect also applies to the spectator, but without the overlay.
*If a player presses a number key to open up their hotbar, it is revealed that the textures used for the icons are the older textures used before [[Java Edition 1.14]], even without the built-in [[Programmer Art]] texture pack enabled.
*If a player is in spectator mode, their name is italicized and grayed out on the multiplayer player list.
* Even though spectator mode is not available {{in|LCE}}, the [https://youtu.be/exCCPFfyiyA?t=52 Chinese Mythology mash-up-pack trailer] was recorded in spectator mode which can be noticed by the semi-transparent players in the trailer

==See also==
*[[Debug mode]]

== References ==
{{reflist}}

== Navigation ==
{{Navbox game modes}}

[[Category:Game modes]]
[[Category:Rewritten gameplay]]

[[cs:Pozorování]]
[[de:Zuschauermodus]]
[[es:Espectador]]
[[fr:Spectateur]]
[[it:Spettatore]]
[[ja:スペクテイター]]
[[ko:관전 모드]]
[[nl:Toeschouwer]]
[[pl:Tryb widza]]
[[pt:Espectador]]
[[ru:Наблюдение]]
[[th:ผู้ชม]]
[[uk:Спостерігач (режим гри)]]
[[zh:旁观模式]]
