Back to Tools
Overworld structure finder

Minecraft Buried Treasure Finder

Minecraft buried treasure finder: enter a Java seed and get the X and Z of the nearest buried treasure chest, which always holds a Heart of the Sea.

Find the nearest buried treasure

Java Edition · seed-accurate via cubiomes

Buried Treasure
Enter a seed and where you're starting from
View in seed map JavaScript required — this runs WebAssembly.

The map opens on this seed in the Overworld, with buried treasure the only marker switched on.

About Buried Treasure

What the structure is, and what it's worth the trip for

Buried treasure is a single chest hidden under a beach. Every chest holds a Heart of the Sea, the item you need for a conduit, along with iron, gold, TNT and often emeralds and diamonds. Without a treasure map, finding one by wandering is slow, because nothing marks the spot on the surface.

Enter your seed and where you are standing, and this finder returns the exact column the chest sits in. Dig down at those coordinates and you hit it.

How it works

The placement rules this finder reproduces

Most structures are placed per region, a large grid cell that gets one attempt. Buried treasure is different: every 16 by 16 chunk gets its own roll, so the finder checks chunks one by one in rings around your starting point instead of whole regions. Only a small fraction of chunks roll a chest, and the roll is decided by the world seed alone.

A roll only counts when the chunk is a beach or snowy beach in Java Edition. The finder runs the same biome check against the seed's real terrain and throws away every roll that lands somewhere else, so the result is a chest that exists in the world, not just a lucky number. It then stops as soon as no unchecked chunk could be closer, which makes the answer the true nearest chest rather than the first one it met. It searches out to 4,096 blocks and reports if nothing turns up.

In Java the chest sits at chunk position 9, 9. That is why the X and Z you get back always leave a remainder of 9 when divided by 16, and it means the coordinates point at the chest itself, not just at the chunk. Bedrock uses position 8, 8 and produces treasure far more often, so Bedrock worlds do not match these numbers.

A treasure map from a shipwreck or ocean ruins chest points at the same kind of chest, but you have to find the wreck or the ruin first. This finder skips that step and works from the seed alone. Each chest it finds always holds one Heart of the Sea, along with iron ingots, gold ingots and TNT, and often emeralds, diamonds and prismarine crystals.

Worked example: on the pack.png seed 3257840388504953787, searching from 0, 0 returns -455, -247, about 518 blocks away. Check it: -455 is 29 chunks west plus 9 blocks, and -247 is 16 chunks north plus 9 blocks. The page uses Java 1.21.3 world generation, the same engine as the seed map, and the chest height is not computed because it depends on the beach surface, so dig from the top.

Tips

Getting a useful result on the first search

  • Bring a shovel. The chest is almost always under one block of sand or gravel, and on an underwater slope it can be under stone.
  • Set the From X and From Z fields to where you are, not to the spawn point, to get the closest chest to you.
  • Open the seed map zoomed in to see every chest around the result and pick the easiest beach.
  • A buried treasure map from a shipwreck or ocean ruins chest points at the same kind of chest, so you can check a map against this finder.
  • Chests exposed to water generate waterlogged, so expect to swim if the beach is shallow.

Frequently asked questions

What people ask about finding this structure

How do I find buried treasure from a seed? +

Enter your world seed and the coordinates you are standing at. The finder returns the X and Z of the nearest buried treasure chest. Walk there and dig straight down: the chest is almost always buried under a block of sand or gravel.

Where does buried treasure generate? +

In Java Edition it generates in beach and snowy beach chunks. The chest sits at the same spot in every chunk that has one, 9 blocks in from the chunk's corner on both axes, so the coordinates you get point at the chest itself.

How do I find buried treasure without a seed? +

Use a buried treasure map. Every shipwreck has a map chest that holds one, and some ocean ruins chests hold one too. The red X on the map marks the treasure.

What is inside a buried treasure chest? +

One Heart of the Sea every time, plus iron and gold ingots, TNT, and often emeralds, diamonds, prismarine crystals and cooked fish. Water Breathing potions and nautilus armor can also roll.

Does this work for Bedrock Edition? +

No. Bedrock places the chest at a different offset inside the chunk and generates buried treasure far more often, so Java coordinates will not line up in a Bedrock world.

Related on Crafty

The tools that pair with this one

More finders

The rest of the seed-based structure set