Skip to main content
Commands5 min read

Bedrock /gamemode Command: Switching Game Modes

Switch between Survival, Creative, Adventure, and Spectator modes in Bedrock Edition using the /gamemode command.

Basic Syntax

The /gamemode command changes a player's game mode. The syntax is:

/gamemode <mode> [player]

If no player is specified, the command affects the player who runs it.

Available Game Modes

Bedrock Edition supports four game modes:

Survival (0 or s)

/gamemode survival
/gamemode s
/gamemode 0

The default game mode. Players must gather resources, craft items, manage hunger, and can die. This is the intended way to play Minecraft.

Creative (1 or c)

/gamemode creative
/gamemode c
/gamemode 1

Players have access to all items through the creative inventory, can fly, cannot die from normal damage, and can break blocks instantly. Perfect for building without constraints.

Adventure (2 or a)

/gamemode adventure
/gamemode a
/gamemode 2

Players cannot break or place blocks unless using items with the CanDestroy or CanPlaceOn item components. Designed for custom maps where the creator controls what players can interact with.

Spectator (6)

/gamemode spectator
/gamemode 6

Players become invisible and can fly through blocks. They cannot interact with the world or be seen by other players. Useful for observing builds, checking for issues, or watching other players. Note that Bedrock spectator mode is more limited than Java's implementation.

Changing Other Players' Modes

/gamemode creative PlayerName               # Set specific player to creative
/gamemode survival @a                        # Set all players to survival
/gamemode adventure @a[tag=mapplayer]        # Adventure mode for tagged players
/gamemode spectator @r                       # Random player becomes spectator

Differences from Java Edition

  • Bedrock does not have hardcore mode (permanent death with world deletion).
  • Bedrock spectator mode has fewer features than Java spectator mode.
  • The numeric shortcuts (0, 1, 2, 6) differ from Java (where spectator is 3).
  • Java Edition uses /gamemode spectator with mode ID 3; Bedrock uses 6.
  • Bedrock supports short aliases (s, c, a) while Java requires the full name or number.

Default Game Mode

The /defaultgamemode command sets the game mode for new players joining the world:

/defaultgamemode survival      # New players start in survival
/defaultgamemode adventure     # New players start in adventure (for maps)
/defaultgamemode creative      # New players start in creative

Practical Uses

  • Building: Switch to creative to design structures, then back to survival to play.
  • Debugging: Use spectator mode to fly through terrain and check underground builds or redstone.
  • Map making: Set adventure mode as default and use CanDestroy/CanPlaceOn to control player interactions.
  • Server management: Force players into specific game modes for events or minigames.
  • Photography: Use creative or spectator mode to capture screenshots of builds from optimal angles.

Important Notes

  • Switching to creative mode in a survival world disables achievements permanently for that world.
  • Items in your inventory are kept when switching modes, but creative players can delete items instantly.
  • In multiplayer, only operators can change game modes. The permission level can be configured in server settings.
  • Game mode changes take effect immediately with no confirmation prompt.

Frequently Asked Questions

What is the numeric ID for spectator mode in Bedrock?

Spectator is mode 6 in Bedrock Edition, whereas Java uses 3. The other IDs are 0 for Survival, 1 for Creative, and 2 for Adventure. Bedrock also accepts the short aliases s, c, and a for the first three modes, which Java does not support.

Does switching to Creative mode disable achievements in Bedrock?

Yes. Switching a survival world to Creative permanently disables achievements for that world, and the change cannot be undone by switching back. This applies whether you use /gamemode creative or the world settings toggle, so avoid it on worlds where you want achievements.

How do I set the game mode for everyone joining my world?

Use /defaultgamemode, for example /defaultgamemode adventure for a custom map. This sets the mode new players start in without affecting players already in the world. To change everyone currently online, target all players with /gamemode survival @a.

Why is Bedrock spectator mode more limited than Java's?

Bedrock spectator mode lets you fly through blocks and become invisible, but it lacks several Java features such as spectating from another entity's point of view. It is best treated as a free-fly observation tool for checking builds and redstone rather than a full Java-equivalent spectator experience.

Related Astroworld Resources

Related Guides