Spectator

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, , , or dying in hardcore mode or using while in Creative mode.

Usage
Spectators are invisible, can fly, clip through blocks and entities, and view all entities, including other players in spectator mode.

Invisibility
Spectators are completely invisible, except to other players who are also in spectator mode (see above).

Spectators are not noticed by mobs, and do not trigger mob spawning (including from spawners), nor do they prevent mob despawning.

Spectators who are affected by the Glowing status effect will still be seen in Spectator Mode by other players, although not by mobs.

Highlighting Players
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.

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

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 or.

Commands (including player selectors) can still target spectators.

Flight
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.

GUIs
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, or you can teleport to a team member by pressing.

Seeing invisible entities
Spectators can see other spectators and invisible mobs, as well as themselves using. 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 set to true.

Mob view
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 shows the entity. Pressing the dismount key ( by default) returns the player to flying mode.

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.

Trivia

 * 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.
 * Spectator mode allows you to view the perspective of an ender crystal, a primed TNT block and any variety of minecart. Likewise, spectator mode allows you to take the point of view of any stationary entity (such as paintings and armor stands).
 * 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.