Desert pyramid

A desert pyramid, colloquially called a desert temple, is a sandstone structure sometimes generated in deserts, where a hidden fosse containing loot is protected by a TNT trap.

Generation
Desert pyramids are uncommon and may generate in deserts.

Structure
Desert pyramids are constructed with normal, chiseled and cut sandstone, orange and blue terracotta, sandstone slabs and sandstone stairs. There is one main entrance at the ground floor level, a one block wide entrance at the top and two more entrances on the left and right sides near the top of the pyramid. The top of the pyramid's ceiling is almost always above ground, so a buried pyramid is accessible, but fall damage is likely. In the center of the pyramid's 21×21 ground floor is a checkerboard pattern of terracotta and sandstone as a wind rose symbol, with a block of blue terracotta in the center. Underneath this terracotta is a secret room, the fosse, containing four chests, which are rigged by a stone pressure plate directly under the blue terracotta block. The pressure plate is connected to a 3×3 grid of TNT, which means that if a player or mob unintentionally steps on the plate, it sets off the nine TNT blocks, which destroy the chests and their loot.

As there is no light in the fosse, mobs sometimes spawn inside and trigger the TNT trap, destroying the chests and loot before any player can reach it.

When a desert pyramid generates above a canyon (ravine), it has a deeper foundation.

Loot
The loot chances above are per chest, and there are four chests. Each chest has a 2.6% chance of an enchanted golden apple, but with four chests, each pyramid has a 10% chance of having at least one for example.

Trivia

 * There are hieroglyphics on each temple tower. These orange symbols on the outside of desert pyramids resemble the ancient Egyptian symbol for life, an, the key.
 * Maps can be used as a useful resource to find desert pyramids because they differentiate those temples from the desert's sand dunes.
 * Desert pyramids are the first structures in which TNT blocks are found naturally.
 * The very close presence of chest and TNT in this location allows players, in multiplayer, to surprise their opponents by switching the chest to a trapped chest.