Dirt Block

Dirt Blocks are one of the most common block types in the game, covering a huge chunk of the world's surface. They are almost surely the most visible and accessible block to new players, which makes them useful for building a rudimentary shelter to take refuge in during a player's first night. Dirt blocks may be covered by regular grass, corrupted grass, crimson grass or hallowed grass (upon engaging hardmode), which spread from nearby grass-covered dirt blocks. It can be moved around freely with a Dirt Rod.

Location
Natural caverns close to the surface are largely made of dirt. When the Underground starts, the caverns are made of roughly 50% of dirt. To the point below where the sand is generated, small amounts of dirt is generated which lasts until the bottom of the Cavern. After the Wall of Flesh has been defeated on a world, new dirt can be formed from Mud Blocks that are near corruption.

Properties
Dirt blocks are one of the most fragile blocks in the game. A single hit from most Pickaxes will successfully mine them, but dirt blocks with any kind of grass on them will take two hits.

NPCs won't accept a house made with naturally occurring dirt walls. The background walls must be crafted and placed by the player to be considered safe for habitation. Player placed dirt walls have different data values than the generated dirt wall, but still merge with the natural dirt wall.

Bare dirt below sea level, as well as dirt surrounded by other blocks on all 8 sides, serves as a natural barrier for both The Corruption and The Hallow, as it cannot be converted without grass growing on it.

History
Bloc de terre Земляной блок