Vivian’s Minecraft ToolsSMALL TOOLS. BIG ADVENTURES.
GIVE COMMAND GUIDE

How to use give (Bedrock Edition)

From basic syntax to practical examples. Get comfortable with the give command.

What does /give do?

The give command adds an item to a player’s inventory. Choose a player, an item ID, and an amount to receive building materials, equipment, and more.

Commands require cheats or appropriate server permissions.

Basic syntax

/give <target> <item_id> [amount] [data] [components]

Angle brackets mark required arguments; square brackets mark optional ones. Do not type the brackets. Omitting the amount gives one item.

ArgumentMeaning
TargetA player name or selector such as @s, @p, or @a.
Item IDminecraft:diamond is an identifier, rather than the item’s display name.
AmountHow many items to give. The prototype generator accepts 1–64.

Choosing a target

SelectorRecipient
@sThe executor: yourself when running from chat.
@pThe player nearest to the execution position.
@aAll players. Each receives the specified amount.
@rA randomly selected player.

A command block is not a player, so @s in a command block does not give an item to a player. Use @p or a player name instead.

Examples

Give yourself one diamond

/give @s minecraft:diamond 1Open these settings in the generator →

Give the nearest player 64 oak planks

/give @p minecraft:oak_planks 64Open these settings in the generator →

Give each player three apples

/give @a minecraft:apple 3Open these settings in the generator →

Additional Bedrock arguments

Choose a named variant in the Item list to use its data value.

Set components as a JSON object after data. If the selected item has no data value, the generator inserts 0 when components are set.

/give @p minecraft:diamond_pickaxe 1 0 {"minecraft:can_destroy":{"blocks":["stone","deepslate"]}}Open these settings in the generator →

Microsoft Learn — Bedrock /give

Troubleshooting

I don’t have permission to run the command

Check whether cheats are enabled for the world. On a server, ask the administrator to check your permissions.

The item ID is rejected

Use the item ID rather than a translated display name. Check the spelling and whether that item exists in your edition and version.

Make your own command

Choose a recipient, an item, and an amount, then copy your command.

Open the give generator →
Ad space (preview)