Underground Desert

The Underground Desert is a biome located directly underneath a Desert biome. On the the Desert above may generate different features which informs that the Underground Desert is underneath, whereas on the  the Desert will always generate a large 'antlion funnel' which leads down into the Underground Desert. See Surface Desert below for details. The Desert/Underground Desert pair will always generate on the same side of the world the Jungle is on.

The structure of the Underground Desert resembles that of a real-world ant hive, featuring numerous small caves mainly composed of Sandstone Blocks and Hardened Sand Blocks, which are connected in varying degree. It is very large when fully explored, rivaling even the Dungeon in size, and is always either circular or oval in shape. The Underground Desert is inhabited by many types of Antlion enemies and is also riddled with traps, making it a challenge to navigate.

The Underground Desert becomes significantly more challenging in Hardmode. Along with harder enemies, the Underground Desert is extremely vulnerable to conversion by Corruption, Crimson, or Hallow due to Sand, Hardened Sand, and Sandstone all being susceptible to conversion. Conversion further strengthens the Underground Desert's enemies, and in Corruption and Crimson Underground Deserts, causes the spawn of Desert Spirits.

Removing the background walls will remove the biome in similar fashion to Spider Caves.

Surface Desert
On the, the Desert above the Underground Desert may generate with various surface features, including one or more Oasis mini-biomes, or one of several types of entrances. There is a chance that a world's main Desert will contain one of the various types of entrance. These can assist in locating and accessing the Underground Desert from the surface. The presence of an Oasis does not indicate where the Underground Desert is, as the Oasis mini-biomes can generate atop any of the world's Deserts, regardless of which of them contains the Underground Desert biome.

On the, the Desert above the Underground Desert will always contain a large Pit-style entrance. This makes finding and accessing the Underground Desert from the surface very easy.

On all versions, it is possible for one or more Pyramids to generate in the main Desert. When this happens, the Pyramid will often extend somewhat into the Underground Desert, and thus its tunnel can provide another easy means of entry. As with the mini-biome, Pyramids can generate in any of the world's Deserts, regardless of where the Underground Desert is located, and so their presence does not guarantee that the Underground Desert is below.

See Desert for more information about the surface entrances to the Underground Desert.

Spawning mechanics
None of the Underground Desert enemies require an actual Desert biome to spawn. The three "tainted" Ghouls each only spawn in their respective Corrupt/Crimson/Hallowed biomes. When in an evil biome, dark-haired Lamia will replace their counterpart and Desert Spirits will replace Sand Poachers. Antlion Larvae only spawn when Antlion Eggs are broken.

To successfully spawn an enemy on a selected tile, the following checks are done:


 * The spawn tile must be more than 10 tiles in from any edge of the world, including unreachable tiles.
 * The spawn tile must be below the halfway point between the Surface and the top of the world, including the unreachable tiles.
 * The spawn tile can be any active (not actuated) solid block, which includes platforms or any other valid spawning surface.
 * The wall behind the spawn point and the 49 tiles above it must each be either Sandstone Wall (or its "tainted" variants) or Hardened Sand Wall (or its "tainted" variants)

Tips

 * The enemies are very dangerous early on, so it is advised to have ample Grenades on hand as well as some form of movement-based Accessory to make it less difficult to deal with them. Gold/Platinum armor is recommended due to the high damage dealt by the Antlion Swarmers and Chargers.
 * Minions give several advantages in the underground desert that most other weapons do not. The underground desert's main dangers are fast-moving, knockback resistant enemies and rolling cacti. Minions counteract these by being summonable on the other side of walls, reacting to quick-moving enemies without requiring player interactions, contributing knockback independently of the player's actions, and triggering rolling cacti remotely (which may require summoning them directly on the cacti multiple times or waiting to summon them until an enemy passes by).

Trivia

 * In the real world, larval s create funnel-like pits in the ground and fling sand at prey that pass by. The funnel and burrow entrance types to the Underground Desert are presumably inspired by this.

History
Untergrundwüste Désert souterrain Földalatti sivatag Deserto Subterrâneo Подземная пустыня 地下沙漠