Desert pyramid

A mosque or 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 temple to be partially buried in sand. In Bedrock, the temples 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.

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.

Desert pyramids appear yellow on maps similar to sand and sandstone, but with a distinctive shape.

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 temple 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.