#Templates

/setblock ~ ~-1 ~ minecraft:spawner{MaxNearbyEntities:1,RequiredPlayerRange:10,SpawnCount:1,SpawnData:{id:"minecraft:witch"},MinSpawnDelay:150,MaxSpawnDelay:300,SpawnRange:3}

#Classes

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"[Warrior]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"\\\"},{\\\"text\\\":\\\"The \\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"Warrior\\\",\\\"bold\\\":true,\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\" is excellent for beginners; strong early-game, but less useful in the late-game. Focused on melee.\\\\n\\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"Has:\\\",\\\"italic\\\":true,\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\" \\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"Strong Wield\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Starts with a higher tier weapon and projectile.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"Power Picks\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Can break spawners faster.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"Health Flask\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Has a one-time extra potion that completely restores health.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"Layered Plate\\\\n\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Has a weak plate that gives extra hearts when worn.\\\",\\\"color\\\":\\\"yellow\\\"}}}]\"},\"bold\":true}"}}

/summon armor_stand ~ ~1 ~ {ShowArms:1b,Rotation:[270f],ArmorItems:[{id:"iron_boots",Count:1b},{id:"iron_leggings",Count:1b},{id:"iron_chestplate",Count:1b},{id:"player_head",Count:1b,tag:{display:{Name:"{\"text\":\"Warrior\"}"},SkullOwner:{Id:"fbb74cd5-403b-42f2-8a7a-71af9597f88a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTJkYzEzMzcwNjM3NGNiZjg0MTg3ZjUxZDk1NDYyMmY0NjNmNGZkODNhMzQ3ZjMyZWYwZTkzMDVlMDkwNWVhMSJ9fX0="}]}}}}],HandItems:[{id:"diamond_sword",Count:1b},{id:"shield",Count:1b}],CustomName:"{\"text\":\"Warrior\",\"color\":\"red\",\"bold\":\"true\"}",Pose:{Body:[0f,332f,0f],Head:[0f,346f,0f],LeftLeg:[340f,322f,0f],RightLeg:[23f,339f,0f],LeftArm:[333f,0f,0f],RightArm:[248f,21f,0f]}}

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"[Mage]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"\\\"},{\\\"text\\\":\\\"The \\\",\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\"Mage\\\",\\\"bold\\\":true,\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\" is tricky to use; he has good abilities, but when used incorrectly, they are useless. Focused on range.\\\\n\\\",\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\"Has:\\\",\\\"italic\\\":true,\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\" \\\",\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\"Advanced Magic\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"blue\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"More items and spells work on bosses. Also, wands are more powerful.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\"Airborne\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"blue\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Has a floaty fall.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\"Wand of Impact\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"blue\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Requiring 1 xp-level, deals damage to enemies on a distance.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"blue\\\"},{\\\"text\\\":\\\"Wall Shift\\\\n\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"blue\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"When used, teleports you to the previous bossfloor, and resets the part you were in. Includes enemies and bosses.\\\",\\\"color\\\":\\\"yellow\\\"}}}]\"},\"bold\":true}"}}

/summon armor_stand ~ ~2 ~ {ShowArms:1b,Rotation:[11f],ArmorItems:[{id:"leather_boots",Count:1b,tag:{display:{color:8856155}}},{id:"iron_leggings",Count:1},{id:"diamond_chestplate",Count:1b},{id:"player_head",Count:1b,tag:{Owner:{Id:"b862f3c8-774b-4e91-96f3-22e833ab742e",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjE2NjI0ZDIwZjc1MGE3NWYxOGIxZTM3YWE2MDJiOTIwMjcwMTBkNjYxZTAzMTRkNDJiY2YyZDVhYzg4YmRmOCJ9fX0="}]}}}}],HandItems:[{id:"carrot_on_a_stick",Count:1b},{id:"purple_dye",Count:1b}],CustomName:"{\"text\":\"Mage\",\"color\":\"blue\",\"bold\":\"true\"}",CustomNameVisible:1b,Pose:{Head:[354f,0f,0f],LeftLeg:[19f,25f,0f],RightLeg:[344f,35f,0f],LeftArm:[354f,318f,0f],RightArm:[275f,0f,0f]}}

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"[Thief]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"\\\"},{\\\"text\\\":\\\"The \\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"Thief\\\",\\\"bold\\\":true,\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\" gets powerful late-game, but is hard to take off. His Spell lets him move faster. Focused on treasure.\\\\n\\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"Has:\\\",\\\"italic\\\":true,\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\" \\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"Gold Digger\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"green\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"All enemies drop more gold and less other loot.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"Persistent\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"green\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Has ten one-time, extra hearts at the start of every floor.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"Amulet\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"green\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Put it in the middle of a Treasure Box with some gold, and you'll get a 20% discount on all treasure tiers. 3 uses.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"Shady Spell\\\\n\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"green\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"For 5 xp-levels, teleports you to the exit of the floor.\\\",\\\"color\\\":\\\"yellow\\\"}}}]\"},\"bold\":true}"}}

/summon armor_stand ~ ~2 ~ {ShowArms:1b,Rotation:[91f],ArmorItems:[{id:"leather_boots",Count:1b,tag:{display:{color:0}}},{id:"leather_leggings",Count:1b,tag:{display:{color:0}}},{id:"leather_chestplate",Count:1b,tag:{display:{color:0}}},{}],HandItems:[{id:"glowstone_dust",Count:1b},{id:"golden_sword",Count:1b}],CustomName:"{\"text\":\"Thief\",\"color\":\"yellow\",\"bold\":\"true\"}",CustomNameVisible:1b,Pose:{Head:[37f,0f,0f],LeftLeg:[19f,14f,0f],RightLeg:[344f,11f,0f],LeftArm:[327f,32f,9f],RightArm:[330f,328f,354f]}}

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"[Miner]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"\\\"},{\\\"text\\\":\\\"The \\\",\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\"Miner\\\",\\\"bold\\\":true,\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\" is not really helpful. Having no unique powers, he can't go in the Dungeon alone. However, he can follow any dungeoneer and help him in his quest.\\\\n\\\",\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\"Has:\\\",\\\"italic\\\":true,\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\" \\\",\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\"Poor Weapon\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"light_purple\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"His wooden sword is not really that useful.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\"Local Potion\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"light_purple\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Gives a bit of healing. Not much, just a bit.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\"Companionship\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"light_purple\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Any dungeoneer can use a little help in the lifeless dungeons he enters.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"light_purple\\\"},{\\\"text\\\":\\\"Living Shield\\\\n\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"light_purple\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"Attracts monsters. Well- monsters can go after him instead of the actual adventurer.\\\",\\\"color\\\":\\\"yellow\\\"}}},{\\\"text\\\":\\\"\\\\nWARNING: you cannot play as a Miner alone!\\\\n\\\",\\\"bold\\\":true,\\\"color\\\":\\\"light_purple\\\"}]\"},\"bold\":true}"}}

#Settings

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Toggle:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute as @p run function system:lobby/optionskip\"}}",Text2:"{\"text\":\"{Story Skip}\",\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Toggle:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute as @p run function system:lobby/optiontimer\"}}",Text2:"{\"text\":\"{Timer}\",\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Toggle:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute as @p run function system:lobby/optionassist\"}}",Text2:"{\"text\":\"{Assist Mode}\",\"bold\":true}"}}

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Toggle:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute as @s run function system:lobby/optiontrail\"}}",Text2:"{\"text\":\"{Trail}\",\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Toggle:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute as @s run function system:lobby/optionchat\"}}",Text2:"{\"text\":\"{Empty Chat}\",\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Toggle:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute as @s run function system:lobby/optionparticle\"}}",Text2:"{\"text\":\"{Particles}\",\"bold\":true}"}}

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"{Normal Mode}\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:lobby/optionmode1\"},\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"{Extreme Mode}\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:lobby/optionmode\"},\"strikethrough\":true}",Text2:"{\"text\":\"Get Good Ending\",\"italic\":true}",Text3:"{\"text\":\"to unlock!\",\"italic\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"{God Mode}\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:lobby/optionmode\"},\"strikethrough\":true}",Text2:"{\"text\":\"Get all endings\",\"italic\":true}",Text3:"{\"text\":\"to unlock!\",\"italic\":true}"}}

#Credits

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Creator:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"[Dieuwt] \\\"},{\\\"text\\\":\\\"I still have no idea what I'm doing.\\\",\\\"color\\\":\\\"dark_green\\\"}]\"}}",Text2:"{\"text\":\"[Dieuwt]\",\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Idea:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"[minihilly] \\\"},{\\\"text\\\":\\\"He asked me for a quote so here it is\\\",\\\"color\\\":\\\"green\\\"}]\"}}",Text2:"{\"text\":\"[minihilly]\",\"bold\":true}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Inspiration:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tellraw @s [\\\"\\\",{\\\"text\\\":\\\"[mrKisiel] \\\"},{\\\"text\\\":\\\"Why there is no pistons wtf?\\\",\\\"color\\\":\\\"blue\\\"}]\"}}",Text2:"{\"text\":\"[mrKisiel]\",\"bold\":true}"}}

#Tutorial

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Tutorial I:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tag @s add Tutorial1\"}}",Text2:"{\"text\":\"[Basics]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"title @s title {\\\"text\\\":\\\"Welcome to Ruby Caverns!\\\"}\"},\"bold\":true}",Text3:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:tutorial/tutorial1r\"}}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"Tutorial II:\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tag @s add Tutorial2\"}}",Text2:"{\"text\":\"[Advanced]\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"title @s title {\\\"text\\\":\\\"Welcome back in Ruby Caverns!\\\"}\"},\"bold\":true}",Text3:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:tutorial/tutorial2r\"}}"}}

/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"-Return-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:tutorial/tutorial1r\"},\"bold\":true}",Text2:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @s -7 2 52 -90 0\"},\"bold\":true}",Text3:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tag @a remove Tutorial1\"}}"}}
/give @p minecraft:sign{BlockEntityTag:{Text1:"{\"text\":\"-Return-\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"function system:tutorial/tutorial2r\"},\"bold\":true}",Text2:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tp @s -7 2 52 -90 0\"},\"bold\":true}",Text3:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"tag @a remove Tutorial2\"}}"}}