How to Use the Give Command in Minecraft (2024)

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*)
How to Use the Give Command in Minecraft (1)Java Edition (PC/Mac)Yes (1.3.1)
How to Use the Give Command in Minecraft (2)Pocket Edition (PE)Yes (0.16.0)
How to Use the Give Command in Minecraft (3)Xbox 360No
How to Use the Give Command in Minecraft (4)Xbox OneYes (1.2)
How to Use the Give Command in Minecraft (5)PS3No
How to Use the Give Command in Minecraft (6)PS4Yes (1.14.0)
How to Use the Give Command in Minecraft (7)Wii UNo
How to Use the Give Command in Minecraft (8)Nintendo SwitchYes (1.5.0)
How to Use the Give Command in Minecraft (9)Windows 10 EditionYes (0.16.0)
How to Use the Give Command in Minecraft (10)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

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

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

Give Command in Minecraft Pocket Edition (PE)

In Minecraft Pocket Edition (PE), the syntax to give a player an item is:

/give <player> <itemName> [amount] [data] [components]

Definitions

  • player is the name of the player (or a target selector) to give the item to.
  • itemName 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.
  • components is optional json.

Give Command in Minecraft Xbox One Edition

In Minecraft Xbox One Edition, the syntax to give a player an item is:

/give <player> <itemName> [amount] [data] [components]

Definitions

  • player is the name of the player (or a target selector) to give the item to.
  • itemName 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.
  • components is optional json.

Give Command in Minecraft PS4 Edition

In Minecraft PS4 Edition, the syntax to give a player an item is:

/give <player> <itemName> [amount] [data] [components]

Definitions

  • player is the name of the player (or a target selector) to give the item to.
  • itemName 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.
  • components is optional json.

Give Command in Minecraft Nintendo Switch Edition

In Minecraft Nintendo Switch Edition, the syntax to give a player an item is:

/give <player> <itemName> [amount] [data] [components]

Definitions

  • player is the name of the player (or a target selector) to give the item to.
  • itemName 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.
  • components is optional json.

Give Command in Minecraft Windows 10 Edition

In Minecraft Windows 10 Edition, the syntax to give a player an item is:

/give <player> <itemName> [amount] [data] [components]

Definitions

  • player is the name of the player (or a target selector) to give the item to.
  • itemName 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.
  • components is optional json.

Give Command in Minecraft Education Edition

In Minecraft Education Edition, the syntax to give a player an item is:

/give <player> <itemName> [amount] [data] [components]

Definitions

  • player is the name of the player (or a target selector) to give the item to.
  • itemName 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.
  • components is optional json.

Examples

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

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 DigMinecraft in Minecraft 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20:

/give DigMinecraft gold_block

To give 4 blocks of gold to the player named DigMinecraft:

/give DigMinecraft 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

Example in Pocket Edition (PE)

To give 1 enchanted golden apple to the player named DigMinecraft in Minecraft PE:

/give DigMinecraft appleenchanted

To give 25 enchanted golden apples to the player named DigMinecraft:

/give DigMinecraft appleenchanted 25

To give 64 magenta wool to the nearest player:

/give @p wool 64 2

Example in Xbox One Edition

To give 1 apple to the player named DigMinecraft in Minecraft Xbox One Edition:

/give DigMinecraft apple

To give 10 apples to the player named DigMinecraft:

/give DigMinecraft apple 10

To give 64 iron ingot to a random player:

/give @r iron_ingot 64

Example in PS4 Edition

To give 1 cake to the player named DigMinecraft in Minecraft PS4 Edition:

/give DigMinecraft cake

To give 10 cakes to the player named DigMinecraft:

/give DigMinecraft cake 10

To give 64 gold blocks to the nearest player:

/give @p gold_block 64

Example in Nintendo Switch Edition

To give 1 cookie to the player named DigMinecraft in Minecraft Nintendo Switch Edition:

/give DigMinecraft cookie

To give 4 cookies to the player named DigMinecraft:

/give DigMinecraft cookie 4

To give 64 diamonds to the nearest player:

/give @p diamond 64

Example in Windows 10 Edition

To give 1 golden apple to the player named DigMinecraft in Minecraft Windows 10 Edition:

/give DigMinecraft golden_apple

To give 8 golden apples to the player named DigMinecraft:

/give DigMinecraft golden_apple 8

To give 64 magenta wool to the nearest player:

/give @p carpet 64 6

Example in Education Edition

To give 1 saddle to the player named DigMinecraft in Minecraft Education Edition:

/give DigMinecraft saddle

To give 3 saddles to the player named DigMinecraft:

/give DigMinecraft saddle 3

To give 64 purple dye to the nearest player:

/give @p dye 64 5

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 in Minecraft (11) at the top of the screen.
  • For Xbox One, press the D-Pad (right) How to Use the Give Command in Minecraft (12) on the controller.
  • For PS4, press the D-Pad (right) How to Use the Give Command in Minecraft (13) on the controller.
  • For Nintendo Switch, press the right arrow button How to Use the Give Command in Minecraft (14) 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.

How to Use the Give Command in Minecraft (15)

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

How to Use the Give Command in Minecraft (16)

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.

How to Use the Give Command in Minecraft (17)

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

How to Use the Give Command in Minecraft (18)

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.

How to Use the Give Command in Minecraft (19)

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.

ItemDescription
(Minecraft ID Name)
Minecraft
Data
Value
How to Use the Give Command in Minecraft (20)Oak Planks
(planks)
0
How to Use the Give Command in Minecraft (21)Spruce Planks
(planks)
1
How to Use the Give Command in Minecraft (22)Birch Planks
(planks)
2
How to Use the Give Command in Minecraft (23)Jungle Planks
(planks)
3
How to Use the Give Command in Minecraft (24)Acacia Planks
(planks)
4
How to Use the Give Command in Minecraft (25)Dark Oak Planks
(planks)
5

How to Use the Give Command in Minecraft (26)

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:

How to make a Command BlockHow to make a Chain Command BlockHow to make a Repeating Command BlockHow to Give a BarrierHow to Give a Debug StickHow to Give Diamond Horse Armor
How to Give an Enchanted Golden AppleHow to Give a Jigsaw BlockHow to Give a Knowledge BookHow to Give a Light BlockHow to Give a Saddle

Items

Minecraft ID List (Java Edition 1.16)Minecraft Name List (Java Edition 1.12)

Command Generators

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

Prefilled Chest GeneratorGive Enchanted Book GeneratorGive Armor GeneratorGive Food GeneratorGive Lingering Potion GeneratorGive Mechanism GeneratorGive Ore Generator
Give Potion GeneratorGive Splash Potion GeneratorGive Tool GeneratorGive Transportation GeneratorGive Weapon GeneratorGive Custom Shield GeneratorGive Custom Banner Generator
How to Use the Give Command in Minecraft (2024)
Top Articles
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5446

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.