Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 56 1
Give command syntax by version
Java 1.13+
/give @p minecraft:diamond_ore 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 56 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:diamond_ore 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 Ore
Finding Diamond Ore
Mine Diamond Ore blocks with a Silk Touch tool.
More Ways to Get It
Diamond Ore generates between Y=16 and Y=-63 and gets more common the deeper you go, with the richest layers around Y=-50 to Y=-64; ore blocks often skip generating when exposed to air, so strip-mining rivals caving. It needs an iron pickaxe or better and drops 1 diamond plus 3–7 experience; Fortune III averages 2.2 diamonds per block, and Silk Touch moves the block intact.
Descend below Y=16—branch-mine around Y=-53 for the best balance of density and lava safety.
Mine the blue-flecked ore with an iron pickaxe or better; anything weaker destroys it.
Collect the diamonds, ideally with a Fortune III pickaxe for a chance at 2–4 per block.
Smelting a Silk-Touched ore block yields one diamond with bonus experience.
Diamond Ore FAQ
What is the item ID for Diamond Ore?
The item ID for Diamond Ore is minecraft:diamond_ore. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Diamond Ore?
Diamond Ore has the historical numerical ID 56, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:diamond_ore instead.
How do I give myself Diamond Ore in Minecraft?
Open the chat window and run /give @p minecraft:diamond_ore 1 to give the nearest player one Diamond Ore. Replace @p with a player name to target someone else.
How many Diamond Ore can stack in one slot?
Diamond Ore stacks up to 64 per inventory slot.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .