summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~ ~8 ~16 ~-2 ~10 ~18 stained_hardened_clay 20 hollow"},{id:MinecartCommandBlock,Command:"fill ~ ~9 ~16 ~-2 ~9 ~18 stained_glass 14 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:setblock ~-1 ~9 ~15 wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"redstone by cadbartoyou\\\",\\\"color\\\":\\\"yellow\\\",\\\"italic\\\":true,\\\"bold\\\":true,\\\"underlined\\\":true}",Text2:"{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"black\\\"}",Text3:"{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"black\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"color\\\":\\\"black\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~-1 ~9 ~17 repeating_command_block 3 replace {auto:1,Command:"/execute @p ~ ~1 ~ testforblock ~ ~-1 ~ tnt /summon mincraft:Pig {CustomeName:\\\"Bob\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}