Skip to main content
MC COMMANDS logoMC COMMANDS
COMMAND BUILDER

Minecraft /gamemode Generator.

Sets player game mode. Adjust settings below to instantly generate the correct syntax.

LIVE TERMINAL OUTPUT

Generated Minecraft Syntax

Copy and paste this output directly into your Minecraft game console (press T) or command blocks.

/give @s diamond 64

What this command does?

Switches game mode to **creative** for yourself (`@s`).
Documentation & Guide

About the /gamemode Generator

The /gamemode generator builds commands to switch between Survival, Creative, Adventure, and Spectator modes for yourself, specific targets, or all players.

How to Use This Generator

  1. Choose the game mode: survival, creative, adventure, or spectator.
  2. Select target player or selector (defaults to yourself if blank).
  3. Copy and run in chat.

Parameters & Options Explained

Mode

survival (standard play), creative (flight & infinite blocks), adventure (cannot break blocks without tools), spectator (pass through blocks).

Target

Player or selector receiving the gamemode change.

Practical In-Game Example

Tested & Validated
/gamemode creative @s

Switches your current game mode to Creative.

Java vs Bedrock Compatibility

Java Edition:Full support for all 4 game modes including mob-viewing in Spectator.
Bedrock Edition:Supports survival, creative, adventure, and spectator modes.

Important Limitations & Rules

  • Switching to survival high in the air will cause fall damage.
  • Players retain inventory items across gamemode switches.
Advertisement