/give

Cheats / op 2Java 26.3

Gives items to players. Its basic form is /give <targets> <item>; it has 2 syntax forms and 3 arguments. Permission: Cheats / op 2.

Who can use it
Cheats / op 2
Syntax forms
2
Arguments
3

/give syntax

Game data

Every form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.

/give <targets> <item>
/give <targets> <item> <count>

/give examples

Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.

/give @s minecraft:diamond 64
64 diamonds for yourself.
/give @p minecraft:diamond_sword[enchantments={"minecraft:sharpness":5}]
A diamond sword with Sharpness V for the nearest player.
/give @a minecraft:cooked_beef 16
16 steak for every player.

/give arguments

What each argument expects, with the limits the game enforces.

/give arguments
ArgumentExpectsLimits
<targets>Target selector or player name (@s, @p, @a, @e, @r)players only · one or more
<item>Item ID with optional [components]—
<count>Whole numberat least 1

Related commands

Data: Minecraft Java Edition 26.3 game files. How we source this

Gives items to players. It has 2 syntax forms and can be run by: Cheats / op 2.

🔍

Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.

Report an Issue

/give FAQ (Java 26.3)

What does /give do in Minecraft?

Gives items to players.

What is the syntax of /give?

The basic form is /give <targets> <item>. All forms are listed above.

What is an example of /give?

/give @s minecraft:diamond 64 — 64 diamonds for yourself.

Do you need cheats for /give?

Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).