search
Minecraft Wiki

Minecraft Wiki

899 pages 4240 edits Updated: Mar 30
Wiki BG

Commands


Minecraft Commands are advanced features activated by typing certain strings of text. It is also known as console commands. In the client, commands are entered via chat window. Commands in command blocks can be preceded by a forward-slash, but it is not required.


Commands may also be entered in a multiplayer server's console, but are not preceded by a / when entered this way. A server owner running commands in this way is often referred to as ghosting.


Commands can be executed in the following ways;


  1. Entered by a player in the chat window.
  2. Executed by a command block or Minecart with command block.
  3. In functions or scripts, as part of a data pack or add-on.
  4. In a multiplayer server, entered in the console.
  5. Click a Json text that has "run_command" action.‌(Java Edition only)
  6. Executed with a WebSocket server.‌(Bedrock Edition only)
  7. Executed by a Non Playable Character (NPC).


Syntax


Java Edition


  1. give <target> <item> [<count>]


Bedrock Edition


  1. give <player: target> <itemName: Item> [amount: int] [data: int] [components: json]





This functionality is open only to Wiki Admins

Popular In Minecraft Wiki

Comments

Latest Wiki Pages

How to Zoom in Minecraft

How to Zoom in Minecraft

Minecraft Wiki 2 d
Breeding Villagers in Minecraft

Breeding Villagers in Minecraft

Minecraft Wiki 3 d
How to Port Forward a Minecraft Server

How to Port Forward a Minecraft Server

Minecraft Wiki 3 d
Block Recipes in Minecraft

Block Recipes in Minecraft

Minecraft Wiki 2 mn 27 d
Transportation Recipes in Minecraft

Transportation Recipes in Minecraft

Minecraft Wiki 2 mn 6 d
Tool Recipes in Minecraft

Tool Recipes in Minecraft

Minecraft Wiki 2 mn 6 d
Brewing Recipes in Minecraft

Brewing Recipes in Minecraft

Minecraft Wiki 2 mn 8 d
How to Breed Horses in Minecraft?

How to Breed Horses in Minecraft?

Minecraft Wiki 2 mn 13 d
Food Recipes In Minecraft

Food Recipes In Minecraft

Minecraft Wiki 2 mn 13 d
Firework Recipes in Minecraft

Firework Recipes in Minecraft

Minecraft Wiki 2 mn 14 d
Dye Recipes in Minecraft

Dye Recipes in Minecraft

Minecraft Wiki 3 mn 17 d
Basic Recipes in Minecraft

Basic Recipes in Minecraft

Minecraft Wiki 3 mn 18 d
End Biomes in Minecraft

End Biomes in Minecraft

Minecraft Wiki 3 mn 19 d
How to find the End portal in Minecraft?

How to find the End portal in Minecraft?

Minecraft Wiki 3 mn 28 d
Armor Recipies in Minecraft

Armor Recipies in Minecraft

Minecraft Wiki 3 mn 28 d
How to TP in Minecraft?

How to TP in Minecraft?

Minecraft Wiki 3 mn 29 d
How to craft in Minecraft?

How to craft in Minecraft?

Minecraft Wiki 3 mn 9 d
Bedrock in Minecraft

Bedrock in Minecraft

Minecraft Wiki 3 mn 10 d
Water in Minecraft

Water in Minecraft

Minecraft Wiki 3 mn 10 d
Brain Coral Fan in Minecraft

Brain Coral Fan in Minecraft

Minecraft Wiki 3 mn 11 d