Javascript required
Skip to content Skip to sidebar Skip to footer

Add a Block to Minecraft Windows 10 Edition 1.12

How to make a Command Block in Minecraft

This Minecraft tutorial explains how to craft a command block with screenshots and step-by-step instructions.

In Minecraft, a command block is an item that you can not make with a crafting table or furnace and it is not available through the Creative Inventory menu. You can only add a command block to your inventory using a game command.

command block

Let's explore how to add a command block to your inventory.

Supported Platforms

A command block is available in the following versions of Minecraft:

Platform Supported (Version*)
Java Edition (PC/Mac) Java Edition (PC/Mac) Yes
Pocket Edition (PE) Pocket Edition (PE) Yes (1.0.5)
Xbox 360 Xbox 360 No
Xbox One Xbox One Yes (1.2)
PS3 PS3 No
PS4 PS4 Yes (1.14.0)
Wii U Wii U No
Nintendo Switch Nintendo Switch Yes (1.5.0)
Windows 10 Edition Windows 10 Edition Yes (1.0.5)
Education Edition Education Edition Yes (1.0.18)

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Give Command for Command Block

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Give Command in Minecraft Java Edition (PC/Mac)

In Minecraft Java Edition (PC/Mac), the syntax to give a player a command block using the /give command is:

/give <targets> command_block [amount]

Definitions

  • targets is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Pocket Edition (PE)

In Minecraft Pocket Edition (PE), the syntax to give a player a command block using the /give command is:

/give <player> command_block [amount]

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Xbox One Edition

In Minecraft Xbox One Edition, the syntax to give a player a command block using the /give command is:

/give <player> command_block [amount]

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft PS4 Edition

In Minecraft PS4 Edition, the syntax to give a player a command block using the /give command is:

/give <player> command_block [amount]

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Nintendo Switch

In Minecraft Nintendo Switch Edition, the syntax to give a player a command block using the /give command is:

/give <player> command_block [amount]

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Windows 10 Edition

In Minecraft Windows 10 Edition, the syntax to give a player a command block using the /give command is:

/give <player> command_block [amount]

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Education Edition

In Minecraft Education Edition, the syntax to give a player a command block using the /give command is:

/give <player> command_block [amount]

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Examples

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Example in Java Edition (PC/Mac)

To give 1 command block to the player named DigMinecraft:

/give DigMinecraft command_block

To give 64 command blocks to the nearest player:

/give @p command_block 64

To give 3 command blocks to all players:

/give @a command_block 3

Example in Pocket Edition (PE)

To give 1 command block to the player named Axe2Grind:

/give Axe2Grind command_block

To give 64 command blocks to all players:

/give @a command_block 64

Example in Xbox One Edition

To give 1 command block to the player named TheEarthMover:

/give TheEarthMover command_block

To give 8 command blocks to all players:

/give @a command_block 8

Example in PS4 Edition

To give 1 command block to the player named DigMinecraft:

/give DigMinecraft command_block

To give 2 command blocks to all players:

/give @a command_block 2

Example in Nintendo Switch Edition

To give 1 command block to the player named DigMinecraft:

/give DigMinecraft command_block

To give 2 command blocks to all players:

/give @a command_block 2

Example in Windows 10 Edition

To give 1 command block to the player named TheExcavator:

/give TheExcavator command_block

To give 10 command blocks to the nearest player:

/give @p command_block 10

Example in Education Edition

To give 1 command block to the player named TheEarthMover:

/give TheEarthMover command_block

To give 64 command blocks to the nearest player:

/give @p command_block 64

How to Enter the Command

1. Open the Chat Window

The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:

2. Type the Command

In this example, we will give 1 command block to the player called DigMinecraft with the following command:

/give DigMinecraft command_block

Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.

give command block

Once the cheat has been entered, the command block will be added to the player's inventory.

completed give command block

You will see the message "Given [Command Block] x 1 to DigMinecraft" appear in the lower left corner of the game window. You have now given 1 command block to the player called DigMinecraft.

Congratulations, you have learned how to craft a command block using the /give command in Minecraft.

Item ID and Name

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Minecraft Java Edition (PC/Mac)

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 Java Edition (PC/Mac)  Java Edition (PC/Mac) 1.8 - 1.12
command block Command Block
(minecraft:command_block)
137 Java Edition (PC/Mac)  Java Edition (PC/Mac) 1.13 - 1.17.1

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Pocket Edition (PE)

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 Pocket Edition (PE)  Pocket Edition (PE) 1.0.5 - 1.71.41

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Xbox One

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 Xbox One  Xbox One 1.6.0 - 1.17.41

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft PS4

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 PS4  PS4 1.14.0 - 1.17.41

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Nintendo Switch

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 Nintendo Switch  Nintendo Switch 1.6.0 - 1.17.41

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Windows 10 Edition

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 Windows 10 Edition  Windows 10 Edition 1.0.5 - 1.71.41

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Education Edition

In Minecraft, a command block has the following Name, ID and DataValue:

Item Description
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
Platform Version(s)
command block Command Block
(minecraft:command_block)
137 0 Education Edition  Education Edition 1.0.18 - 1.14.31

See a complete list of Minecraft IDs that is interactive and searchable.

Stackable Information

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Other Command Blocks

You can make other command blocks in Minecraft such as:

Things to Do with Command Blocks

Here are some activities that you can do with command blocks in Minecraft:

Command Generators

If you need help, you can use these tools to automatically generate commands in Minecraft:

Add a Block to Minecraft Windows 10 Edition 1.12

Source: https://www.digminecraft.com/command_blocks/make_command_block.php