You cannot type a magic seed that guarantees an ancient city right where you spawn, but you can use a seed plus the coordinates it produces to walk straight to one. The working method is: create a new Java world with a known ancient city seed, then use the seed's coordinates, a chunk base calculator, or the in-game locate command (with cheats on) to find the city and travel to it. Ancient cities spawn only deep underground in the Deep Dark biome, usually under mountainous or hilly terrain at very low Y levels, so expect to dig or cave down rather than spot one on the surface.

What You'll Need

  • Minecraft Java Edition, current release version, launched from the official launcher.
  • A new world slot you are willing to dedicate to this seed, or a backup of an existing world before you change anything.
  • A seed string or a seed number you have verified works for ancient cities in your version. Seeds behave differently between major versions, so match the version the seed was shared for, or test it yourself.
  • Optional but very helpful: cheats enabled on a test world so you can use the locate command, or a web-based chunk/base coordinate tool for your seed.
  • Basic gear for the trip: decent armour, food, torches, a pickaxe, and wool or a bed if you want to set a respawn point nearby. Sculk sensors and shriekers make noise dangerous, so plan to move slowly.

Step-by-Step

  1. Back up or pick a fresh world. From the title screen choose Singleplayer, then Create New World, or duplicate an existing world first. If you are testing several seeds, create a dedicated test world for each so you do not overwrite a survival world.
  2. Enter the seed. In the world creation screen, open More World Options (labels differ slightly between versions and launchers) and paste the seed into the Seed for the World Generator field. Java Edition accepts both text seeds and numeric seeds; a text seed is converted internally, so copy it exactly, including capital letters and spaces.
  3. Choose the right game mode for scouting. For a first check, use Creative or Survival with cheats on. Creative lets you fly straight down and confirm the city is there without dying to a warden. You can recreate the same seed later in Survival with the same settings for the real playthrough.
  4. Confirm the version. The seed must be generated on the same major version the coordinates were shared for. If the seed was posted for an older release, the terrain and structures may have moved. Whether a seed still matches depends on version-specific world generation, so verify by travelling to the coordinates rather than trusting the number alone.
  5. Get the coordinates. Most shared ancient city seeds come with a set of coordinates, often written as X, Y, Z with Y around -51. If the seed has no coordinates, use the locate command in a cheats-enabled world: press T to open chat, type /locate structure ancient_city, and press Enter. The game returns the nearest ancient city's coordinates.
  6. Travel to the coordinates. In Creative, fly to the X and Z values and descend to the Y value. In Survival, walk or boat to the X and Z first, then dig a safe staircase down. Never dig straight down; use a two-block stair pattern and place torches as you go so you can climb back out.
  7. Enter the Deep Dark carefully. Around the city you will see sculk blocks, sculk veins and sculk sensors. Sneak (hold Shift) near sensors and shriekers. Breaking blocks, walking, jumping and dropping items all make noise that sensors detect, and repeated shrieker triggers summon the warden.
  8. Mark your route. Place torches or blocks at the entrance and at turns. Ancient cities are maze-like, and the deep dark is dark enough that returning without markers is frustrating. Keep a written note of the entrance coordinates.
  9. Loot the city. Chests appear in structures around the city, and the central structure holds the most valuable loot. Bring an empty inventory, or a shulker box if you have one, and move between chests slowly and quietly.
  10. Set a safe respawn. Place a bed well away from the city, outside the deep dark, and sleep in it. Do not place a bed inside the city to fight the warden; beds explode in the Deep Dark dimension's dimension-like conditions in the sense that the warden's sonic boom and the darkness effect make sleeping there impractical. Keep your respawn outside the danger zone.

Common Mistakes

  • Using a Bedrock seed in Java. Seeds are not interchangeable between editions. A seed shared for Bedrock can produce completely different terrain in Java.
  • Ignoring the version. A seed that worked in one release may not place the city at the same coordinates after world generation changes. Always test before committing a survival world.
  • Mistyping the seed. A single wrong character creates an entirely different world. Copy and paste where possible, and double-check capitals.
  • Digging straight down. This is the most common way players lose a hardcore world. Use stairs, and watch for lava and caves below.
  • Running and jumping near sensors. Noise is the whole mechanic of the Deep Dark. Sprinting to the chest is how players meet the warden.
  • Expecting the city at the surface. Ancient cities are always deep underground. If you see daylight and no sculk, you are not there yet.

Tips

  • Use wool to block sculk shriekers from hearing you; wool muffles vibration. Place wool around a shrieker before you pass if you must cross near one.
  • Carry a bucket of water or powder snow if you plan to escape a warden; the warden is blind and tracks by sound and smell, so moving quietly and breaking line of sight helps more than fighting.
  • Scout in Creative first on the exact seed and version, note the coordinates of chests and the entrance, then recreate the world in Survival.
  • Bring night vision potions or plenty of torches. The darkness effect in the city reduces visibility regardless of light level, so extra light sources help navigation.
  • Write the seed down somewhere permanent. Losing a good seed string after hours of play is a common regret.

Troubleshooting

If the city is not at the coordinates, first confirm you are on the right version and edition. Recreate the world using the same seed and check again in Creative. If the seed was shared for a different release, the structure may have moved or vanished; pick a seed confirmed for your version instead.

If /locate structure ancient_city returns nothing nearby, the nearest city may be thousands of blocks away. Run the command again after travelling toward the returned coordinates, or try a different seed. If cheats are off, you cannot use the command; enable cheats when creating the world, or use a chunk coordinate tool for your seed instead.

If you cannot find an entrance, look for the large sculk-covered structures with deepslate and reinforced deepslate frames; the city extends outward from a central area. Dig around the perimeter rather than straight into the middle, where you are more likely to trigger shriekers.

If the warden keeps finding you, stop moving, break line of sight, and move away slowly. Do not try to fight it without strong gear; retreating to the surface is usually the right call.

Frequently Asked Questions

Can I get an ancient city right at spawn?

Rarely, and only with a seed that has been verified for the exact version you are playing. Most seeds place the nearest city hundreds or thousands of blocks away, so plan to travel.

Do Java and Bedrock seeds work the same?

No. The two editions generate worlds differently, so a seed from one does not reliably produce the same structures in the other.

What Y level are ancient cities at?

They sit deep underground in the Deep Dark, usually around Y -51, though exact placement varies by seed and version. Use the coordinates the seed provides.

Can I find an ancient city without cheats?

Yes. Travel to the seed's coordinates on foot, or use the seed with an external map tool to plan a route, then dig down safely.

Is the warden avoidable?

Yes, mostly. Avoid triggering sculk shriekers three times, sneak near sensors, and use wool to muffle sound. If the warden appears, move away quietly rather than fighting it.