/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:"scoreboard objectives add W24cx_I dummy",Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 command_block 0 replace {Command:fill ~ ~ ~1 ~5 ~1 ~1 stone},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 command_block 0 replace {Command:fill ~ ~ ~-1 ~5 ~1 ~-1 redstone_block},Riding:{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 command_block 0 replace {Command:"scoreboard players set @e[type=Item] W24cx_I 1 {Item:{id:\\\"minecraft:grass\\\"},OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 command_block 0 replace {Command:"scoreboard players set @e[type=Item] W24cx_I 2 {Item:{id:\\\"minecraft:stone\\\"},OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 command_block 0 replace {Command:"execute @e[score_W24cx_I_min=1,score_W24cx_I=1] ~ ~ ~ execute @e[r=0,score_W24cx_I_min=2,score_W24cx_I=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:diamond_sword\\\",Count:1,tag:{display:{Name:\\\"Magic sword\\\"}}}}"},Riding:{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 command_block 0 replace {Command:"execute @e[score_W24cx_I_min=1,score_W24cx_I=1] ~ ~ ~ execute @e[r=0,score_W24cx_I_min=2,score_W24cx_I=2] ~ ~ ~ kill @e[type=Item,score_W24cx_I_min=1,score_W24cx_I=2,r=3]"},Riding:{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 command_block 0 replace {Command:"scoreboard players set @e[type=Item] W24cx_I 3 {Item:{id:\\\"minecraft:gold_ingot\\\"},OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 command_block 0 replace {Command:"scoreboard players set @e[type=Item] W24cx_I 4 {Item:{id:\\\"minecraft:diamond\\\"},OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 command_block 0 replace {Command:"execute @e[score_W24cx_I_min=3,score_W24cx_I=3] ~ ~ ~ execute @e[r=0,score_W24cx_I_min=4,score_W24cx_I=4] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:diamond_block\\\",Count:15,tag:{display:{Name:\\\"LOL}}}}"},Riding:{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 command_block 0 replace {Command:"execute @e[score_W24cx_I_min=3,score_W24cx_I=3] ~ ~ ~ execute @e[r=0,score_W24cx_I_min=4,score_W24cx_I=4] ~ ~ ~ kill @e[type=Item,score_W24cx_I_min=3,score_W24cx_I=4,r=3]"},Riding:{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~-1 command_block 0 replace {Command:"scoreboard players set @e[type=Item] W24cx_I 5 {Item:{id:\\\"minecraft:log\\\"},OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~1 command_block 0 replace {Command:"scoreboard players set @e[type=Item] W24cx_I 6 {Item:{id:\\\"minecraft:cobblestone\\\"},OnGround:1b}"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 command_block 0 replace {Command:"execute @e[score_W24cx_I_min=5,score_W24cx_I=5] ~ ~ ~ execute @e[r=0,score_W24cx_I_min=6,score_W24cx_I=6] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:diamond_ore\\\",Count:1,tag:{display:{Name:\\\"DIAMOND LOOOOOOOL\\\"}}}}"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 command_block 0 replace {Command:"execute @e[score_W24cx_I_min=5,score_W24cx_I=5] ~ ~ ~ execute @e[r=0,score_W24cx_I_min=6,score_W24cx_I=6] ~ ~ ~ kill @e[type=Item,score_W24cx_I_min=5,score_W24cx_I=6,r=3]"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text1:"{text:\\\"New crafting :)\\\",color:gold,italic:true,bold:true}",Text3:"{text:\\\"by Crazy_Cake_\\\",color:dark_aqua,italic:true,bold:true}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{text:\\\"Destroy Machine\\\",color:blue,italic:true,bold:true,underlined:true}",Text4:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"fill ~ ~-2 ~-2 ~9 ~3 ~2 air\\\"}}"},Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~9 ~-1 ~2 stained_glass 4 replace stained_hardened_clay 11,Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~9 ~ ~2 stained_hardened_clay 11 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}}}}}}}}}}}}}}}}}}}}}}}}}}}}