/summon MinecartCommandBlock ~ ~1 ~ {Command:kill @e[type=MinecartCommandBlock,r=1],Riding:{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~-1 {Command:fill ~ ~ ~1 ~5 ~1 ~1 stone},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {Command:fill ~ ~ ~-1 ~5 ~1 ~-1 redstone_block},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~-1 {Command:/gamerule commandBlockOutput false},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {Command:/scoreboard objectives add onGround dummy},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~-1 {Command:scoreboard objectives add crafted dummy},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {Command:/scoreboard objectives add item dummy},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~-1 {Command:scoreboard players set @e[type=Item] onGround 1 {OnGround:1b}},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {Command:scoreboard players set @e[type=Item] onGround 0 {OnGround0b}},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~-1 {Command:scoreboard players set @e[type=Item] item 1 {Item:{id:minecraft:anvil}}},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {Command:scoreboard players set @e[type=Item] item 2 {Item:{id:minecraft:nether_star}}},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~-1 {Command:scoreboard players set @e[type=Item] item 3 {Item:{id:minecraft:dragon_egg}}},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~1 {Command:scoreboard players set @e[type=Item] item 4 {Item:{id:minecraft:skull}}},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~-1 {Command:execute @e[type=Item,score_item_min=3,score_item=3,score_onGround_min=1] ~ ~ ~ execute @e[type=Item,score_item_min=4,score_item=4,score_onGround_min=1,r=2] ~ ~ ~ scoreboard players set @e[type=Item,r=1] crafted 1},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~1 {Command:execute @e[type=Item,score_item_min=1,score_item=1,score_onGround_min=1] ~ ~ ~ execute @e[type=Item,score_item_min=2,score_item=2,score_onGround_min=1,r=2] ~ ~ ~ scoreboard players set @e[type=Item,r=1] crafted 1},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~-1 {Command:execute @e[type=Item,score_item_min=1,score_item=1,score_onGround_min=1] ~ ~ ~ execute @e[type=Item,score_item_min=2,score_item=2,score_onGround_min=1,r=1] ~ ~ ~ /summon ArmorStand ~ ~ ~ {ShowArms:1,CustomNameVisible:1,CustomName:WeaponForge,Invisible:1}},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~1 {Command:execute @e[type=Item,score_item_min=3,score_item=3,score_onGround_min=1] ~ ~ ~ execute @e[type=Item,score_item_min=4,score_item=4,score_onGround_min=1,r=2] ~ ~ ~ /summon Zombie ~ ~1 ~ {CustomName:"Ender Golem",CustomNameVisible:1,IsBaby:1,Equipment:[{id:ender_eye,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:1,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:15,Operation:1,UUIDLeast:894654,UUIDMost:2872}]}},{id:dragon_egg,Count:2},{},{id:diamond_chestplate,Count:1,tag:{ench:[{id:0,lvl:100}]}},{id:skull,Damage:3,Count:1,tag:{SkullOwner:MHF_Enderman}}],DropChances:[0.0F,2.0F,0.085F,0.0F,0.1F],PersistenceRequired:1}},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~-1 {Command:execute @e[score_crafted_min=1,score_crafted=1] ~ ~ ~ /summon FireworksRocketEntity ~ ~ ~ {LifeTime:0,FireworksItem:{id:401,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:1,Trail:0,Colors:[0],FadeColors:[16713736]}]}}}}},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~1 {Command:execute @e[type=Item,score_item_min=1,score_item=1,score_onGround_min=1] ~ ~ ~ execute @e[type=Item,score_item_min=2,score_item=2,score_onGround_min=1,r=1] ~ ~ ~ /summon Villager ~ ~1 ~ {CustomName:"WeaponForge",CustomNameVisible:1,Profession:3,Career:2,Offers:{Recipes:[{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:stick,Count:1},buyB:{id:obsidian,Count:2},sell:{id:stone_sword,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:894654,UUIDMost:2872}],Unbreakable:1,display:{Name:Obsidian Sword}}}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:stick,Count:1},buyB:{id:bone,Count:2},sell:{id:iron_sword,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-0.5,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Bone Sword}}}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:stick,Count:1},buyB:{id:netherbrick,Count:2},sell:{id:golden_sword,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Nethersword},ench:[{id:20,lvl:2}]}}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:stick,Count:2},buyB:{id:iron_block,Count:5},sell:{id:iron_axe,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:8,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Battleaxe},ench:[{id:34,lvl:5}]}}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:stick,Count:1},buyB:{id:potion,Damage:8258,Count:1},sell:{id:diamond_sword,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:1,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:5,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Sword of Speed}}}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:blaze_rod,Count:3},buyB:{id:dragon_egg,Count:1},sell:{id:bow,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:1,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.3,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:894654,UUIDMost:2872}],Unbreakable:1,display:{Name:Crystal Bow},ench:[{id:48,lvl:6}]}}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:blaze_rod,Count:1},buyB:{id:dragon_egg,Count:3},sell:{id:diamond_sword,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:1,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.3,Operation:1,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:894654,UUIDMost:2872}],Unbreakable:1,display:{Name:Crystal Sword}}}}]},Invulnerable:1,PersistenceRequired:1,NoAI:1,Silent:1,ActiveEffects:[{Id:11,Amplifier:5,Duration:19999980,ShowParticles:0b},{Id:14,Amplifier:0,Duration:99999999,ShowParticles:0b}]}},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~-1 {Command:execute @e[type=Item,score_item_min=1,score_item=1,score_onGround_min=1] ~ ~ ~ execute @e[type=Item,score_item_min=2,score_item=2,score_onGround_min=1,r=1] ~ ~ ~ setblock ~ ~ ~ minecraft:anvil},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~1 {Command:kill @e[type=Item,score_crafted_min=1,score_crafted=1]},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~-1 {Command:execute @e[type=ArmorStand,name=WeaponForge] ~ ~ ~ /particle smoke ~ ~1 ~ 0 0 0 0 10},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~7 ~-1 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~8 ~-2 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~6 ~-1 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~8 ~-2 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text2:"{text:\\"Command by\\",color:green,bold:true}",Text3:"{text:\\"Morrle\\",color:gold,bold:true}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{text:\"\",clickEvent:{action:\\"run_command\\",value:\\"kill @e[name=WeaponForge]\\"}}",Text2:"{text:\\"Destroy all\\",color:red,bold:true}",Text3:"{text:\\"WeaponForges\\",color:gray,bold:true}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text2:"{text:\\"Destroy\\",color:dark_red,bold:true}",Text3:"{text:\\"Machine\\",color:dark_red,bold:true}",Text4:"{text:\"\",clickEvent:{action:\\"run_command\\",value:\\"fill ~ ~-1 ~-2 ~9 ~2 ~2 air\\"}}"},Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~9 ~-1 ~2 stained_glass 7 replace stained_hardened_clay 14,Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~9 ~ ~2 stained_hardened_clay 14 hollow,Riding:{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Block:activator_rail,Time:1,Riding:{id:FallingSand,Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}