Minecraft Command Guide

Intro

Minecraft has a versatile command system that can be used to enchance your Minecraft worlds in a way you never thought possible. The basic structure of a command is /commandname argument1 argument2 argument3 …

You may be familiar with commands such as /gamemode and /gamerule. To run a command, press the / key to open the chat/command interface (or press T to open the chat interface and then type a slash), type in the command, and press Enter.

Most commands can be run from the chat interface, however command blocks are much more versatile, as they can be triggered by redstone, repeatedly run commands, and run commands based on the success of another command. To give yourself a command block, run the following command:

      /give @s minecraft:command_block