Diamond is a rare crafting material used for durable tools, weapons, armor, enchanting tables, jukeboxes, diamond blocks, and upgrades toward netherite equipment.
Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 264 1
Give command syntax by version
Java 1.13+
/give @p minecraft:diamond 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 264 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:diamond 1
Same namespaced ID (namespace optional)
Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.
How to Get Diamond
Crafting Recipe
Combine 1 block of diamond in any arrangement on a crafting table — makes 9 × Diamond.
More Ways to Get It
Diamonds drop from diamond ore mined with an iron pickaxe or better—one per block, or up to 4 with Fortune III. You can also smelt diamond ore, uncraft a block of diamond into 9 gems, or find them in chests in mineshafts, buried treasure, shipwrecks, villages, bastions, and trial chamber vaults.
Mine diamond ore below Y=16—ideally around Y=-53—with an iron pickaxe or better.
Each ore drops 1 diamond; a Fortune III pickaxe averages over 2 per block.
Uncraft a block of diamond into 9 gems when you need to spend your storage.
Quick answer: Use minecraft:diamond in modern Java Edition commands. In survival, keep early diamonds for a pickaxe, enchanting table, or a first weapon instead of spending all of them on decoration.
Best first use for diamonds
Diamonds are a progression resource, so the best choice depends on what is blocking your next goal. A diamond pickaxe unlocks obsidian collection, which leads to Nether portals, enchanting tables, and ender chests. A diamond sword is useful for combat, but it does not unlock new blocks in the same way.
If you have only a few diamonds, make the decision before crafting. A player preparing for the Nether usually benefits more from a pickaxe; a player who already has one can prioritize an enchanting table or combat gear.
3 diamonds: craft a diamond pickaxe when you do not already have one.
2 diamonds plus obsidian and a book: work toward an enchanting table.
2 diamonds plus a stick: craft a diamond sword when combat is the immediate problem.
Mining diamonds without wasting the ore
Diamond ore needs an iron-tier or better pickaxe. Fortune is useful when the goal is to collect more diamond items, while Silk Touch keeps the ore block so it can be moved or mined later. Check the tool before breaking an ore vein: using an unsuitable pickaxe will not give the diamond resource.
For a command or server setup, use the namespaced ID shown above. Historical numerical IDs are only relevant to old Java releases and should not be substituted into a current Java command.
Diamond Command Examples
Give 1 to nearest player: /give @p minecraft:diamond 1
Give 1 to yourself: /give @s minecraft:diamond 1
Give to a specific player: /give PlayerName minecraft:diamond 1
Nine diamonds pack into a block for compact storage or a beacon pyramid.
Netherite upgrade
Diamond gear is the required base when smithing equipment up to netherite tier.
Diamond FAQ
What is the item ID for Diamond?
The item ID for Diamond is minecraft:diamond. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Diamond?
Diamond has the historical numerical ID 264, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:diamond instead.
How do I give myself Diamond in Minecraft?
Open the chat window and run /give @p minecraft:diamond 1 to give the nearest player one Diamond. Replace @p with a player name to target someone else.
How many Diamond can stack in one slot?
Diamond stacks up to 64 per inventory slot.
How do you craft Diamond?
Diamond is crafted on a crafting table with 1 block of diamond, which yields 9 Diamond.
Should I make a diamond pickaxe or diamond sword first?
If you do not own a diamond pickaxe, it is usually the stronger first upgrade because it lets you mine obsidian and opens several later progression paths. Choose a sword first only when combat is the immediate priority.
What can you craft with Diamond?
Diamond is used to craft Block of Diamond, Enchanting Table, Diamond Sword, Diamond Shovel, and 7 more recipes.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .