execute at @s run fill ~-5 20 ~-5 ~5 20 ~5 sea_lantern
execute at @s run fill ~-4 20 ~-4 ~4 20 ~4 air
execute at @s run fill ~-5 20 ~ ~5 20 ~ sea_lantern
execute at @s run fill ~ 20 ~-5 ~ 20 ~5 sea_lantern
execute at @s run fill ~-1 20 ~-1 ~1 20 ~1 sea_lantern
execute at @s positioned ~ 20 ~ run summon armor_stand ~5 ~ ~-5 {Tags:["KyuLakeLamp"],CustomName:"\"KyuLakeMXZ\"",NoGravity:1,Invisible:1}
execute at @s positioned ~ 20 ~ run summon armor_stand ~5 ~ ~5 {Tags:["KyuLakeLamp"],CustomName:"\"KyuLakeMXMZ\"",NoGravity:1,Invisible:1}
execute at @s positioned ~ 20 ~ run summon armor_stand ~5 ~ ~-5 {Tags:["KyuLakeLamp"],CustomName:"\"KyuLakeXMZ\"",NoGravity:1,Invisible:1}
execute at @s positioned ~ 20 ~ run summon armor_stand ~5 ~ ~5 {Tags:["KyuLakeLamp"],CustomName:"\"KyuLakeXZ\"",NoGravity:1,Invisible:1}
execute at @s positioned ~ 20 ~ run summon armor_stand ~ ~ ~ {Tags:["KyuLakeLamp"],CustomName:"\"KyuLakeMid\"",NoGravity:1}
execute at @s run fill ~-2 19 ~ ~2 19 ~ sea_lantern
execute at @s run fill ~ 19 ~2 ~ 19 ~-2 sea_lantern
execute at @s run fill ~ 18 ~2 ~ 11 ~-2 chain[axis=y]
execute at @s run fill ~-2 18 ~ ~2 11 ~ chain[axis=y]
execute at @s run fill ~-1 18 ~-1 ~1 11 ~1 air
execute at @s positioned ~2 ~-1 ~1 run fill ~-4 ~ ~-2 ~ ~-4 ~ light_blue_stained_glass
execute at @s positioned ~1 ~-1 ~2 run fill ~-2 ~ ~-4 ~ ~-4 ~ light_blue_stained_glass
execute at @s positioned ~ ~-2 ~ run fill ~-1 ~ ~-1 ~1 ~-3 ~1 air
execute at @s positioned ~ ~-2 ~ run fill ~-1 ~-4 ~-1 ~1 ~-4 ~1 light_blue_stained_glass
execute at @s positioned ~2 ~-4 ~ run fill ~-5 ~-1 ~ ~ ~ ~ air
execute at @s positioned ~-2 ~-6 ~ run fill ~4 ~ ~ ~ ~ ~ light_blue_stained_glass
execute at @s positioned ~ ~-3 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"\",\"color\":\"green\"}",Text2:"{\"text\":\"The Enchanted\",\"color\":\"green\"}",Text3:"{\"text\":\"Cavern\",\"color\":\"green\"}",Text4:"{\"text\":\"\"}"}
execute at @s positioned ~1 ~-3 ~1 run setblock ~ ~ ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"The Enchanted\",\"color\":\"green\"}",Text2:"{\"text\":\"Cavern -\",\"color\":\"green\"}",Text3:"{\"text\":\"A blessed shrine\",\"color\":\"dark_blue\"}",Text4:"{\"text\":\"that has spawned\",\"color\":\"dark_blue\"}"}
execute at @s positioned ~ ~-6 ~ run setblock ~ ~ ~ minecraft:dispenser{Items:[{Slot:0,id:"minecraft:prismarine_shard",Count:1b,tag:{kyutrinket:1b,kyuenchantedshard:1b,display:{Name:"\"Enchanted Shard\"",Lore:["\"Anyone who holds one of these\"","\"will be granted permanent water-breathing\"","\"and underwater mining haste.\""]}}},{Slot:1,id:"minecraft:written_book",Count:1b,tag:{display:{Name:'{"text":"\'The Chest\' TL;DR","color":"aqua"}',Lore:['{"text":"Too long, didn\'t read."}']},title:"",author:"",pages:['[{"text":"TL;DR of the chest: Put unwanted gear in it and you might get some components back. Enchanted gear may give back enchantments.","color":"dark_aqua"},{"text":"\\nIf you want more details, click here to open up a link with more info.","color":"dark_purple","clickEvent":{"action":"open_url","value":"https://imgur.com/a/E5AfugG"}},{"text":"\\n\\n(or click here for a direct picture link)","color":"light_purple","clickEvent":{"action":"open_url","value":"https://i.imgur.com/BN0lyvj.png"}}]']}}]}
execute at @s positioned ~-1 ~-6 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"Presumably,\",\"color\":\"dark_purple\"}",Text2:"{\"text\":\"the rarer the\",\"color\":\"dark_purple\"}",Text3:"{\"text\":\"item, the better\",\"color\":\"dark_purple\"}",Text4:"{\"text\":\"the effect.\",\"color\":\"dark_purple\"}"}
execute at @s positioned ~ ~-6 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"consumed -\",\"color\":\"dark_purple\"}",Text2:"{\"text\":\"Precious ores,\",\"color\":\"dark_purple\"}",Text3:"{\"text\":\"blocks, or\",\"color\":\"dark_purple\"}",Text4:"{\"text\":\"enchanted items.\",\"color\":\"dark_purple\"}"}
execute at @s positioned ~1 ~-6 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"of different\",\"color\":\"dark_purple\"}",Text2:"{\"text\":\"effects, \",\"color\":\"dark_purple\"}",Text3:"{\"text\":\"depending on\",\"color\":\"dark_purple\"}",Text4:"{\"text\":\"what was\",\"color\":\"dark_purple\"}"}
execute at @s positioned ~-1 ~-5 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"precious items\",\"color\":\"dark_purple\"}",Text2:"{\"text\":\"or blocks,\",\"color\":\"dark_purple\"}",Text3:"{\"text\":\"it will unleash\",\"color\":\"dark_purple\"}",Text4:"{\"text\":\"a variety\",\"color\":\"dark_purple\"}"}
execute at @s positioned ~ ~-5 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"It is said\",\"color\":\"dark_purple\"}",Text2:"{\"text\":\"that if this\",\"color\":\"dark_purple\"}",Text3:"{\"text\":\"occurs while\",\"color\":\"dark_purple\"}",Text4:"{\"text\":\"it holds\",\"color\":\"dark_purple\"}"}
execute at @s positioned ~1 ~-5 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"The chest\",\"color\":\"dark_purple\"}",Text2:"{\"text\":\"in the middle\",\"color\":\"dark_purple\"}",Text3:"{\"text\":\"resets at\",\"color\":\"dark_purple\"}",Text4:"{\"text\":\"sunrise.\",\"color\":\"dark_purple\"}"}
execute at @s positioned ~-1 ~-4 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"Despite this,\",\"color\":\"dark_blue\"}",Text2:"{\"text\":\"it remains \",\"color\":\"dark_blue\"}",Text3:"{\"text\":\"unaffected.\",\"color\":\"dark_blue\"}",Text4:"{\"text\":\"\",\"color\":\"dark_blue\"}"}
execute at @s positioned ~ ~-4 ~1 run setblock ~ ~1 ~ minecraft:oak_wall_sign[facing=north]{Text1:"{\"text\":\"in a world\",\"color\":\"dark_blue\"}",Text2:"{\"text\":\"overwhelmed by\",\"color\":\"dark_blue\"}",Text3:"{\"text\":\"monsters and\",\"color\":\"dark_blue\"}",Text4:"{\"text\":\"corruption.\",\"color\":\"dark_blue\"}"}
execute at @s run fill ~ ~ ~ ~ ~ ~ chest
execute at @s run fill ~ 10 ~2 ~ 10 ~-2 sea_lantern
execute at @s run fill ~2 10 ~ ~-2 10 ~ sea_lantern
execute at @s run fill ~-1 10 ~-1 ~1 10 ~1 sea_lantern


execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 lapis_ore replace gravel
execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 prismarine replace coal_ore
execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 prismarine replace coal_ore
execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 diamond_ore replace gold_ore
execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 gold_ore replace redstone_ore
execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 water replace iron_ore
execute at @s run fill ~-18 ~ ~-18 ~18 ~18 ~18 air replace lava

#execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 polished_diorite replace diorite
execute at @s run fill ~-18 10 ~-18 ~18 ~18 ~18 diorite replace andesite
execute at @s run fill ~-18 ~-4 ~-18 ~18 ~18 ~18 diorite replace granite
#execute at @s run fill ~-11 ~17 ~-11 ~11 ~19 ~11 diorite replace #suhc:stones
execute at @s run kill @e[type=falling_block,distance=..25]
execute at @s run kill @e[type=item,distance=..25]



