/give

Gives items to one or more players

Usage

Gives the specified item(s) to the target(s). If <targets> or player: target resolves to multiple targets, each receives the specified number of items.

If there is enough room in the player's inventory, gives the specified item(s).

If there is not enough room in the player's inventory, gives the specified item(s) until the inventory is full, and summons the rest items as a item entity at the player's position.

Syntax

give <targets> <item>

giveme <item> (equivalent to /give @s <item>)

Arguments

<targets> Selector

Specifies the target(s) to give item(s) to.

<item> Item

Specifies the item to give.

Examples

  • To give the nearest player 50 blocks of dirt:

    • /give @p default:dirt 50

  • To give all players a green half-worn wooden pickaxes:

    • /give @a default:pick_wood[color=green] 1 32767

  • To give yourself 3 blue blocks of cobblestone:

    • /giveme cobble[color=blue] 3

History

Version
Action

v1.0

Added /give

Last updated