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 ~2 ~-3 ~-2 ~8 ~1 ~2 brick_block 0 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~8 ~ ~2 stained_glass 0 replace brick_block"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Thanks for using Mini-Houses Command!\",\"color\":\"gold\",\"bold\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://goo.gl/QirTOk\"}}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"This command has been made by Kuzkay\",\"color\":\"green\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://goo.gl/QirTOk\"}}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Press this link to visit his Youtube Channel!\",\"color\":\"green\",\"bold\":false,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://goo.gl/QirTOk\"}}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"You can stalk me on my twitter @KuzkayGames\",\"color\":\"aqua\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\" \",\"color\":\"red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"To make Mini-House drop: 1x Brick Block + 1x Emerald to get it\",\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://goo.gl/QirTOk\"}}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Dont place them closer than 15 Blocks from each other\",\"color\":\"dark_red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Use this command on minecraft 1.10\",\"color\":\"red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"This command supports Multiplayer But dont use Modded or Spigot servers\",\"color\":\"dark_red\"}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @p [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"Press me!\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\",\\\\\\\"bold\\\\\\\":true,\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"open_url\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"https://goo.gl/QirTOk\\\\\\\"}}]\\\"}}",Text2:"{\\\"text\\\":\\\"Press to get\\\",\\\"color\\\":\\\"green\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"Kuzkay's Youtube\\\",\\\"color\\\":\\\"green\\\",\\\"bold\\\":true}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text2:"{\\\"text\\\":\\\"Remove\\\",\\\"color\\\":\\\"dark_red\\\"}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-2 ~7 ~2 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:"scoreboard objectives add kuz_I dummy"},{id:MinecartCommandBlock,Command:"summon ArmorStand ~3 ~-2 ~-1 {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:MinecartCommandBlock,Command:"scoreboard objectives add kuz_A dummy"},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~1 chain_command_block 5 replace {auto:1,Command:"execute @e[score_kuz_I_min=34,score_kuz_I=34] ~ ~ ~ execute @e[score_kuz_I_min=35,score_kuz_I=35,r=1] ~ ~ ~ kill @e[type=Item,r=3,score_kuz_I_min=34,score_kuz_I=36]"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 3 replace {auto:1,Command:"execute @e[score_kuz_I_min=34,score_kuz_I=34] ~ ~ ~ execute @e[score_kuz_I_min=35,score_kuz_I=35,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:minecraft:spawn_egg,Damage:96,tag:{display:{Name:\\\"Mini-House\\\",Lore:[Place on the ground to make Mini-House]},EntityTag:{id:\\\"MushroomCow\\\"}},Count:1}}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~ chain_command_block 4 replace {auto:1,Command:"scoreboard players set @e kuz_I 35 {Item:{id:minecraft:emerald},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~ chain_command_block 4 replace {auto:1,Command:"scoreboard players set @e kuz_I 34 {Item:{id:minecraft:brick_block},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~ chain_command_block 4 replace {auto:1,Command:"execute @e[name=Exit] ~ ~ ~ tp @a[r=1] ~ ~-20 ~-1 "}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~ chain_command_block 4 replace {auto:1,Command:"execute @e[name=Exit] ~ ~ ~ gamemode 0 @a[r=1]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~-1 chain_command_block 3 replace {auto:1,Command:"execute @e[name=Exit] ~ ~ ~ effect @a[r=1] minecraft:blindness 7 140 true"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Exit] ~ ~ ~ effect @a[r=1] minecraft:resistance 5 140 true"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Exit] ~ ~ ~ effect @a[r=1] minecraft:levitation 5 140 true"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=h1] ~ ~ ~ tp @e[type=!ArmorStand,r=1] ~ 250 ~ "}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=h1] ~ ~ ~ effect @a[r=1] blindness 1 1 true"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1 replace {auto:1,Command:"execute @e[name=h1] ~ ~ ~ gamemode 2 @a[r=1]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"kill @e[name=Mini-House]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"tp @e[name=Mini-House] ~ ~-1000 ~ "}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~4 251 ~1 ~4 251 ~-1 stained_glass_pane"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~-3 251 ~-2 torch 1"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 2 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~-3 251 ~2 torch 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~-4 253 ~-4 ~4 253 ~4 stone"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~-1 250 ~-1 ~1 250 ~1 minecraft:carpet 5"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~-3 250 ~ bed 10"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~-3 250 ~1 bed 2"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~-1 250 ~-3 furnace 3"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~1 250 ~-3 chest 3"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~ 250 ~-3 chest 3"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~ 251 ~3 {CustomName:\\\"Exit\\\",CustomNameVisible:1,NoGravity:1b,ShowArms:1,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,45f]},DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~ 251 ~3 spruce_door 8"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 1 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~ 250 ~3 spruce_door 3"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~-4 249 ~4 ~4 253 ~4 brick_block"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~4 249 ~-4 ~-4 253 ~-4 brick_block"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~4 249 ~4 ~4 253 ~-4 brick_block"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~-4 249 ~-4 ~-4 253 ~4 brick_block"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ fill ~-4 249 ~-4 ~4 249 ~4 planks"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~-.06 ~-.7 ~.2 {CustomName:h1,Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Small:1b,Rotation:[92f],ArmorItems:[{},{},{},{}],HandItems:[{id:\\\"stained_glass_pane\\\",Count:1b},{}],DisabledSlots:2039583,Pose:{RightArm:[250f,0f,0f]}}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~.6 ~-.7 ~.2 {CustomName:h1,Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoBasePlate:1b,NoGravity:1b,ShowArms:1b,Small:1b,Rotation:[92f],ArmorItems:[{},{},{},{}],HandItems:[{id:\\\"stained_glass_pane\\\",Count:1b},{}],DisabledSlots:2039583,Pose:{RightArm:[250f,0f,0f]}}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~-.2 ~-.66 ~ {CustomName:\\\"h1\\\",NoGravity:1b,ShowArms:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:wooden_pressure_plate,Count:1}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,-45f]},DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~-.12 ~-.24 ~-.08 {CustomName:\\\"h1\\\",NoGravity:1b,ShowArms:1,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:brick_block,Count:1}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,45f]},DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ setblock ~ ~-1 ~ sea_lantern"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~.2 ~-.66 ~ {CustomName:\\\"h1\\\",NoGravity:1b,ShowArms:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:wooden_pressure_plate,Count:1}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,45f]},DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~-.12 ~-.24 ~.08 {CustomName:\\\"h1\\\",NoGravity:1b,ShowArms:1,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:brick_block,Count:1}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,45f]},DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~ ~-1.05 ~.51 {CustomName:\\\"h1\\\",NoGravity:1b,ShowArms:1,Marker:1b,Invisible:1,Small:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:spruce_door,Count:1}],DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/execute @e[name=Mini-House] ~ ~ ~ /summon ArmorStand ~ ~-1.4 ~ {CustomName:\\\"h1\\\",NoGravity:1b,ShowArms:1,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:brick_block,Damage:0,Count:1}],DisabledSlots:2039583}"}},{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]}]}]}]}