Buried Treasure

Buried treasure is a naturally generated structure consisting of a buried loot chest. The chest is buried primarily in beaches, and rarely in the ocean floor. Buried treasure is the only source of the heart of the sea, which can be used to craft a conduit. Buried treasure can be located using explorer maps.

Generation
Buried treasure structures generate in beach biomes, and can also generate underwater.

The treasure chest is almost always buried by some material. Most of the time the chest generates buried in a beach, so it has a sand or gravel block covering it. Sometimes, if generated on the side of an underwater hill, it spawns with stone blocks covering it. If it generates on the surface of the ocean floor, a gravel or sand block covers it. Nonetheless, terrain generation can cause the chest to be buried by any suitable terrain-generated blocks, such as coal ore and diorite.

$$, buried treasure always generates at chunk coordinate 9 on both the X and Z axes, and are always facing east.

$$, buried treasure always generates at chunk coordinate 8 on the X and Z axes.

Structure
Buried treasure structures contain a single chest full of various loot. If the chest is exposed to water, it generates waterlogged.

Loot
A Heart of the Sea is always present in every buried treasure.

Trivia

 * Buried treasures are the smallest naturally-occurring structure in the game.
 * In Java Edition, the player arrow is shown under the X of the treasure, but in Bedrock Edition, the player arrow is shown on top of the X.
 * In Java Edition, the buried treasure structure clones the block that the chest replaces into any air or water blocks on the sides and top. Therefore, if a buried treasure chest replaces a spawner, up to five spawners with empty NBT data (pig spawners) can generate around it. This bug was fixed in 1.17 Pre-release 1.
 * In Java Edition, the buried treasure contains the highest number of diamonds per chest among all generated structures, at an average of 1.25 diamonds per chest, while the end city only has an average of 1.06 diamonds per chest.