execute @s ~ ~ ~ detect ~ ~ ~ nether_brick 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"nether_brick",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ obsidian 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"obsidian",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ concrete 15 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"concrete",Damage:15,Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ stone 1 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"stone",Damage:1,Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ bedrock 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"bedrock",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ red_nether_brick 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"red_nether_brick",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ netherrack 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"netherrack",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ stone 2 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"stone",Damage:2,Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ grass 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"grass",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ end_stone 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"end_stone",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ detect ~ ~ ~ end_bricks 0 summon armor_stand ~ ~ ~ {Invisible:1,Silent:1b,ArmorItems:[{},{},{},{id:"end_bricks",Count:1}],Tags:["block","blockN"]}
execute @s ~ ~ ~ setblock ~ ~ ~ air

scoreboard players set r Random 10
execute @e[tag=area_main] ~ ~ ~ function mctsts:util/random
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 1 1
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.0,1.0,0.0]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 2 2
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.5,1.0,0.0]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 3 3
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[-0.5,1.0,0.0]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 4 4
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.0,1.0,0.5]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 5 5
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.0,1.0,-0.5]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 6 6
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.5,1.0,0.5]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 7 7
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.5,1.0,-0.5]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 8 8
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[-0.5,1.0,0.5]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 9 9
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[-0.5,1.0,-0.5]}
execute @e[tag=area_main] ~ ~ ~ scoreboard players test n Random 10 10
execute @e[tag=area_main,score_Success_min=1] ~ ~ ~ entitydata @e[tag=blockN] {Motion:[0.0,0.5,0.0]}

scoreboard players tag @e[tag=blockN] remove blockN
kill @s