{{Infobox structure | title = End City | image = EndCityEntrance.png | biome = * {{BiomeLink|End Midlands}}{{only|java}} * {{BiomeLink|End Highlands}}{{only|java}} * {{BiomeLink|The End|link=The End (biome)}}{{only|be}} | mobs = {{EntityLink|Shulker}} | blocks = * {{BlockLink|Chest}} * {{BlockLink|End Rod}} * {{BlockLink|End Stone Bricks}} * {{BlockLink|Ender Chest}} * {{BlockLink|Magenta Wall Banner}} * {{BlockLink|Ladder}} * {{BlockLink|Magenta Stained Glass}} * {{BlockLink|Purpur Block}} * {{BlockLink|Purpur Slab}} * {{BlockLink|Purpur Stairs}} * {{BlockLink|Purpur Pillar}} }} '''End cities''' are tall [[structure]]s found on the [[Terrain features#Outer island|outer island]]s of [[the End]]. They are inhabited by [[shulker]]s and hold valuable [[#Loot|loot]], including [[Enchanting|enchant]]ed iron and diamond [[tool]]s and [[armor]]. '''End ships''', found in some end cities, are the only source of [[elytra]]. == Generation == End cities naturally generate all over the End's [[Terrain features#Outer island|outer island]]s. They can easily be accessed by entering the [[end gateway]], but it is possible to cross the gap between the islands in other ways. They generate on the large islands, where [[chorus tree]]s grow. If the end gateway teleports the [[player]] to a small island, the player can get to the nearest large island by building, using [[elytra]], or throwing [[ender pearl]]s. End cities usually generate in flat areas, in "midlands" or "highlands" biomes, which are found on larger islands. One may find several cities clustered together, or travel for thousands of blocks before finding one. Unlike other structures, end cities are generated in a noticeable grid. They are located only in chunks numbered 0-8 ± a multiple of 20. For example one possible "cell" for an end city to be generated in is x_chunks=0-8 and z_chunks=80-88 which is equivalent to the coordinates x=0-128 and z=1280-1408. There can never be an end city at for example z=961-1279 or z=1409-1599 because it is outside any "cell". {{Note|1=Relevant code:
int i = chunkX; int j = chunkZ; if (chunkX < 0) chunkX -= 19; if (chunkZ < 0) chunkZ -= 19; int k = chunkX / 20; int l = chunkZ / 20; Random random = this.worldObj.setRandomSeed(k, l, 10387313); k = k * 20; l = l * 20; k = k + (random.nextInt(9) + random.nextInt(9)) / 2; l = l + (random.nextInt(9) + random.nextInt(9)) / 2; return i == k && j == l && this.endProvider.isIslandChunk(i, j);}} {{Calculator|chunkbase|dimension=end|pois=E|zoom=0.25}} == Structure == {{main|/Structure}} [[File:InsideEndCity.png|thumb|right|A view inside of an end city tower.]] [[File:EndCityTreasure2.png|thumb|right|A treasure room with both a regular [[chest]] and an [[ender chest]].]] End cities consist of tall skyscraper-like towers constructed out of [[end stone bricks]] and [[purpur block]]s. An end city may generate as a single tower by itself, or as a sprawling complex of inter-connected towers and pathways branching from a main tower. [[End rod]]s and [[ender chest]]s are the only source of light. Many shulkers spawn around the city, and guard its various treasures. Decorative [[banner]]s hang at the tops of some towers. Several types of rooms can be found in an end city, and several different floors, including: * '''Base floors''' which are empty floors found at the base of every city; they are three stories tall, with each room wider than the one below it. * '''Banner rooms''' that have banners hanging on the outside, and a [[shulker]] attached to the ceiling. * '''Small rooms''' that have nothing in them at all. * '''Large rooms''' that have precarious parkour-like staircases often leading up to another tower or a loot room. * '''Loot rooms''' that consist of two [[chest]]s with valuable [[#Loot|loot]] at the end of a small parkour area; some rooms may have one normal chest next to an [[ender chest]] instead. There are two types of towers: * '''Small towers''' that are hollow, consisting of a single [[purpur slab]] spiral staircase of sorts. * '''Skyscrapers''' that consist of a treacherous double spiral staircase made of [[purpur slab]]s and [[end rod]]s; many shulkers spawn here. [[File:EndCityBanners.png|thumb|right|[[Banner]]s hanging on top of a small tower.]] {{-}} == End ship{{Anchor|End Ship}} == {{For|the ocean structure|Shipwreck}} {{Infobox structure | title = End Ship | image = End Ship.png | biome = * {{BiomeLink|End Midlands}}{{only|java}} * {{BiomeLink|End Highlands}}{{only|java}} * {{BiomeLink|id=the-end|link=The End (biome)|text=The End}}{{only|Bedrock}} | blocks = * {{BlockLink|Brewing Stand}} * {{BlockLink|Chest}} * {{BlockLink|Dragon Wall Head}} * {{BlockLink|End Rod}} * {{BlockLink|End Stone Bricks}} * {{BlockLink|Ladder}} * {{BlockLink|Magenta Stained Glass}} * {{BlockLink|Obsidian}} * {{BlockLink|Purpur Block}} * {{BlockLink|Purpur Pillar}} * {{BlockLink|Purpur Slab}} * {{BlockLink|Purpur Stairs}} * {{EntityLink|Item Frame}} * {{EntityLink|Shulker}} * {{ItemLink|Elytra}} (In {{EntityLink|Item Frame}}) }} An '''end ship''' is a floating, boat-like structure found alongside end cities. It is relatively small, but holds even more valuable treasure than the city itself. === Generation === Each direction of every tower of the end city has a 50% chance of generating a bridge, and the bridge itself has a 12.5% chance to generate an end ship. When generated, the stern of the ship always faces toward the city and the bow always faces away. It generates in front of a bridge with a gated arch at the end, from which one can throw an [[ender pearl]] to reach the ship, or build a bridge. === Structure === {{main|End City/Structure/Ship}} The end ship is made of [[end stone bricks]] and [[purpur block]]s, just like the city's main towers. Their design resembles that of European square rig sailing ships, commonly seen during the golden age of exploration. Three [[shulker]]s spawn on the ship; one on the main deck, one behind the stern of the ship, and one in the treasure room. ==== Main deck ==== The ship's main deck amounts to less than half of the walkable space on the ship. A [[ladder]] leads up the mast to an empty crow's nest, about 20 blocks high. There are no sails connected to the mast. A [[dragon head]] sits at the bow of the ship, making this the only way to obtain the dragon head in [[Survival]] mode. There are two small staircases on the outside; one that leads up to the empty upper deck, and one that leads to the cabin below. ==== Aftercastle ==== The aftercastle contains a [[brewing stand]] sitting on a small table, with two [[Potion of Healing|Instant Health II potions]]. Another staircase leads below deck to the ship's "hotspot"; the treasure room. ==== Treasure room ==== The floor of the treasure room is lined with [[obsidian]]. There are four small windows on the sides. It contains two [[#Loot|loot chests]] and an [[item frame]] holding a pair of [[elytra]]; this is the only way to obtain elytra in Survival mode. A [[shulker]] guards the elytra and the two loot chests.
data/minecraft/structures/end_city
folder in [[minecraft.jar]]. To do so, set a structure block to Load mode, enter end_city/''StructureName''
and press LOAD. The names of these structures and a small description is provided below:
{| class="wikitable collapsible"
! scope="col" style="width: 200px" | Structure name
! scope="col" style="width: 250px" | Description
! scope="col" style="width: 200px" | Consists of
! scope="col" style="width: 250px" | Images
|-
|{{cd|end_city/base_floor}}
|A small room with 2 [[shulker]]s guarding the entrance. Forms the entrance of end cities as well as the "empty rooms" found higher up in the city.
|
68 {{BlockLink|Purpur Block}}