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:"/tellraw @a [\"\",{\"text\":\"----------------------------------------------------\",\"color\":\"gold\"}]"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"OP Bows v 1.1 by GYGY. Click on the explenation and recipes sign to get started.\",\"color\":\"aqua\"}]"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"----------------------------------------------------\",\"color\":\"gold\"}]"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"Don't spam this command as your own one, and if you are a youtuber credit me and leave a link to my channel.\",\"color\":\"aqua\"}]"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"----------------------------------------------------\",\"color\":\"gold\"}]"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"Remember also to take a look of my channel:\",\"color\":\"aqua\"},{\"text\":\" My channel\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC3_Gm-pfskCh2bnzcekR0ow\"}}]"},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"----------------------------------------------------\",\"color\":\"gold\"}]"},{id:commandblock_minecart,Command:"setblock ~9 ~3 ~1 chain_command_block 4 replace {auto:1b,Command:\"/kill @e[type=armor_stand,name=bowtp,score_bowc_min=100]\"}"},{id:commandblock_minecart,Command:"setblock ~8 ~3 ~1 chain_command_block 4 replace {auto:1b,Command:\"/kill @e[type=arrow,name=Destroy,score_bowc_min=250]\"}"},{id:commandblock_minecart,Command:"setblock ~7 ~3 ~1 chain_command_block 4 replace {auto:1b,Command:\"/execute @e[type=arrow,name=Destroy] ~ ~ ~ particle iconcrack ~ ~ ~ 0 0 0 0.1 100 force @a 211\"}"},{id:commandblock_minecart,Command:"setblock ~6 ~3 ~1 chain_command_block 4 replace {auto:1b,Command:\"/scoreboard players set @a bows 9 {SelectedItem:{id:\\\"minecraft:bow\\\",tag:{Unbreakable:1b},Damage:9s}}\"}"},{id:commandblock_minecart,Command:"setblock ~5 ~3 ~1 chain_command_block 4 replace {auto:1b,Command:\"/execute @a[score_bows_min=9,score_bows=9] ~ ~ ~ entitydata @e[type=arrow,r=5,score_bowc_min=1,score_bowc=1] {CustomName:\\\"Bomb\\\",NoGravity:1b}\"}"},{id:commandblock_minecart,Command:"setblock ~4 ~3 ~1 chain_command_block 4 replace {auto:1b,Command:\"/execute @e[type=arrow,name=Bomb,score_bowi_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {CustomName:\\\"bowbomb\\\",Invisible:1b,NoGravity:1b,Small:1b}\"}"},{id:commandblock_minecart,Command:"setblock ~3 ~3 ~1 chain_command_block 2 replace {auto:1b,Command:\"/execute @e[type=armor_stand,name=bowbomb] ~ ~ ~ summon tnt ~ ~ ~ {NoGravity:1b,Fuse:10s}\"}"},{id:commandblock_minecart,Command:"setblock ~3 ~3 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard players add @e[type=armor_stand,name=bowbomb] bowc 1\"}"},{id:commandblock_minecart,Command:"setblock ~4 ~3 ~ chain_command_block 5 replace {auto:1b,Command:\"/kill @e[type=armor_stand,name=bowbomb,score_bowc_min=100]\"}"},{id:commandblock_minecart,Command:"setblock ~5 ~3 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard players set @e[type=item] bowi 1 {Item:{id:\\\"minecraft:bow\\\",Count:1b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"setblock ~6 ~3 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard players set @e[type=item] bowi 12 {Item:{id:\\\"minecraft:iron_block\\\",Count:2b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"setblock ~7 ~3 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard players set @e[type=item] bowi 13 {Item:{id:\\\"minecraft:planks\\\",Count:4b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"setblock ~8 ~3 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard players set @e[type=item] bowi 14 {Item:{id:\\\"minecraft:spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"Bow Crafting Table\\\",Lore:[\\\"From GYGY's custom command mod\\\"]}}}}\"}"},{id:commandblock_minecart,Command:"setblock ~9 ~3 ~ chain_command_block 2 replace {auto:1b,Command:\"/execute @e[type=item,score_bowi_min=1,score_bowi=1] ~ ~ ~ execute @e[type=item,score_bowi_min=12,score_bowi=12,r=1] ~ ~ ~ execute @e[type=item,score_bowi_min=13,score_bowi=13,r=1] ~ ~ ~ summon minecraft:fireworks_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[16760138,0,7032243],FadeColors:[16777215]}]}}}}\"}"},{id:commandblock_minecart,Command:"setblock ~9 ~3 ~-1 chain_command_block 4 replace {auto:1b,Command:\"/execute @e[type=item,score_bowi_min=1,score_bowi=1] ~ ~ ~ execute @e[type=item,score_bowi_min=12,score_bowi=12,r=1] ~ ~ ~ execute @e[type=item,score_bowi_min=13,score_bowi=13,r=1] ~ ~ ~ entitydata @e[type=item,score_bowi_min=13,score_bowi=13,r=1,c=1] {Item:{id:\\\"minecraft:spawn_egg\\\",Count:1b,tag:{EntityTag:{id:\\\"endermite\\\",NoGravity:1b,Silent:1b,CustomName:\\\"bowcraft\\\"},display:{Name:\\\"Bow Crafting Table\\\",Lore:[\\\"From GYGY's custom command mod\\\"]},ench:[{}]}},Motion:[0.0,0.3,0.0]}\"}"},{id:commandblock_minecart,Command:"setblock ~8 ~3 ~-1 chain_command_block 4 replace {auto:1b,Command:\"/execute @e[type=item,score_bowi_min=14,score_bowi=14] ~ ~ ~ kill @e[type=item,score_bowi_min=1,score_bowi=13,r=1]\"}"},{id:commandblock_minecart,Command:"setblock ~7 ~3 ~-1 chain_command_block 4 replace {auto:1b,Command:\"/execute @e[type=endermite,name=bowcraft] ~ ~ ~ summon armor_stand ~ ~ ~ {Small:1b,Invisible:1b,NoGravity:1b,CustomName:\\\"bowcraft\\\",ArmorItems:[{},{},{},{id:\\\"minecraft:diamond_sword\\\",Count:1b,Damage:1s,tag:{Unbreakable:1b}}],DisabledSlots:1052688}\"}"},{id:commandblock_minecart,Command:"setblock ~6 ~3 ~-1 chain_command_block 4 replace {auto:1b,Command:\"/execute @e[type=endermite,name=bowcraft] ~ ~ ~ playsound block.stone.place block @a ~ ~ ~ 12 1 \"}"},{id:commandblock_minecart,Command:"setblock ~5 ~3 ~-1 chain_command_block 4 replace {auto:1b,Command:\"/kill @e[type=endermite,name=bowcraft]\"}"},{id:commandblock_minecart,Command:"setblock ~4 ~3 ~-1 chain_command_block 4 replace {auto:1b,Command:\"/execute @a[m=0] ~ ~ ~ execute @e[type=armor_stand,name=bowcraft] ~ ~ ~ detect ~ ~-1 ~ air 0 summon item ~ ~ ~ {Item:{id:\\\"minecraft:spawn_egg\\\",Count:1b,tag:{EntityTag:{id:\\\"endermite\\\",NoGravity:1b,Silent:1b,CustomName:\\\"bowcraft\\\"},display:{Name:\\\"Bow Crafting Table\\\",Lore:[\\\"From GYGY's custom command mod\\\"]},ench:[{}]}},Motion:[0.0,0.1,0.0]}\"}"},{id:commandblock_minecart,Command:"setblock ~3 ~3 ~-1 chain_command_block 1 replace {auto:1b,Command:\"/execute @e[type=armor_stand,name=bowcraft] ~ ~ ~ detect ~ ~-1 ~ air 0 kill @e[type=armor_stand,name=bowcraft,r=0]\"}"},{id:commandblock_minecart,Command:"setblock ~3 ~4 ~-1 chain_command_block 5 replace {auto:1b,Command:\"/scoreboard players add @e[type=arrow] bowc 1\"}"},{id:commandblock_minecart,Command:"setblock ~4 ~4 ~-1 chain_command_block 5 replace {auto:1b,Command:\" /kill @e[type=arrow,name=OneShot,score_bowi_min=1]\"}"},{id:commandblock_minecart,Command:"setblock ~4 ~4 ~ command_block 5 replace {auto:0b,Command:\"/scoreboard objectives remove bowc\"}"},{id:commandblock_minecart,Command:"setblock ~5 ~4 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard objectives remove bowi\"}"},{id:commandblock_minecart,Command:"setblock ~6 ~4 ~ chain_command_block 5 replace {auto:1b,Command:\"/scoreboard objectives remove bows\"}"},{id:commandblock_minecart,Command:"setblock ~7 ~4 ~ chain_command_block 5 replace {auto:1b,Command:\"/tellraw @p [\\\"\\\",{\\\"text\\\":\\\"Thanks for Playing!\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"setblock ~8 ~4 ~ chain_command_block 5 replace {auto:1b,Command:\"/fill ~-7 ~-7 ~-2 ~2 ~1 ~2 air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 replace {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]"}]}]}]}