#summon a marker, if it's on top of a tree, then kill it
execute at @s positioned ~ ~ ~ run execute if predicate suhc:biomes/fishingplatformbiomes run scoreboard players add @s KyuDummy 1
execute at @s positioned ~18 ~ ~18 run execute if predicate suhc:biomes/fishingplatformbiomes run scoreboard players add @s KyuDummy 1
execute at @s positioned ~-26 ~ ~18 run execute if predicate suhc:biomes/fishingplatformbiomes run scoreboard players add @s KyuDummy 1
execute at @s positioned ~18 ~ ~-12 run execute if predicate suhc:biomes/fishingplatformbiomes run scoreboard players add @s KyuDummy 1
execute at @s positioned ~-26 ~ ~-12 run execute if predicate suhc:biomes/fishingplatformbiomes run scoreboard players add @s KyuDummy 1

execute at @s positioned ~1 62 ~1 run execute if block ~ ~ ~ water run scoreboard players add @s KyuDummy 1
execute at @s positioned ~18 62 ~18 run execute if block ~ ~ ~ water run scoreboard players add @s KyuDummy 1
execute at @s positioned ~-26 62 ~18 run execute if block ~ ~ ~ water run scoreboard players add @s KyuDummy 1
execute at @s positioned ~18 62 ~-12 run execute if block ~ ~ ~ water run scoreboard players add @s KyuDummy 1
execute at @s positioned ~-26 62 ~-12 run execute if block ~ ~ ~ water run scoreboard players add @s KyuDummy 1


execute at @s[scores={KyuDummy=10..}] run setblock ~ 66 ~ minecraft:structure_block[mode=load]{name:"suhc:fishingplatform",posX:-25,posZ:-11,posY:-9,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @s[scores={KyuDummy=10..}] run setblock ~ 67 ~ redstone_block

tag @s add GotPlaceSpot
scoreboard players set @s KyuDummy5 20



#kill the MAIN MARKER


#setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:treecove",posX:-13,posZ:-13,posY:1,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy

