How to Use the Give Command in Minecraft

This Minecraft tutorial explains how to use the /give command with screenshots and step-by-step instructions.

You can give a player any item whenever you want using the /give command in Minecraft. Let's explore how to use this cheat (game command).

Supported Platforms

The /give command is available in the following versions of Minecraft:

PlatformSupported (Version*)
Java Edition (PC/Mac) Java Edition (PC/Mac)Yes (1.3.1)
Pocket Edition (PE) Pocket Edition (PE)Yes (0.16.0)
Xbox 360 Xbox 360No
Xbox One Xbox OneYes (1.2)
PS3 PS3No
PS4 PS4Yes (1.14.0)
Wii U Wii UNo
Nintendo Switch Nintendo SwitchYes (1.5.0)
Windows 10 Edition Windows 10 EditionYes (0.16.0)
Education Edition Education EditionYes

* 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

Examples

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:

  • For Java Edition (PC/Mac), press the T key to open the chat window.
  • For Pocket Edition (PE), tap on the chat button help command at the top of the screen.
  • For Xbox One, press the D-Pad (right) xbox one on the controller.
  • For PS4, press the D-Pad (right) ps4 on the controller.
  • For Nintendo Switch, press the right arrow button nintendo switch on the controller.
  • For Windows 10 Edition, press the T key to open the chat window.
  • For Education Edition, press the T key to open the chat window.

2. Type the Command

We will cover examples of how to use the /give command to give an item to a player as well as more than one item to a player at a time. We will also explore how to use the DataValue parameter in the /give command to specify a variation of a block.

Give an Item

In the first example, we want to give the player named DigMinecraft a block of gold with the following command:

/give DigMinecraft gold_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 gold block

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

completed give gold block

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

Give Multiples of Item

In the first example, we did not enter the Amount parameter so only one gold block was given. If want to give multiple blocks at once, you need to specify an Amount in the /give command. The amount goes after the Item that you are giving.

For example, you can give DigMinecraft 4 blocks of gold with the following command:

/give DigMinecraft gold_block 4

Type the command in the chat window and press the Enter key to run the command.

give gold blocks

In this example, you have specified an amount of 4 in the /give command.

completed give gold blocks

You will see the message "Given [Block of Gold] x 4 to DigMinecraft" appear in the lower left corner of the game window. Now DigMinecraft will be given 4 blocks of gold that is added to the player's inventory.

Give Variation of an Item

The last example that we want to cover is how to give an item to player when the minecraft name refers to more than one variation of the block. For example, planks is the name assigned to all 6 types of wood planks (oak, acacia, birch, dark oak, jungle, and spruce). If you just specify planks in the /give command, you will always be given oak planks.

But how can you give a player jungle planks instead of oak planks? Easy enough, just add a DataValue to the end of the /give command. Sometimes, people will refer to the DataValue as damage value or data value.

For example, you can give 2 jungle planks to the nearest player with the following command:

/give @p planks 2 3

Type the command in the chat window and press the Enter key to run the command.

give jungle planks

In this example, we have used a DataValue of 3 to specify the variation of planks that we want to give (ie. 3=Jungle Planks). See a complete list of Minecraft IDs that is interactive and searchable.

Item Description
(Minecraft ID Name)
DataValue
oak planks Oak Planks
(planks)
0
spruce planks Spruce Planks
(planks)
1
birch planks Birch Planks
(planks)
2
jungle planks Jungle Planks
(planks)
3
acacia planks Acacia Planks
(planks)
4
dark oak planks Dark Oak Planks
(planks)
5

competed give jungle planks

You will see the message "Given [Jungle Wood Planks] x 2 to DigMinecraft" appear in the lower left corner of the game window. Now the nearest player (DigMinecraft) will be given 2 jungle planks that are added to the player's inventory.

Congratulations, you have learned how to use the /give command in Minecraft.

Other Give Commands

You can use other give commands in Minecraft such as:

Items

Command Generators

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