{{for}}
{{Infobox block
| image=dirt.png
| transparent = No
| light = No
| tool = shovel
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Dirt''' is a [[block]] found abundantly in most [[biome]]s under a layer of [[grass block]]s at the top of the [[Overworld]].

== Obtaining ==
=== Breaking ===
Dirt drops as an item when broken with any tool or by hand, but a [[shovel]] is the quickest way to break it.
{{breaking row|horizontal=1|Dirt|Shovel}}
[[Farmland]], [[dirt path]]s, grass blocks, [[mycelium]], and [[podzol]] drop dirt if broken without [[Silk Touch]]. Farmland and dirt paths{{only|java|short=1}} drop dirt even if broken with Silk Touch.

=== Natural generation ===
Dirt comprises the majority of the upper terrain layers in most Overworld biomes, bridging the gap between [[stone]] and [[grass block]]s in various thicknesses.

There are approximately 1,850 dirt blocks per [[chunk]] in [[plains]], [[forest]], [[snowy plains]], [[jungle]], and [[windswept hills]] biomes. In [[village]]s, dirt generates naturally as part of several different structures. In [[woodland mansion]]s, dirt generates in several types of rooms. Four blocks of dirt also generates as part of each [[ancient city]] and they also generate in [[trail ruins]].

And can have a chance to generate in [[trial chambers]] entrances.

Dirt can generate in the Overworld in the form of [[Ore (feature)|ore blob]]s. Dirt attempts to generate 7 times per [[chunk]] in blobs of size 0–160 at Y=0–160, in all biomes. It can replace [[stone]], [[granite]], [[andesite]], [[diorite]], polished granite{{only|be|short=1}}, polished andesite{{only|be|short=1}}, polished diorite{{only|be|short=1}}, [[tuff]]{{only|je|short=1}}, and [[deepslate]]{{only|je|short=1}}.

{{Block distribution}}

=== Mob loot ===
An [[enderman]] drops a dirt block upon death, if holding one.

=== Post-generation ===
[[Farmland]] turns into dirt if either a [[mob]] jumps on it, a solid block is placed over it, or nothing is planted on it and it is not within four blocks of [[water]].

A [[dirt path]] immediately turns into dirt if a solid block is placed over it.

[[Coarse dirt]] can be tilled with a [[hoe]] to become dirt.

Tilling [[rooted dirt]] with a hoe turns it into normal dirt and yields a [[hanging roots]] item.

Grass blocks and [[mycelium]] can die under various circumstances. When they die, they turn into dirt.

=== Renewability ===
{{See also|Tutorials/Dirt farming}}
By tilling coarse dirt, the player can convert [[gravel]] into dirt. Two blocks each of gravel and dirt become four blocks of coarse dirt, which can then be placed and tilled. Since gravel is renewable through [[bartering]] with [[piglin]]s, this makes a renewable source of dirt.

Another way to obtain renewable dirt makes use of [[moss block]]s. [[Azalea]] converts the moss block below it into rooted dirt when grown into a [[azalea tree|tree]]. In [[Bedrock Edition]], most [[Sapling|saplings]] will convert the [[Moss Block|moss]] directly below it into dirt, sometimes a minute after it's grown into a tree. {{IN|java}}, Large [[spruce tree]]s convert up to about 100 moss blocks into podzol when grown. Since moss can be converted from stone using [[bone meal]], and stone can be renewably generated with water and [[lava]], dirt can be renewably created as long as there is access to water, lava and moss blocks.

A third way to obtain renewable dirt is by buying podzol or rooted dirt from [[wandering trader]]s. However, only 18 blocks of podzol or 10 blocks of rooted dirt can be purchased from each trader, so this method cannot be performed on a large scale.

== Usage ==
Dirt's primary use is for farming, but due to its abundance, it can also be used as a highly available building block.

=== Crafting ingredient ===
{{crafting usage}}

=== Farming ===
Dirt has the ability to grow [[sapling]]s, [[sugar cane]], [[mushroom]]s, [[sweet berries]], and [[bamboo]], which can be planted directly in dirt under appropriate conditions.

Using a [[hoe]] on dirt turns it into [[farmland]], enabling [[wheat seeds]], [[pumpkin seeds]], [[melon seeds]], [[potato]]es, [[carrot]]s, [[beetroot seeds]], [[pitcher pod]]s, and [[torchflower seeds]] to be planted on it.

=== Dirt path ===
{{Control|Using}} a [[shovel]] on dirt turns it into a [[dirt path]].

=== Grass and mycelium spreading ===
{{see also|Grass Block}}
When a dirt block is adjacent to a grass block and is exposed to a [[light]] level of at least 4, it is eventually converted into a grass block at random intervals.

[[Mycelium]] spreads in a similar fashion, but requires a light level of at least 9.

=== Mud ===
{{control|Using}} a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] will convert the dirt into [[mud]].

== Sounds ==
=== Generic ===
{{Sound table/Block/Gravel}}

=== Unique ===
{{Edition|Java}}
{{SoundTable
| type = java
| {{SoundLine
|sound =Water splash1.ogg
|sound2=Water splash2.ogg
|subtitle=Splashing
|source=block
|description=When a player creates a mud block
|id=entity.generic.splash
|translationkey=subtitles.entity.generic.splash
|volume=1.0
|pitch=1.0
|distance=16}}
| {{SoundLine
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|subtitle=Bottle empties
|source=block
|description=When a player or dispenser creates a mud block
|id=item.bottle.empty
|translationkey=subtitles.item.bottle.empty
|volume=1.0
|pitch=1.0
|distance=16}}
| {{SoundLine
|sound=Shovel flatten1.ogg
|sound2=Shovel flatten2.ogg
|sound3=Shovel flatten3.ogg
|sound4=Shovel flatten4.ogg
|subtitle=Shovel flattens
|source=block
|description=When a shovel creates a dirt path
|id=item.shovel.flatten
|translationkey=subtitles.item.shovel.flatten
|volume=1.0
|pitch=1.0
| distance = 16
}}
}}

{{Edition|Bedrock}}:
{{SoundTable
| type = bedrock
| {{SoundLine
| sound =Water Splash Old.ogg
|source=player
|description=When a dispenser creates a mud block<wbr><ref group=sound>{{Bug|MCPE-155358}}</ref>
|id=random.splash
|volume=1.0
|pitch=0.6-1.4}}
| {{SoundLine
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|source=sound<!--bottle-->
|description=When a player creates a mud block
|id=bottle.empty
|volume=1.0
|pitch=1.0}}
| {{SoundLine
|type=bedrock
|sound=Grass hit1.ogg
|sound2=Grass hit2.ogg
|sound3=Grass hit3.ogg
|sound4=Grass hit4.ogg
|sound5=Grass hit5.ogg
|sound6=Grass hit6.ogg
|source=block
|description=When a shovel creates a dirt path<wbr><ref group=sound>{{Bug|MCPE-114390}}</ref>
|id=use.grass
|volume=1.0
| pitch = 0.8
}}
}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Dirt
|spritetype=block
|nameid=dirt
|blocktags=bamboo_plantable_on, dirt, dripstone_replaceable_blocks, enderman_holdable, lush_ground_replaceable, mineable/shovel, moss_replaceable, sniffer_diggable_block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Dirt
|spritetype=block
|nameid=dirt
|aliasid=dirt / 0
|id=3
|translationkey=tile.dirt.default.name
|foot=1}}

== History ==
{{HistoryTable
|{{HistoryLine|java pre-classic}}
|{{HistoryLine||rd-20090515|[[File:Dirt JE1.png|32px]] Added dirt.
|[[Grass Block|Grass]] spreads to dirt when under [[light]].}}
|{{HistoryLine|java Classic}}
|{{HistoryLine||0.24 SURVIVAL TEST|Grass blocks and dirt now drop dirt when broken.}}
|{{HistoryLine|java indev}}
|{{HistoryLine||unknown|Dirt now uses a [[sound]] distinct from [[grass block|grass]].}}
|{{HistoryLine||20100206-2034|Dirt can now be tilled with a [[hoe]] into [[farmland]].}}
|{{HistoryLine|java infdev}}
|{{HistoryLine||20100617-1531|Dirt and [[gravel]] now generate naturally as [[Ore (feature)|ore feature]]s underground.}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.8|dev=Pre-release|Dirt now generates naturally in [[village]]s and [[mineshaft]]s.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease|[[Mycelium]] has been introduced, and now spreads to dirt.}}
|{{HistoryLine|||dev=Beta 1.9 Prerelease 5|[[File:Dirt JE2 BE2.png|32px]] The texture of dirt has been changed. Dirt now has a slightly different arrangement of grains around the sides.}}
|{{HistoryLine||1.1|dev=12w01a|Dirt is now generating in [[Superflat]] world type.}}
|{{HistoryLine||1.2.1|dev=12w07a|Player is now unable to till dirt with [[hoe]] when there is a block on top of the dirt.}}
|{{HistoryLine||1.4.2|dev=12w38a|Dirt has been given new [[sound]]s for being placed and walked upon.}}
|{{HistoryLine||1.8|dev=14w25a|Dirt can now be used to craft [[coarse dirt]].}}
|{{HistoryLine|||dev=14w27b|Dirt's textures now rotate randomly due to the addition of arrays to the [[Block models|block model format]].}}
|{{HistoryLine||1.11|dev=16w39a|Dirt now generates in [[woodland mansion]]s.}}
|{{HistoryLine||1.14|dev=19w05a|Dirt is now [[renewable]] due to the [[wandering trader]] selling [[podzol]].}}
|{{HistoryLine||1.16|dev=20w07a|As [[gravel]] has become renewable through [[bartering]] with [[piglin]]s, dirt can be more easily and renewably obtained through crafting and tilling [[coarse dirt]].}}
|{{HistoryLine||1.17|dev=20w45a|A [[shovel]] can now be used on dirt to create a [[dirt path]] block.}}
|{{HistoryLine|||dev=21w06a|The height limit was expanded down to Y{{=}}-64. Dirt [[Ore (feature)|blob]]s are temporary generating from Y{{=}}-64 instead of Y{{=}}0.}}
|{{HistoryLine|||dev=21w07a|Dirt ore features no longer generate below Y{{=}}0, but more common than in pre 21w06a versions.}}
|{{HistoryLine|||dev=21w15a|All the changes to dirt blob generation in the previous 1.17 snapshots have been reverted, but they can be re-enabled with the [[Caves & Cliffs Prototype Data Pack]].}}
|{{HistoryLine||1.18|dev=Experimental Snapshot 1|Dirt blob once again generates the way it did in the 1.17 snapshots without the use of a data pack.}}
|{{HistoryLine|||dev=21w37a|Dirt no longer generates as part of the starting room in [[mineshaft]]s.<ref>{{Cite bug|MC|215876|Dirt can generate below y{{=}}0 from mineshafts|date=February 17, 2021}}</ref><ref>{{Cite bug|MC|238311|Mineshaft dirt rooms above y{{=}}0 no longer generates with dirt|date=October 4, 2021}}</ref>}}
|{{HistoryLine|||dev=21w39a|Dirt blobs no longer generate above Y{{=}}160, and becomes rarer than before. Before, the spawn attempt is 15 times per chunk.}}
|{{HistoryLine||1.19|dev=22w11a|Using a [[water bottle]], [[splash water bottle]] or [[lingering water bottle]] now converts dirt into [[mud]].}}
|{{HistoryLine|||dev=22w13a|Dirt now generates as part of [[ancient cities]].}}
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|[[Sniffer]]s can now dig dirt.}}
|{{HistoryLine||1.20|dev=23w12a|Dirt now generates in [[trail ruins]].}}
|{{HistoryLine|||dev=23w16a|The amount of dirt in trail ruins has been tweaked.
|The game's application icon has been changed from [[crafting table]] to dirt (for snapshots).}}

|{{HistoryLine|pocket alpha}}
|{{HistoryLine||Pre-release|[[File:Dirt (texture) JE1 BE1.png|32px]] [[File:Dirt JE1 BE1.png|32px]] Added dirt.}}
|{{HistoryLine||v0.2.0|[[File:Dirt JE2 BE2.png|32px]] The texture of dirt has been changed.}}
|{{HistoryLine||v0.4.0|Dirt can now be [[hoe]]d into [[farmland]].}}
|{{HistoryLine||v0.8.0|dev=build 1|The textures of dirt are now randomly rotated.}}
|{{HistoryLine||v0.9.0|dev=build 1|[[File:Dirt JE2 BE2.png|32px]] Grassless dirt has been added.}}
|{{HistoryLine||v0.11.0|dev=build 1|Dirt can now be obtained by breaking [[grass path]] blocks.}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Dirt now generates in [[woodland mansion]]s.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.2.0|dev=beta 1.2.0.2|Grassless dirt has been replaced with [[coarse dirt]].}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|Dirt is now [[renewable]].}}
|{{HistoryLine||1.18.0|dev=beta 1.18.0.20|Dirt blob generation has now been tweaked to be in parity with ''Java Edition''.}}
|{{HistoryLine|||dev=beta 1.18.0.21|Dirt blobs no longer generate above Y{{=}}160, and becomes rarer than before. Before, the spawn attempt is 15 times per chunk.}}

|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Dirt JE1 BE1.png|32px]] Added dirt.}}
|{{HistoryLine||xbox=TU3|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Dirt JE2 BE2.png|32px]] The texture of dirt has been changed.}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|switch=1.0.1|Dirt can now be used to craft [[coarse dirt]].}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Dirt now generates in [[woodland mansion]]s.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.91|wiiu=none|switch=none|Dirt is now [[renewable]] due to the [[wandering trader]] selling [[podzol]].}}

|{{HistoryLine|new 3ds}}
|{{HistoryLine||0.1.0|[[File:Dirt JE2 BE2.png|32px]] Added dirt.}}
}}

=== Data history ===
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.8|dev=14w10a|Dirt with [[Java Edition data values/Pre-flattening/Block IDs/Before 14w25a|numerical metadata variants]] 3 through 15, which are inaccessible through normal gameplay, now have [[Missing model|no model]] [[File:Missing Model JE2.png|32px]] rather than appearing identical to dirt.}}
|{{HistoryLine|||dev=14w25a|Dirt and its variants are now defined via [[block states]] rather than by numerical metadata. Prior to this version, the numerical metadata variants of dirt were as follows:
{{dvt|spritetype=block|sprite=dirt|Dirt}}
{{dvt|sprite=dirt|[[Coarse Dirt|Grassless Dirt]]}}
{{dvt|sprite=podzol|[[Podzol]]}}
{{dvt|sprite=missing-texture-block|dv=3-15|[[Java Edition removed blocks/Metadata variants#Boring variants|Inaccessible "boring" variants of dirt]]|foot=1}}}}
|{{HistoryLine|||dev=14w26a|Dirt with metadata values 3 through 15 have now been completely removed from the game.}}
|{{HistoryLine||1.13|dev=17w47a|The different variant block states for the <code>dirt</code> ID have been split up into their own IDs.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this block's numeral ID was 3.}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||1.21.20|dev=Preview 1.21.20.22|The different [[block states]] for the <code>dirt</code> ID have now been split up into their own IDs.}}
}}

== Issues ==
{{issue list}}

== Gallery ==
=== Screenshots ===
<gallery>
Wormhole Cave Beta.png|A cave entrance containing multitudes of dirt.
Grass Spread.png|Grass spreading on a square of dirt.
Dirt Castle.png|A castle made of dirt.
</gallery>

== References ==
{{reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/block-week-dirt Block of the Week: Dirt] – Minecraft.net on February 23, 2018

== Navigation ==
{{Navbox blocks|natural}}

[[Category:Natural blocks]]
[[Category:Generated structure blocks]]

[[cs:Hlína]]
[[de:Erde]]
[[es:Tierra]]
[[fr:Terre]]
[[hu:Föld]]
[[it:Terra]]
[[ja:土]]
[[ko:흙]]
[[nl:Aarde]]
[[pl:Ziemia]]
[[pt:Terra]]
[[ru:Земля]]
[[th:ดิน]]
[[uk:Ґрунт]]
[[zh:泥土]]
