execute @e[tag=mgenerate] ~ ~ ~ kill @e[tag=mgenerateB]
execute @e[tag=mgenerate] ~ ~ ~ kill @e[tag=mgenerateT]
execute @e[tag=mgenerate] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Radius:0.5f,Duration:2147483647,Particle:"take",Tags:["mgenerateB"]}
execute @e[tag=mgenerate] ~ ~ ~ execute @e[tag=area_main] ~ ~ ~ scoreboard players set r Random 7
execute @e[tag=mgenerate] ~ ~ ~ execute @e[tag=area_main] ~ ~ ~ function mctsts:util/random
scoreboard players test n Random 1 2
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerate] ~ ~ ~ summon area_effect_cloud ~ ~3 ~ {Radius:0.5f,Duration:2147483647,Particle:"take",Tags:["mgenerateT"]}
scoreboard players test n Random 7
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerate] ~ ~ ~ summon area_effect_cloud ~ ~4 ~ {Radius:0.5f,Duration:2147483647,Particle:"take",Tags:["mgenerateT"]}
scoreboard players test n Random 3 5
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerate] ~ ~ ~ summon area_effect_cloud ~ ~5 ~ {Radius:0.5f,Duration:2147483647,Particle:"take",Tags:["mgenerateT"]}
scoreboard players test n Random 6 6
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerate] ~ ~ ~ summon area_effect_cloud ~ ~6 ~ {Radius:0.5f,Duration:2147483647,Particle:"take",Tags:["mgenerateT"]}
kill @e[tag=mgenerate]
execute @e[tag=mgenerateB] ~ ~ ~ execute @e[tag=area_main] ~ ~ ~ scoreboard players set r Random 15
execute @e[tag=mgenerateB] ~ ~ ~ execute @e[tag=area_main] ~ ~ ~ function mctsts:util/random
scoreboard players test n Random 1 6
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerateB] ~ ~ ~ setblock ~ ~ ~ stone
scoreboard players test n Random 7 11
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerateB] ~ ~ ~ setblock ~ ~ ~ stone 5
scoreboard players test n Random 12 15
execute @s[score_Success_min=1] ~ ~ ~ execute @e[tag=mgenerateB] ~ ~ ~ setblock ~ ~ ~ cobblestone
execute @e[tag=mgenerateT] ~ ~ ~ tp @e[tag=mgenerateB] ~ ~1 ~
execute @e[tag=mgenerateT] ~ ~ ~ scoreboard players tag @e[tag=mgenerateB,dy=0] add kill
execute @e[tag=mgenerateB] ~ ~ ~ scoreboard players tag @e[tag=mgenerateT,dy=0] add kill
kill @e[tag=kill]
execute @e[tag=mgenerateB] ~ ~ ~ execute @e[tag=area_main] ~ ~ ~ function mctsts:util/mountain