Updated:

Dirt Path: item ID and commands

The ID for Dirt Path is minecraft:dirt_path. It is a placeable block, so the same ID works in /give, /setblock and /fill. It was added in Java 1.17.

Basic data

NameDirt Path
ID (Java Edition)minecraft:dirt_path
TypeBlock (also an item)
Java versionsJava 1.17 and later
Bedrock 26.52Not tested
Stack size64
Hardness0.65
Blast resistance0.65
Best toolShovel

Commands you can copy

Java Edition

Give one

/give @p minecraft:dirt_path 1

Give a full stack (64)

/give @p minecraft:dirt_path 64

Place at your feet

/setblock ~ ~ ~ minecraft:dirt_path

Fill a 5×5 floor

/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:dirt_path

Remove from inventory

/clear @p minecraft:dirt_path

Open this command in the Give generator

Bedrock Edition

This ID has not been tested on Bedrock. Check the in-game suggestions before running it.

Version notes

It was added in Java 1.17. Older versions report that the ID is unknown.

Java 1.20.5 and later write extra item data in [ ] (components); 1.20.4 and earlier use { } (NBT). A plain /give with only the ID is the same in both.

Questions

What is the ID for Dirt Path?

It is minecraft:dirt_path. In commands you can also write dirt_path without minecraft:.

Why does the command turn red?

The ID is misspelled, or it does not exist in that version yet. Dirt Path works in Java 1.17 and later. The Command Error Doctor can check it.

Related IDs