Buried Treasure

Buried treasure existed from 1.12 for java edition and 1.4 for bedrock Buried treasure is a naturally generated structure which consists of a buried loot chest.

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

They can be located using buried treasure explorer maps.

Structure
Buried treasure structures contain a single chest. The chest is almost always buried by some material. Sometimes, if generated on the side of an underwater hill, they will spawn with a stone block covering it up. If they generate on the surface of the ocean floor, a gravel or sand block will be used to cover it up.