COWMODSКаталог модов

Ancient City Underground

Makes Ancient Cities generate densely underground in all Overworld biomes. Every chunk is covered by city structures with moderate overlap. Players spawn safely inside the city.

Автор: xkk-1123581991обновлён 15 июл. 2026 г.
ПриключенияМеханики игрыГенерация мира

Описание

Ancient City Underground 🏛️

Let Ancient Cities Fill the Underground


Introduction

Ancient City Underground is a Fabric mod that completely reworks Ancient City generation:

  • All Biomes — Ancient Cities are no longer restricted to the Deep Dark. They generate in all Overworld biomes underground.
  • High Density — Generation spacing of 10 chunks. With a 128-block city radius, every chunk is covered by city structures.
  • Moderate Overlap — Cities overlap just enough for full coverage without excessive clustering.
  • Safe Spawning — On first join, players spawn at a random safe spot inside the nearest city — a walkway, courtyard, or other open area.
  • Bedrock Roof — A bedrock layer at Y=60 seals the underground world. No blocks or mobs generate above it.
  • Fully Compatible — Does not affect End Portals, Strongholds, or any other vanilla structures.

Features

FeatureDescription
🗺️ All BiomesGenerate under plains, deserts, forests, oceans, mountains — every Overworld biome
📐 Optimized Densityspacing=10, separation=2, ~160 block average spacing, 128-block coverage radius
🎲 Random SpawnEach new world spawns you at a different spot — courtyard, walkway, or city gate
🛡️ Safety CheckAutomatically verifies ground is solid, body and head are in open air
🧱 Bedrock RoofBedrock layer at Y=60 with no blocks or mobs above — a sealed underground world
⚡ LightweightPure datapack overrides + Mixin, no vanilla structure definitions modified

Versions

Two versions are available:

VersionFeaturesJAR
FullAncient cities + spawn + bedrock roof Y=60 + no mobsancient-city-underground-full-1.0.0.jar
ClassicAncient cities + spawn onlyancient-city-underground-classic-1.0.0.jar

Requirements

  • Minecraft: 1.21.11
  • Loader: Fabric Loader ≥ 0.19.3
  • Dependency: Fabric API ≥ 0.141.4+1.21.11
  • Java: ≥ 21

This is a SERVER-SIDE mod. It works on dedicated servers, and clients do not need to install it. For single-player, it works as normal.

Installation

  1. Install Fabric Loader
  2. Download Fabric API
  3. Download the mod JAR
  4. Place the JAR into .minecraft/mods/
  5. Launch the game and create a new world

Technical Details

How it works

MechanismMethod
All-biome generationDatapack override: has_structure/ancient_city.json → #minecraft:is_overworld
Generation densityDatapack override: structure_set/ancient_city.json → spacing=10, separation=2
Player spawnMixin into PlayerList#placeNewPlayer — finds nearest city, picks random safe position
Bedrock roofMixin into LevelChunk constructor — clears blocks above Y=60, places bedrock at Y=60
Mob restrictionMixin into NaturalSpawner — cancels spawns above Y=60

Structure Set Parameters

{
    "placement": {
        "type": "minecraft:random_spread",
        "spacing": 10,
        "separation": 2,
        "salt": 191119
    }
}
ParameterValueDescription
spacing10Grid size in chunks. One city per 10×10 chunk cell
separation2Minimum distance from cell boundary
Min center distance64 blocksClosest two cities can be
Max center distance256 blocksFarthest two cities can be (edges just touch)
Coverage radius128 blocksVanilla max_distance_from_center, unchanged

Screenshots

Ancient City Underground


Compatibility

  • ✅ Ancient Cities in all Overworld biomes
  • ✅ No vanilla structure definitions modified
  • ✅ End Portals unaffected
  • ✅ Strongholds unaffected
  • ✅ Other structures unaffected
  • ℹ️ Only affects newly generated chunks (requires new world)

License

This project is available under the CC0 1.0 Universal license. Feel free to use, modify, and share.


Made with ❤️ by xiaomaiya

GitHub

Галерея

Последние версии

Все версии →
release

Ancient City Underground 1.0.0

1.0.0
15 июл. 2026 г.199Minecraft: 1.21.11fabric
Скачать
Что нового
Makes Ancient Cities generate densely underground in all Overworld biomes. Every chunk is covered by city structures with moderate overlap. Players spawn safely inside the city.