How To Use The Give Command Wiki Guide

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).

How to Use the Give Command - Wiki Guide 1

Requirements

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

Give Command

Give Command in Minecraft Java Edition (PC/Mac)

In Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20, the syntax to give a player an item is:

/give <targets> <item> [amount] [dataTag]

 

In Minecraft Java Edition (PC/Mac) 1.8, 1.9, 1.10, 1.11 and 1.12, the syntax to give a player an item is:

/give <player> <item> [amount] [data] [dataTag]

Definitions

  • targets or player is the name of the player (or a target selector) to give the item to.
  • item is the name of the item to give (See Minecraft Item Names).
  • amount is optional. It is the amount of the item that you want to give. If you don’t specify an amount, the player will be given 1 of the item.
  • data is optional. It identifies the variation of the block if more than one type exists for that Item ID (See Minecraft Data Values). Use a value of 0 if no data value exists for the item.
  • dataTag is optional. It is the data tag that you want to set for the item being given. It is a compound NBT tag such as {Potion:harming} or {EntityTag:{id:Creeper}}.

Examples

Example in Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20

To give 1 block of gold to the player named 9Minecraft in Minecraft 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20:

/give 9Minecraft gold_block

To give 4 blocks of gold to the player named 9Minecraft:

/give 9Minecraft gold_block 4

To give 2 jungle planks to the nearest player:

/give @p jungle_planks 2

Example in Java Edition (PC/Mac) 1.11 and 1.12

To give 2 jungle planks to the nearest player in Minecraft 1.11 and 1.12:

/give @p planks 2 3

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 How to Use the Give Command - Wiki Guide 2 at the top of the screen.
  • For Xbox One, press the D-Pad (right) How to Use the Give Command - Wiki Guide 3 on the controller.
  • For PS4, press the D-Pad (right) How to Use the Give Command - Wiki Guide 4 on the controller.
  • For Nintendo Switch, press the right arrow button How to Use the Give Command - Wiki Guide 5 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 9Minecraft a block of gold with the following command:

/give 9Minecraft 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.

How to Use the Give Command - Wiki Guide 6

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

How to Use the Give Command - Wiki Guide 7

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

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 9Minecraft 4 blocks of gold with the following command:

/give 9Minecraft gold_block 4

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

How to Use the Give Command - Wiki Guide 8

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

How to Use the Give Command - Wiki Guide 9

You will see the message “Given [Block of Gold] x 4 to 9Minecraft” appear in the lower left corner of the game window. Now 9Minecraft 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.

How to Use the Give Command - Wiki Guide 10

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
How to Use the Give Command - Wiki Guide 11 Oak Planks
(planks)
0
How to Use the Give Command - Wiki Guide 12 Spruce Planks
(planks)
1
How to Use the Give Command - Wiki Guide 13 Birch Planks
(planks)
2
How to Use the Give Command - Wiki Guide 14 Jungle Planks
(planks)
3
How to Use the Give Command - Wiki Guide 15 Acacia Planks
(planks)
4
How to Use the Give Command - Wiki Guide 16 Dark Oak Planks
(planks)
5

How to Use the Give Command - Wiki Guide 17

You will see the message “Given [Jungle Wood Planks] x 2 to 9Minecraft” appear in the lower left corner of the game window. Now the nearest player (9Minecraft) 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.

Mods

1.19.4 Mods

1.19.3 Mods

1.19.2 Mods

1.18.2 Mods

1.16.5 Mods

1.15.2 Mods

1.12.2 Mods

1.8.9 Mods

1.7.10 Mods

1.18.1 Mods

1.17.1 Mods

1.14.4 Mods

1.13.2 Mods

1.11.2 Mods

1.10.2 Mods

1.9.4 Mods

Minecraft Modpacks

1.19.4 Modpacks

1.19.3 Modpacks

1.19.2 Modpacks

1.18.2 Modpacks

1.16.5 Modpacks

1.12.2 Modpacks

1.7.10 Modpacks

Forge Mods

Fabric Mods

Quilt Mods

Resource Packs

1.19.4 Resource Packs

1.19.3 Resource Packs

1.19.2 Resource Packs

1.18.2 Resource Packs

1.16.5 Resource Packs

1.15.2 Resource Packs

1.12.2 Resource Packs

1.8.9 Resource Packs

1.7.10 Resource Packs

1.18.1 Resource Packs

1.17.1 Resource Packs

1.14.4 Resource Packs

1.13.2 Resource Packs

1.11.2 Resource Packs

1.10.2 Resource Packs

1.9.4 Resource Packs

Shaders

1.19.4 Shaders

1.19.3 Shaders

1.19.2 Shaders

1.18.2 Shaders

1.17.1 Shaders

1.16.5 Shaders

Maps

1.19.4 Maps

1.19.3 Maps

1.19.2 Maps

1.18.2 Maps

1.16.5 Maps

1.15.2 Maps

1.12.2 Maps

1.8.9 Maps

1.7.10 Maps

1.18.1 Maps

1.17.1 Maps

1.14.4 Maps

1.13.2 Maps

1.11.2 Maps

1.10.2 Maps

1.9.4 Maps

Data Packs

1.19.4 Data Packs

1.19.3 Data Packs

1.19.2 Data Packs

1.18.2 Data Packs

1.16.5 Data Packs

1.15.2 Data Packs

1.18.1 Data Packs

1.17.1 Data Packs

1.14.4 Data Packs

1.13.2 Data Packs

MCPE/Bedrock

Mods & Addons

MCPE 1.19 Add-ons

MCPE 1.19 Mods

Texture Packs

MCPE 1.19 Texture Packs

MCPE 1.19 Resource Packs

Maps

MCPE 1.19 Maps

Clients

MCPE 1.19 Clients

Mod Menu Clients

Shaders

MCPE 1.19 Shaders

Render Dragon Shaders

Launchers

Skin Packs

Clients

1.19.4 Clients

1.19.3 Clients

1.19.2 Clients

1.18.2 Clients

1.16.5 Clients

1.12.2 Clients

1.8.9 Clients

Launchers

1.19.4 Launchers

1.19.3 Launchers

1.19.2 Launchers

1.18.2 Launchers

1.16.5 Launchers

1.12.2 Launchers

1.7.10 Launchers

Seeds

1.19.4 Seeds

1.19.3 Seeds

1.19.2 Seeds

1.18.2 Seeds

Skins

Plugins

Bukkit Plugins

Spigot Plugins

Paper Plugins

Tutorials

Installation Guide

Mobs Wiki Guide

Seeds Wiki Guide

Biomes Wiki Guide

Status Effects Wiki Guide

Enchantments Wiki Guide

Materials Wiki Guide

Command Blocks

Versions

Backlinks