Minecraft Give Command: Items, Amounts and Java vs Bedrock
The Minecraft /give command adds an item directly to a player’s inventory. In modern Bedrock Edition, the documented pattern is /give <player> <item> [amount]. For example, /give @s diamond 64 gives the player running the command 64 diamonds, provided they have permission to use it. Java Edition uses the same overall idea and commonly writes item IDs with the minecraft: namespace, such as /give @p minecraft:diamond 64.
How to use /give in Minecraft
- Open a world with commands permitted, or join a server on which your account has appropriate operator permissions.
- Open chat using your device’s chat shortcut. On Java PC, that is usually T or slash.
- Type
/give @s diamond 64on Bedrock, or a matching Java command for your edition. - Confirm the command and inspect your inventory. If the inventory cannot hold all the items, behavior may depend on the current version and context.
The sample Bedrock syntax and diamond example are taken from Microsoft’s official /give command reference. The command does not generate Robux-like online currency, give permission you do not have or transfer items between separate worlds.
Common /give examples you can adapt
| Example (Bedrock) | Purpose |
|---|---|
/give @s diamond 64 | Give yourself 64 diamonds |
/give @a iron_sword | Give an iron sword to every player targeted |
/give @s golden_apple 16 | Give yourself 16 golden apples |
/give @s netherite_sword | Give yourself one netherite sword |
/give @s cooked_beef 32 | Give yourself 32 cooked beef items |
These examples use item identifiers explicitly shown in Microsoft’s official reference. They are not codes to redeem in a website or a game promotion. If a current update changes an item ID or item behavior, use the in-game command suggestions or edition-specific documentation.
What do @s, @p and @a mean?
Target selectors identify the recipient. @s usually targets the command executor; @p targets the nearest player from the execution position; and @a targets all eligible players. A username can also be supplied where the command accepts one.
Selectors are important on servers and in command blocks. A command block’s execution context differs from a player typing into chat, so @s may not identify the player you expect. Use a deliberate selector and double-check before distributing large amounts of items to everyone on a multiplayer server.
Minecraft Java Edition versus Bedrock Edition
| Detail | Java Edition | Bedrock Edition |
|---|---|---|
| Basic action | Give an item to a target | Give an item to a target |
| Typical example | /give @p minecraft:diamond 64 | /give @s diamond 64 |
| Item data customization | Newer Java versions use edition-specific component syntax | Microsoft documents optional data and components parameters |
| Permissions | Cheats/commands or suitable server privileges required | Cheats or elevated permission required |
Do not paste old Java NBT tutorials into a modern version unchanged. Item components and exact custom-item data syntax have changed across releases. For basic diamonds or swords, the short command is more reliable. For complex items, check the specific edition and version’s current documentation rather than treating Java and Bedrock data formats as interchangeable.
How much can you give at once?
The optional amount tells the command how many items to attempt to grant. Stacking limits and inventory space are separate mechanics: a diamond stack’s ordinary limit does not imply that every conceivable command amount can fit in one slot, and some items are unstackable. Start with a small quantity if you are learning command syntax or checking whether a modded item name is recognized.
Why is /give not working?
- Unknown command or no permission: confirm commands or cheats are allowed and that your server role can run them.
- Unknown item: verify the exact item identifier and Minecraft edition; do not use the visible item name with spaces.
- Wrong target: use
@s,@por a real player name according to where the command executes. - Old customization syntax: remove all custom data and test with
diamondfirst. - Target not in the world: check that the selected player is present and your target selector is valid.
Frequently asked questions
Does /give work in Survival mode?
It can work in a Survival world when you have the necessary cheat or operator permission. Merely being in Survival mode does not grant or remove server privileges.
What is the easiest diamond command?
On Bedrock, Microsoft’s example is /give @s diamond 64. On Java, a common equivalent is /give @p minecraft:diamond 64.
Can /give make enchanted items?
Advanced item customization depends heavily on the edition and version. Do not assume old NBT-based examples work in modern Java or copy Bedrock components into Java unchanged.
Can I give items to another player?
Yes, if permissions permit and the command identifies that player as its target. Use a specific player or suitable selector rather than accidentally targeting all players.
Bottom line: start with a documented basic item and a clear recipient, then add complexity only when needed. For broader command automation, see our Minecraft command block guide and /fill guide.
Archival gameplay image: Xbox México, Wikimedia Commons, CC BY 3.0. Image depicts an older Minecraft version and does not show the command UI.
