Ancient City

An **ancient city** is a palatial structure found in deep dark biomes at layer -51, harboring chests containing some items that cannot be found anywhere else.

## Structure

### Environment aesthetics

An ancient city features a very large palace with a footprint of around 220 blocks on each horizontal axis, stretching throughout a deep dark biome. The floor of the city always generates at the Y level of -51. The palace is made up of long corridors with 2-block-deep layers of gray wool on the floor, and some rugs made of blue, light blue and cyan wool or carpet floors to prevent vibrations, as well as some smaller ruins off to the side of the main corridors, which contain either one or two loot chests. The city has statues and the center features a frame resembling a warden's head, where there are reinforced deepslate blocks, which is an unobtainable material in Survival mode. Other unique blocks such as soul lanterns and candles as well as different forms of deepslate and sculk can be found here. Sculk shriekers generate much more frequently in ancient cities than in the normal deep dark biome.

Some structures resemble elements of the game. The city center bears a resemblance to early iterations of the warden's design, and other structures resemble pillager outposts and woodland mansion rooms.

#### Overall view

The following three renders are the same instance of ancient city.

#### Redstone circuits

Underneath the frame at the city center lies a series of hidden basements with naturally generating redstone circuitry.

The secret entrance is located at the base of the structure, underneath the wooden bridge between the city center and the wall. There's a piston door that is controlled by a sculk sensor in the redstone circuits in the basement.

For `city_center_1`, there is a chiseled deepslate block in front of the frame. Making a vibration around it can activate the sculk sensor and then open the piston door. There's also a pulse extender between the sculk sensor and piston door, which makes the piston door close 180 game ticks after the sculk sensor is deactivated.

The circuit in `city_center_2` is similar to the former, but with a signal strength filter. Only vibrations with a frequency equal to 8 (mob interactions, projectile hits, eating, entity damage) can activate the piston door. Creating these vibrations on the path in the front of the frame in the city center activates the door.

For `city_center_3`, making a vibration on the path in front of the frame on the city center can activate the sculk sensor. Additionally, there's a T flip-flop between the sculk sensor and piston door. After the sculk sensor is activated, the piston door remains open until the sculk sensor is activated again.

### File structure

All ancient city structures found below are located in the folder `client.jar/data/minecraft/structures/ancient\_city`

### Blocks

* Cobbled Deepslate
* Polished Deepslate
* Deepslate Bricks
* Deepslate Tiles
* Chiseled Deepslate
* Cracked Deepslate Bricks
* Cracked Deepslate Tiles
* Cobbled Deepslate Slab
* Cobbled Deepslate Stairs
* Cobbled Deepslate Wall
* Polished Deepslate Slab
* Polished Deepslate Stairs
* Polished Deepslate Wall
* Deepslate Brick Slab
* Deepslate Brick Stairs
* Deepslate Brick Wall
* Deepslate Tile Slab
* Deepslate Tile Stairs
* Deepslate Tile Wall
* Gray Wool
* Polished Basalt
* Smooth Basalt
* Dark Oak Log
* Dark Oak Planks
* Dark Oak Fence
* Ladder
* Candle
* Soul Lantern
* Torch
 Blocks unique to some structures
* Sculk Sensor
* Redstone Lamp
* Soul Fire
* Soul Sand
* Redstone Dust
* Redstone Comparator
* Redstone Repeater
* Redstone Torch
* Redstone Wall Torch
* Block of Redstone
* Lectern
* Target
* Furnace
* Lever
* Sticky Piston
* Piston Head
* Gray Carpet
* Glass
* Glass Pane
* Dirt
* Grass Block
* Blue Wool
* Cyan Wool
* Light Blue Wool
* Campfire
* Iron Trapdoor
* Ice
* Packed Ice
* Blue Ice
* Snow
* Note Block
* Stone Pressure Plate
* Skeleton Skull
* White Candle
* Water
* Blue Carpet
* Cyan Carpet
* Light Blue Carpet

## Loot

The loot in the chests includes several useful items for exploring the ancient city, such as snowballs and the Swift Sneak enchantment, as well as items that can't be found anywhere else, such as echo shards.

Each ancient city chest contains items drawn from 2 pools, with the following distribution:

Each ancient city ice box chest contains 4–10 item stacks, with the following distribution:

## See also

* Structures
* Warden
* Stronghold
* Music Disc