How to Always Find Buried Treasure in Minecraft Java Edition
Buried treasure is one of Minecraft Java Edition's most reliable sources of early-game loot — heart of the sea, iron, gold, TNT, and occasionally diamonds. The problem most players face isn't that buried treasure is rare. It's that they don't know the system well enough to use it efficiently. Once you understand how the game generates and marks treasure, finding it every time becomes straightforward.
What Is Buried Treasure and Why Does It Matter?
Buried treasure is a naturally generated loot chest that spawns underground, almost always on beaches or occasionally underwater near ocean floors. Its most important drop is the heart of the sea, which is the only way to craft a Conduit — a powerful underwater breathing and combat utility block.
Each treasure chest is one-of-a-kind per map location, and it's always associated with a treasure map found inside shipwrecks. You don't technically need the map to find treasure, but it makes the process far more reliable.
Step 1 — Find a Shipwreck and Get the Treasure Map 🗺️
Shipwrecks spawn in ocean biomes, on beaches, and occasionally underground near shore. They contain up to three chests depending on how intact the wreck is:
- Supply chest — food and basic supplies
- Treasure chest — iron, gold, emeralds, and lapis
- Map chest — this is the one you want
The map chest is always located in the bow (front) section of the ship. Not every partial shipwreck will have all three chests, so look for wrecks that still have their bow section intact.
Once you retrieve the Explorer Map from the map chest, it will show a red X marking the treasure location relative to your current position.
Step 2 — Read the Treasure Map Correctly
The treasure map renders the surrounding terrain with your position shown as a white dot. The red X marks the exact chunk where the treasure is buried.
Key things to understand about how the map works:
- The map centers on the nearest buried treasure to where the shipwreck spawned — they are always paired in the same general area
- As you move toward the X, your white dot moves in real time
- The map is zoomed in by default, so the X is closer than it may appear on screen
- You are not always standing on top of the treasure when the dot overlaps the X — the X represents a chunk, and the chest spawns at a specific coordinate within it
Step 3 — Use Coordinates to Land Precisely on the Treasure 🎯
This is where most players lose time. They reach the general area but dig in the wrong spot.
Buried treasure always spawns at chunk coordinate (9, ~, 9) — meaning X position 9 and Z position 9 within whatever chunk it occupies. In Minecraft Java Edition, you can calculate this:
- Press F3 to open the debug screen
- Find your XYZ coordinates
- The treasure chest will be at an X coordinate ending such that
X mod 16 = 9andZ mod 16 = 9
In practical terms: stand on the red X, then adjust your position until your X and Z coordinates both have a remainder of 9 when divided by 16. That's the exact column where the chest sits.
For example, if you're near X=245, Z=130 — the treasure will be at X=249, Z=137 (since 249 mod 16 = 9, and 137 mod 16 = 9).
Step 4 — Dig at the Right Depth
Buried treasure almost always spawns one block below the surface of whatever material is on top of it. On beaches, that usually means it's under one or two layers of sand. The chest itself typically sits at Y=~59 or just below sea level, but this varies depending on terrain generation.
Practical approach:
- Stand on your calculated X/Z coordinate
- Dig straight down through sand, gravel, or dirt
- The chest is rarely more than 5–6 blocks deep
- If you hit stone and haven't found it, recheck your X/Z calculation
Occasionally treasure generates inside a cliff face or slightly submerged, which can make it appear deeper than usual.
Variables That Affect How Quickly You Find Treasure
Even with the correct method, several factors influence how smooth the process is:
| Variable | How It Affects the Hunt |
|---|---|
| Terrain type | Beach sand = easy dig. Stone cliff = slower |
| Seed generation | Some seeds place treasure near shipwrecks; others space them further |
| Biome | Stony shores and frozen beaches can bury treasure deeper or in less obvious terrain |
| Java version | Chunk coordinate rules have been consistent for some time, but world generation details vary slightly between versions |
| Render distance | Lower render distance means the map may not fully load while you're navigating |
What If the Chest Isn't There?
If you've confirmed your coordinates and still can't find the chest, a few things may be happening:
- You miscalculated the chunk offset — double-check using F3 and the mod 16 formula
- The terrain was modified — in older worlds or modified seeds, generation can behave unexpectedly
- You're on the wrong map — each Explorer Map pairs with one specific chest; using a second map from a different shipwreck takes you to a different location
- Bedrock vs Java confusion — the chunk spawning rules described here apply specifically to Java Edition; Bedrock Edition has different generation behavior
The Bigger Picture — Skill Level and Playstyle Matter
The mod-16 chunk coordinate method works reliably and takes seconds once you're comfortable reading F3 data. But if you're newer to using the debug screen, or if you're playing on a server with F3 disabled, your approach may need to look different — relying more on careful map reading and systematic digging in a wider area.
Players comfortable with coordinates will locate treasure in under two minutes. Players still learning to read the debug overlay may prefer marking the X on a surface map and digging in a grid pattern around it. Both work — they just take different amounts of time and prior knowledge depending on where you are in your Minecraft experience.