#spreadplayers ~ ~ 1 40 false @s
execute at @s run summon armor_stand ~ 49 ~ {NoGravity:1,Invulnerable:1b,Motion:[0.0,0.0,0.0],Tags:["TreeStandKyu"]}
execute at @s run execute if predicate suhc:25percent run tag @e[tag=TreeStandKyu,limit=1,sort=nearest] add KyuDeadTree
execute as @e[type=armor_stand,tag=TreeStandKyu,limit=1,sort=nearest] run execute at @s run spreadplayers ~ ~ 1 40 false @s
execute as @e[type=armor_stand,tag=TreeStandKyu,limit=1,sort=nearest] run execute at @s run tp @s ~ 49 ~
execute as @e[type=armor_stand,tag=TreeStandKyu,limit=1,sort=nearest] run execute at @s run function zzzzdonotuse:structures/tree/spawntree
execute as @e[type=armor_stand,tag=TreeStandKyu,limit=1,sort=nearest] run execute at @s run execute positioned ~ 44 ~ run tag @s[dy=20] remove KyuDeadTree
execute as @e[type=armor_stand,tag=TreeStandKyu,tag=NoTPDown2,limit=1,sort=nearest] run execute at @s run function zzzzdonotuse:structures/tree/spawntree2


tag @s add GotPlaceSpot
scoreboard players set @s KyuDummy5 20
#execute at @s[type=minecraft:armor_stand] run execute if predicate suhc:treechance run execute at @s[predicate=suhc:overworld] run function zzzzdonotuse:structures/tree
