search
Minecraft Wiki

Minecraft Wiki

936 pages 4324 edits Updated: Jul 06
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

Smelting

Smelting

Minecraft Wiki 3 mn 23 d
Sky Dimension in Minecraft

Sky Dimension in Minecraft

Minecraft Wiki 3 mn 6 d
Education Edition

Education Edition

Minecraft Wiki 3 mn 10 d
Getting Started in Minecraft

Getting Started in Minecraft

Minecraft Wiki 3 mn 14 d
The Twilight Forest Minecraft mod

The Twilight Forest Minecraft mod

Minecraft Wiki 4 mn 29 d
Mowzie’s Mobs

Mowzie’s Mobs

Minecraft Wiki 4 mn 29 d
What is Pixelmon in Minecraft?

What is Pixelmon in Minecraft?

Minecraft Wiki 4 mn
How to Craft an Oak Button in Minecraft

How to Craft an Oak Button in Minecraft

Minecraft Wiki 4 mn
How to Craft a Tripwire Hook in Minecraft?

How to Craft a Tripwire Hook in Minecraft?

Minecraft Wiki 4 mn 3 d
How to Craft a Lever in Minecraft?

How to Craft a Lever in Minecraft?

Minecraft Wiki 4 mn 4 d
How to craft a Redstone Repeater in Minecraft?

How to craft a Redstone Repeater in Minecraft?

Minecraft Wiki 4 mn 5 d
How to craft a Daylight Detector in Minecraft?

How to craft a Daylight Detector in Minecraft?

Minecraft Wiki 4 mn 6 d
How to Craft a Redstone Comparator in Minecraft

How to Craft a Redstone Comparator in Minecraft

Minecraft Wiki 4 mn 7 d
Can Dragon Fireball be used as a decorative item in Minecraft?

Can Dragon Fireball be used as a decorative item in Minecraft?

Minecraft Wiki 4 mn 8 d
How to Craft a Beacon in Minecraft

How to Craft a Beacon in Minecraft

Minecraft Wiki 4 mn 10 d
What are Elder Guardians and what do they do in Minecraft?

What are Elder Guardians and what do they do in Minecraft?

Minecraft Wiki 4 mn 15 d
Verdant Froglight in Minecraft

Verdant Froglight in Minecraft

Minecraft Wiki 5 mn 17 d
What are Dragon Fireballs in Minecraft?

What are Dragon Fireballs in Minecraft?

Minecraft Wiki 5 mn 18 d
What is Structure Void in Minecraft?

What is Structure Void in Minecraft?

Minecraft Wiki 5 mn 19 d
What are Structure blocks in Minecraft?

What are Structure blocks in Minecraft?

Minecraft Wiki 5 mn 19 d