Commands in "Minecraft" change various aspects of the game, such as the weather or game mode. Players can type commands into the chat window to activate them. Each command begins with a forward slash.
The command "/gamemode creative" changes the game mode to Creative, which means that the player has unlimited inventory and is able to fly. Similarly, the command "/gamemode survival" changes the game mode to survival mode.
Many commands change the weather and time of day in "Minecraft." The command "/weather clear" prevents rain, which can be useful for players who want to take screenshots of their creations. The commands "/time set day" and "/time set night" change the time of day to sunrise or sunset, respectively.
In order to use commands, players need to enable cheats when they start the game. Players who have not enabled cheats can temporarily turn on the ability to use commands by pressing the Esc key, selecting Open to LAN and then choosing Allow Cheats and Start LAN World.
To open the chat window in "Minecraft," players need to press the T key. Alternatively, players can press the forward slash key to open the chat window and insert the forward slash that prefixes each command.