MiniBench

MiniBench / Learn / Commands

Command Bedrock Edition ~2 min read

The /give command

Put items straight into a player's inventory — starter kits, rewards, and test gear.

What it does

/give adds items to a player. It's how you hand out a starting kit when a world loads, reward players for reaching a checkpoint, or quickly grab a tool while testing.

Syntax

give <player> <item> [amount] [data] [components]
player
Who receives it — a target selector like @p, @a, @s, or a player name.
item
The item id, e.g. diamond, bread, netherite_pickaxe.
amount
How many (1–32767). Large amounts split into stacks.
data
Optional data/aux value for item variants.

Examples

give @p diamond 5

Give the nearest player five diamonds.

give @a bread 3

Give everyone three bread.

give @s netherite_pickaxe

Give yourself a netherite pickaxe (amount defaults to 1).

See it in action

Before and after running /give — in MiniBench's 3D preview and in Minecraft.

Command run

give @s diamond_sword
In Minecraft
Items added to the hotbar with /give in Minecraft (before)

Before

Items added to the hotbar with /give in Minecraft (after)

After

Not affiliated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.

Watch out for

Write it in MiniBench with autocomplete and live validation, then run it in Minecraft.