Enchanted Sword Shrine

Enchanted Sword Shrines are terrain features that generate as small caves below the surface. They can generate with a narrow shaft leading into the top of the cave. The cave's background is made of Flower Walls and features a small hill with pools of water on either side. Atop the hill rests a sword in stone as a background object. They generate in the surface or underground layers in dirt or stone terrain.
On the , multiple shrines may generate in a world, with larger worlds having a slight increased chance to generate more, although not guaranteed to generate any. They generate in the outer two-thirds of the map, and have a 33% chance of generating a 1-tile-wide shaft leading up to the surface. Upon destroying the background object, there is a 2% chance to drop the Terragrim, and otherwise, will drop the Enchanted Sword.
On the , multiple shrines may generate in a world, with larger worlds having more available. They generate in the outer two-thirds of the map, and always generate with a 1-tile-wide shaft leading up to the surface. The background object has a 67% chance of displaying a junk sword and a 33% chance of displaying an enchanted sword. Upon destroying the enchanted sword in stone, there is a 10% chance to drop the Arkhalis, and otherwise, will drop the Enchanted Sword. Nothing is dropped from the junk sword background object.
== Generation chance ==
 The world will attempt to generate 1 to 2 shrines in small worlds, 1 to 3 shrines in medium worlds, and 2 to 4 shrines in large worlds, with each shrine having a 50% chance of being placed. The following tables represent the odds of having a certain amount of shrines generate in a world, depending on its size.
 There will always be 1 shrine in small worlds, 3 shrines in medium worlds, and 4 shrines in large worlds.
 Small worlds
# of shrines 	Chance
0 	
1 	
2 	
Average: 0.83	Average: 0.83
 Medium worlds
# of shrines 	Chance
0 	
1 	
2 	
3 	
Average: 1.21	Average: 1.21
 Large worlds
# of shrines 	Chance
0 	
1 	
2 	
3 	
4 	
Average: 1.71	Average: 1.71
== Notes ==
* Although practically guaranteed in normal gameplay, the shaft can only generate with a height of up to 1000 tiles.
* Despite being replaced by the Terragrim, the Arkhalis can still be obtained as a part of the Arkhalis' set.
* Enchanted Sword Shrines may generate in uncommon ways at times:
** The shaft can go all the way to the surface, making it very easy to notice. It can even go to the top of a Living Tree.
** The shrine itself can occasionally spawn on the surface, without a shaft.
** In rare cases, the top of the shaft spawns more than 10 blocks under the ground.
** The shrine itself can generate partially or completely Corrupted/Crimson. However, at least part of the shaft will always be dirt and uncorrupted grass.
** If generated under an overhang on the surface, the shaft will cut through midair.
** A Minecart track can go through a shrine, causing the sword to disappear.
* The shrine will only rarely spawn below the surface layer and will only ever reach a maximum of 100 tiles in the underground layer.
* While Enchanted Sword Shrines are currently only on the , Enchanted Swords can still appear scattered throughout the world in all versions.
== Tips ==
* The shaft can be revealed by light particles that fall downwards through blocks. There are many weapons which spawn projectiles of this kind, for instance, the Dark Lance, Starfury, Jester's Arrow, Meteor Staff, Solar Eruption, Zenith, Flying Dragon, Flamelash, Durendal, or Firecracker. Some enemy projectiles can also reveal the shaft, e.g. those fired from the Goblin Sorcerer. Additionally, some mount provides a short burst of light particles when summoned, and if timed correctly, activating/deactivating a mount just before landing can send the light particles downwards 5-7 tiles. Some light pets that move when the player presses a direction (such as the Wisp pet, shown in the Gallery below) can be used to find the shafts by holding . The Clentaminator can also be used to provide light, though players should be careful not to spread biomes in locations they did not want.
* The background object will generate an item upon its destruction. Therefore, the player can force close the game to reload a previous save and continue doing this until the desired item is obtained.
* Seeds with sword shrines found before the current version of Terraria will not be guaranteed to contain a shrine in the same location despite the rest of the world being the same. If looking online for a seed that contains a sword shrine make sure that the seed was not discovered in a past update. one such seed(for 1.4.4.9) is: 2.1.1.267537971, go to the rightmost living tree (farther right than middle so use conch if possible), the sword is at the bottom of the tree, always spawns with actual sword.
== Gallery ==
File:Enchanted Sword Shrine map view.png|Map view of a shrine.
File:Enchanted Sword Shrine Shaft.png|Finding the vertical shaft using a light pet.
File:Shaftless Enchanted Sword Shrine.png|An Enchanted Sword Shrine on the surface, without a shaft.
File:Living tree sword shrine.jpg|An Enchanted Sword Shrine next to the bottom of a Living Tree.
File:Enchanted Sword Biome.png|A view of the Enchanted Sword Shrine.
== History ==
Category:Treasure Rooms