Desert pyramid

A desert pyramid, commonly referred to as desert temple, is a sandstone structure generated in deserts. Each pyramid has a hidden chamber containing loot that is protected by a TNT trap.

Generation
Desert pyramids generate uncommonly in deserts. The floor is always at Y-coordinate 64, sometimes causing the pyramid to be partially buried in sand. In Bedrock Edition, the pyramids also generate in desert hills.

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 and two more entrances on the left and right sides near the top of the pyramid. There is also a one block wide hole at the top of the desert pyramid, which can potentially be used to enter.

In the center of the pyramid's 21×21 ground floor is a checkerboard pattern of terracotta and sandstone, with a block of blue terracotta in the center. Underneath this terracotta is a chamber 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 TNT, which destroys the chests and their loot.

Loot
The loot chances above are per chest, and there are four chests. For example, 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.

Trivia

 * The orange symbols on the outside is the Ancient Egyptian symbol for life, an Ankh
 * As there is no light in the lower chamber, mobs sometimes spawn inside and trigger the TNT trap, destroying the chests and loot before any player can reach it. Rarely a lava lake might generate next to TNT, also potentially setting off the trap.
 * A desert pyramid does not generate fully if generated partially on lakes.
 * The top of the pyramid's ceiling is almost always above ground, so a buried pyramid is accessible, but fall damage is likely.
 * When a desert pyramid generates above a canyon, it has a deeper foundation like the village houses prior to the Village and Pillage update.