Back in the game, press the "t" key to bring up the ingame console box Enter the command "/gamemode c" to change your game mode to creative (If you want to switch back to survival mode, use the command "/gamemode s") Notice the hearts, hunger, and experience meter are gone leaving on the item bar Despite the world's survival mode flag we're now in creative} else { if (cmdgetName ()equalsIgnoreCase ("gms") cmdgetName ()equalsIgnoreCase ("survival")) if (argslength < 1) { if (! In this blog I will explain the command "/gamemode" For What's serving You can use this command to change your or other players game mode (Creative, survival, and adventure) How it works Put this command where you chat or in a command block /gamemode gamemode playername The gamemodes are creative, survival and adventure You can also How To Change Gamemode In Minecraft Techie Trickle Gamemode survival command block