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
/gamemode spectator
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
- Hardcore is not something
/gamemodecan set in either edition. Bedrock added it in 1.21.40 as a toggle on the Create New World screen. - Bedrock spectator mode has fewer features than Java spectator mode.
- Bedrock accepts the numbers 0, 1 and 2 for Survival, Creative and Adventure. Spectator can no longer be reached with
/gamemode 6since 1.19.30, so type the name. - Java Edition removed numeric IDs and short forms in 1.13 and only accepts the full name, such as
/gamemode spectator. - Bedrock supports the short aliases s, c and a, plus
default(ord), which puts a player back into the world's default game mode.
Default Game Mode
Bedrock has no /defaultgamemode command; that one is Java only. New players start in the default game mode from the world settings (or the Create New World screen), and on a dedicated server in the mode set by the gamemode line in server.properties. To put players back into that default, use the Bedrock-only default mode:
/gamemode default @a # Everyone back to the world's default mode
/gamemode d PlayerName # Short form for one player
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 stored as 6 in a Bedrock world file and as 3 in Java, but typing /gamemode 6 has not switched you to Spectator since 1.19.30, so use /gamemode spectator. The numbers that still work are 0 for Survival, 1 for Creative and 2 for Adventure, and Bedrock also takes the short aliases s, c, a and d. Java Edition removed both numbers and short forms in 1.13.
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?
Bedrock has no /defaultgamemode command. Set the default game mode in the world settings, or change the gamemode line in server.properties on a dedicated server. To change everyone who is online right now, target all players, for example /gamemode adventure @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
Overview of all Bedrock Edition commands, how they differ from Java, and tips for using the command system effectively.
10 min readLearn the Bedrock Edition /give command syntax, item IDs, data values, and practical examples for giving items to players.
7 min readMaster the /tp and /teleport commands in Bedrock Edition with syntax, relative coordinates, and practical teleportation examples.
6 min readUse the /fill command in Bedrock Edition to place, replace, and clear blocks in large areas. Includes syntax, modes, and examples.
7 min read