summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~2 ~-3 ~-2 ~7 ~1 ~2 crafting_table 0 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-2 ~7 ~ ~2 glass 0 0 crafting_table},{id:commandblock_minecart,Command:/scoreboard objectives setdisplay sidebar magicRuneCharge},{id:commandblock_minecart,Command:/gamerule commandBlockOutput false},{id:commandblock_minecart,Command:" /say [JJJ_321] Thank You For Downloading JJJ_321's Magic Runes Mod!!"},{id:commandblock_minecart,Command:setblock ~1 ~-4 ~ wall_sign 4 0 {Text1:"{\"text\":\"Magic Runes Mod\",\"color\":\"dark_red\",\"italic\":true,\"bold\":true,\"underlined\":true}",Text2:"{\"text\":\"By: JJJ_321\",\"color\":\"gray\",\"italic\":true,\"underlined\":true}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"\"}"}},{id:commandblock_minecart,Command:setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:"{\"text\":\"GET RECIPES\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say 1 blaze rod + 1 ender pearl = 1 blank rune\"}}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"CLICK FOR ELEMENTAL RECIPES\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say blank rune + water bucket = water rune/ 1 blank rune + blaze powder = fire rune/ 1 blank rune + ender pearl = magic rune\"},\"bold\":true}"}},{id:commandblock_minecart,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\"text\":\"Click For Water Rune Info\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say [JJJ_321] water rune gives you and everything within 3 blocks the ability to breathe underwater, but only when YOU are in water. \"},\"italic\":true,\"bold\":true,\"underlined\":true}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"Examples\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say [JJJ_321] So, if your friend was drowning and you were standing within 3 blocks away, bu YOU were not in the water, your friend would drown, unless, since you were 3 blocks away and not wet, he climbed out. next, if your friend was drowning and you were within 3 blocks away, AND in the water, neither of you would drown. this also works with animals\"}}"}},{id:commandblock_minecart,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\"text\":\"Click For Fire Rune Info\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say [JJJ_321] fire rune makes you and everything within 3 blocks around you invincible to fire, if YOU are in the fire. it also makes any water under your feet turn to stone. if you somehow get underwater, you get hurt, even with the water breathing effect.\"}}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"Examples\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say [JJJ_321] same as water rune with fire and burning.\"}}"}},{id:commandblock_minecart,Command:setblock ~1 ~ ~ wall_sign 4 0 {Text1:"{\"text\":\"Click For Magic Rune Info\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say [JJJ_321] You gain magic charge when holding it and lose magic charge when not holding it. when you gain enough magic charge, you get special abilities. specifically at 15 seconds, 1 minute, 1 hour, and 5 hours. (psst! at five hours you dont take damage!!!!) also, grass turns to purpur under your feet\"}}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"\"}"}},{id:commandblock_minecart,Command:setblock ~1 ~1 ~ wall_sign 4 0 {Text1:"{\"text\":\"DESTROY MACHINE\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say [JJJ_321] NOOOO!!!!! YOU HAVE KILLED MEEEE!!!!!!!! ARRGHH!!!!! NOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!\"}}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"fill ~ ~-4 ~-2 ~6 ~ ~2 air\"}}"}},{id:commandblock_minecart,Command:scoreboard objectives add magicRuneCharge_I dummy},{id:commandblock_minecart,Command:fill ~3 ~-2 ~-1 ~6 ~ ~1 chain_command_block 5},{id:commandblock_minecart,Command:setblock ~3 ~ ~ chain_command_block 3},{id:commandblock_minecart,Command:fill ~6 ~ ~ ~4 ~ ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~6 ~ ~-1 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~-1 chain_command_block 1},{id:commandblock_minecart,Command:fill ~6 ~-1 ~-1 ~4 ~-1 ~-1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~6 ~-1 ~ chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~1 chain_command_block 2},{id:commandblock_minecart,Command:fill ~6 ~-1 ~1 ~4 ~-1 ~1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~6 ~-2 ~1 chain_command_block 1},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~ chain_command_block 3},{id:commandblock_minecart,Command:fill ~6 ~-2 ~ ~4 ~-2 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~6 ~-2 ~-1 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~3 ~ ~1 {auto:1,Command:/execute @e[tag=magicRune,score_magicRuneCharge_min=4500000] ~ ~ ~ /effect @e[tag=magicRune,r=0] resistance 1 199 true}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~ {auto:1,Command:/execute @e[tag=magicRune,score_magicRuneCharge_min=900000] ~ ~ ~ /effect @e[tag=magicRune,r=0] saturation 1 199 true}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~ {auto:1,Command:/execute @e[tag=magicRune,score_magicRuneCharge_min=15000] ~ ~ ~ /effect @e[tag=magicRune,r=0] haste 1 199 true]}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~ {auto:1,Command:/execute @e[tag=magicRune,score_magicRuneCharge_min=15000] ~ ~ ~ /effect @e[tag=magicRune,r=0] speed 1 4 true}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~ {auto:1,Command:/execute @e[tag=magicRune,score_magicRuneCharge_min=3750] ~ ~ ~ /effect @e[tag=magicRune,r=0] jump_boost 1 4 true}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~-1 {auto:1,Command:/scoreboard players tag @a remove magicRune}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~-1 {auto:1,Command:/scoreboard players remove @e[score_magicRuneCharge_min=5,tag=!magicRune] magicRuneCharge 5}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~-1 {auto:1,Command:/execute @e[tag=magicRune] ~ ~ ~ detect ~ ~-1 ~ stone -1 /setblock ~ ~-1 ~ purpur_block}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~-1 {auto:1,Command:/execute @e[tag=magicRune] ~ ~ ~ detect ~ ~ ~ -1 /scoreboard players add @a[r=0,tag=magicRune] magicRuneCharge 25}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~-1 {auto:1,Command:/scoreboard players tag @a add magicRune {SelectedItem:{tag:{magicRune:1b}}}}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~-1 {auto:1,Command:/scoreboard players tag @a remove fireRune}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~-1 {auto:1,Command:/execute @e[tag=fireRune] ~ ~ ~ detect ~ ~ ~ water -1 /effect @e[r=0,tag=fireRune] poison 1 2 true }},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~-1 {auto:1,Command:/execute @e[tag=fireRune] ~ ~ ~ detect ~ ~-1 ~ water -1 /setblock ~ ~-1 ~ stone}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~ {auto:1,Command:/execute @e[tag=fireRune] ~ ~ ~ detect ~ ~ ~ fire -1 /effect @e[r=3] fire_resistance 1 0 true}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~ {auto:1,Command:/scoreboard players tag @a add fireRune {SelectedItem:{tag:{fireRune:1b}}}}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~ {auto:1,Command:/scoreboard players tag @a remove waterRune}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~ {auto:1,Command:/execute @e[tag=waterRune] ~ ~ ~ detect ~ ~1 ~ water -1 /effect @e[r=3] water_breathing 1 0 true}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~1 {auto:1,Command:/scoreboard players tag @a add waterRune {SelectedItem:{tag:{waterRune:1b}}}}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~1 {auto:1,Command:execute @e[score_magicRuneCharge_I_min=23,score_magicRuneCharge_I=23] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=24,score_magicRuneCharge_I=24,r=1] ~ ~ ~ kill @e[type=item,r=3,score_magicRuneCharge_I_min=23,score_magicRuneCharge_I=25]}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~1 {auto:1,Command:"execute @e[score_magicRuneCharge_I_min=23,score_magicRuneCharge_I=23] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=24,score_magicRuneCharge_I=24,r=1] ~ ~ ~ summon item ~ ~0.5 ~ {item:{id:minecraft:nether_star,tag:{display:{Name:\"Magic Rune\"}magicRune:1b},Count:1}}"}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~1 {auto:1,Command:scoreboard players set @e magicRuneCharge_I 24 {item:{id:minecraft:ender_pearl},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:scoreboard players set @e magicRuneCharge_I 23 {item:{id:minecraft:nether_star,tag:{blankRune:1b}},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:execute @e[score_magicRuneCharge_I_min=21,score_magicRuneCharge_I=21] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=22,score_magicRuneCharge_I=22,r=1] ~ ~ ~ kill @e[type=item,r=3,score_magicRuneCharge_I_min=21,score_magicRuneCharge_I=23]}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~1 {auto:1,Command:"execute @e[score_magicRuneCharge_I_min=21,score_magicRuneCharge_I=21] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=22,score_magicRuneCharge_I=22,r=1] ~ ~ ~ summon item ~ ~0.5 ~ {item:{id:minecraft:nether_star,tag:{display:{Name:\"Fire Rune\"},fireRune:1b},Count:1}}"}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:scoreboard players set @e magicRuneCharge_I 22 {item:{id:minecraft:blaze_powder},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:scoreboard players set @e magicRuneCharge_I 21 {item:{id:minecraft:nether_star,tag:{blankRune:1b}},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:execute @e[score_magicRuneCharge_I_min=19,score_magicRuneCharge_I=19] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=20,score_magicRuneCharge_I=20,r=1] ~ ~ ~ kill @e[type=item,r=3,score_magicRuneCharge_I_min=19,score_magicRuneCharge_I=21]}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:"execute @e[score_magicRuneCharge_I_min=19,score_magicRuneCharge_I=19] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=20,score_magicRuneCharge_I=20,r=1] ~ ~ ~ summon item ~ ~0.5 ~ {item:{id:minecraft:nether_star,tag:{display:{Name:\"Water Rune\"},waterRune:1b},Count:1}}"}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~ {auto:1,Command:execute @e[score_magicRuneCharge_I_min=19,score_magicRuneCharge_I=19] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=20,score_magicRuneCharge_I=20,r=1] ~ ~ ~ kill @e[type=item,r=3,score_magicRuneCharge_I_min=19,score_magicRuneCharge_I=21]}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~-1 {auto:1,Command:execute @e[score_magicRuneCharge_I_min=19,score_magicRuneCharge_I=19] ~ ~ ~ execute @e[score_magicRuneCharge_I_min=20,score_magicRuneCharge_I=20,r=1] ~ ~ ~ summon item ~ ~0.5 ~ {item:{id:minecraft:bucket,Count:1}}}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~-1 {auto:1,Command:scoreboard players set @e magicRuneCharge_I 20 {item:{id:minecraft:water_bucket},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~-1 {auto:1,Command:scoreboard players set @e magicRuneCharge_I 19 {item:{id:minecraft:nether_star,tag:{blankRune:1b}},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~-1 {auto:1,Command:"FloorCraftng: blaze_rod 0 {} ender_pearl 0 {} RES:nether_star {blankRune:1b,display:{Name:\"Blank Rune\"}}"}},{id:commandblock_minecart,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~1 redstone_block},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}]}