Original pixel art Diamond icon
Minecraft Java Item ID

Diamond ID

Diamond is a rare crafting material used for durable tools, weapons, armor, enchanting tables, jukeboxes, diamond blocks, and upgrades toward netherite equipment.

✓ Verified for Java Edition 26.2
Namespaced item ID minecraft:diamond

Diamond Item Facts

CategoryMaterials
Maximum stack64
Available inSurvival and Creative
Historical numerical ID (Java 1.12.2 and earlier)264

Historical numerical ID (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Diamond

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:diamond 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

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.

  1. Mine diamond ore below Y=16—ideally around Y=-53—with an iron pickaxe or better.
  2. Each ore drops 1 diamond; a Fortune III pickaxe averages over 2 per block.
  3. Uncraft a block of diamond into 9 gems when you need to spend your storage.

Prefer commands? Jump back to the give command matrix above to get Diamond instantly.

What Can You Craft With Diamond?

Diamond is a crafting ingredient in 11 reviewed recipes:

Diamond in Minecraft: What to Do With It First

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
  • Clear from inventory: /clear @p minecraft:diamond

What Is Diamond Used For?

Diamond Pickaxe

Three diamonds craft the pickaxe that mines obsidian and ancient debris.

Diamond Sword

Two diamonds plus a stick craft the durable melee weapon on the way to netherite.

Enchanting Table

Two diamonds with obsidian and a book craft the station that powers all enchanting.

Diamond Block

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 .

Related Materials

Item ID: minecraft:diamond_ore
Item ID: minecraft:diamond_pickaxe
Item ID: minecraft:diamond_sword
Item ID: minecraft:enchanting_table
Item ID: minecraft:diamond_block
Item ID: minecraft:netherite_ingot
Item ID: minecraft:blaze_rod
Item ID: minecraft:heart_of_the_sea