Minecraft /give command

Java EditionBedrock EditionSince Classic 0.0.15a (multiplayer test)

Quick answer: Gives one or more items to a player. Syntax: /give <target> <item> [count]

The /give command adds items directly to a player's inventory, without needing to craft or find them. In Java Edition you can also attach NBT data to customize the item; Bedrock Edition uses a data value and the components json format instead.

Syntax

EditionSyntax
Java/give <target> <item> [count]
Bedrock/give <player: target> <itemName: Item> [amount: int] [data: int]

Targets / arguments: @p nearest player, @a all players, @r random player, @s yourself, @e entities (not for /give). Requires: Cheats enabled / operator level 2.

Examples

/give @p minecraft:diamond 64

Give the nearest player a stack of 64 diamonds

/give @s minecraft:iron_sword

Give yourself an iron sword

/give Steve minecraft:enchanted_golden_apple 3

Give the player Steve 3 enchanted golden apples

Tips

Related commands

/summon/item/clear/loot