Dirt Command Examples
- Give 1 to nearest player:
/give @p minecraft:dirt 1 - Give 1 to yourself:
/give @s minecraft:dirt 1 - Give to a specific player:
/give PlayerName minecraft:dirt 1 - Clear from inventory:
/clear @p minecraft:dirt
What Is Dirt Used For?
Grass Block
Place dirt next to grass to let grass spread and restore a natural surface.
Carrot
Till dirt into farmland first, then use it as crop-growing ground.
Coarse Dirt
Use dirt as part of a rougher terrain palette alongside coarse dirt.
Dirt FAQ
What is the item ID for Dirt?
The item ID for Dirt is minecraft:dirt. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Dirt?
Dirt has the historical numerical ID 3, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:dirt instead.
How do I give myself Dirt in Minecraft?
Open the chat window and run /give @p minecraft:dirt 1 to give the nearest player one Dirt. Replace @p with a player name to target someone else.
How many Dirt can stack in one slot?
Dirt stacks up to 64 per inventory slot.
What can you craft with Dirt?
Dirt is used to craft Coarse Dirt.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .
