scoreboard players add @e[type=minecraft:armor_stand,name=IslandMake] IslandTimer 1
scoreboard players add @e[type=minecraft:armor_stand,name=DayQ] IslandTimerCB 1
##execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=1..2}] run gamerule randomTickSpeed 3000
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=57..59}] run execute at @e[name=IslandMake] run fill ~-9 ~-2 ~-9 ~9 ~2 ~9 minecraft:air replace minecraft:redstone_block
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=57..59}] run execute at @e[name=IslandMake] run fill ~-9 ~-2 ~-9 ~9 ~2 ~9 minecraft:air replace minecraft:structure_block
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=2}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,Tags:["SnowPlaceKyu"],CustomName:"\"IslandSnow1\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=2}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,Tags:["SnowPlaceKyu"],CustomName:"\"IslandSnow2\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=2}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,Tags:["SnowPlaceKyu"],CustomName:"\"IslandSnow3\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=2}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,Tags:["SnowPlaceKyu"],CustomName:"\"IslandSnow4\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=24}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,Tags:["SnowStructures"],CustomName:"\"IslandSnowStructure\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=25}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,Tags:["SnowStructures"],CustomName:"\"IslandSnowStructureArch\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=3..55}] run spreadplayers ~ ~ 1 16 false @e[tag=SnowPlaceKyu]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=24..45}] run spreadplayers ~ ~ 1 10 false @e[name=IslandSnowStructure]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=25..25}] run spreadplayers ~ ~ 7 7 false @e[name=IslandSnowStructureArch]
execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[type=minecraft:armor_stand,name=IslandSnowStructure] run setblock ~ 201 ~ minecraft:structure_block[mode=load]{name:"suhc:snowpiller",posX:-2,posZ:-2,posY:0,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[type=minecraft:armor_stand,name=IslandSnowStructure] run setblock ~ 201 ~ minecraft:structure_block[mode=load]{name:"suhc:snowpiller",posX:2,posZ:-2,posY:0,rotation:"CLOCKWISE_90",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[type=minecraft:armor_stand,name=IslandSnowStructure] run setblock ~ 201 ~ minecraft:structure_block[mode=load]{name:"suhc:snowpiller",posX:2,posZ:2,posY:0,rotation:"CLOCKWISE_180",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[type=minecraft:armor_stand,name=IslandSnowStructure] run setblock ~ 201 ~ minecraft:structure_block[mode=load]{name:"suhc:snowpiller",posX:-2,posZ:2,posY:0,rotation:"COUNTERCLOCKWISE_90",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~1 ~ bedrock run execute at @e[type=minecraft:armor_stand,name=IslandSnowStructureArch] run setblock ~ 201 ~ minecraft:structure_block[mode=load]{name:"suhc:snowarch",posX:6,posZ:-2,posY:0,rotation:"CLOCKWISE_90",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute as @e[type=minecraft:armor_stand,tag=SnowStructures,name=IslandSnowStructureArch] run execute at @s run execute at @s unless block ~ 201 ~ structure_block run execute at @s run execute at @s run setblock ~ 201 ~ minecraft:structure_block[mode=load]{name:"suhc:snowarch",posX:-2,posZ:-7,posY:0,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute as @e[type=minecraft:armor_stand,tag=SnowStructures] run execute at @s run execute at @s if block ~ 201 ~ structure_block run setblock ~ 202 ~ redstone_block
execute as @e[name=IslandSnow1] run execute at @s positioned ~ 200 ~ run execute at @s[distance=..5] run fill ~ 201 ~ ~ 201 ~ snow[layers=1]
execute as @e[name=IslandSnow2] run execute at @s positioned ~ 200 ~ run execute at @s[distance=..5] run fill ~ 201 ~ ~ 201 ~ snow[layers=2]
execute as @e[name=IslandSnow3] run execute at @s positioned ~ 200 ~ run execute at @s[distance=..5] run fill ~ 201 ~ ~ 201 ~ snow[layers=3]
execute as @e[name=IslandSnow4] run execute at @s positioned ~ 200 ~ run execute at @s[distance=..5] run fill ~ 201 ~ ~ 201 ~ snow[layers=4]
##execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=25..60}] run spreadplayers ~ ~ 1 11 false @e[name=IslandShrub]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=58..59}] run summon polar_bear ~ 207 ~
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=59}] run summon snow_golem ~3 207 ~
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=60}] run kill @e[tag=SnowPlaceKyu]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=60}] run kill @e[tag=SnowStructures]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=25}] run kill @e[tag=SnowStructures,name=IslandSnowStructureArch]
##execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=60}] run kill @e[name=IslandShrub]
##execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=90}] run gamerule randomTickSpeed 3
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=81}] run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~1 ~ bedrock run execute at @e[type=minecraft:armor_stand,name=IslandMake] run function zzzzdonotuse:islands/shipstuff/shipactivate
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=86}] run function zzzzdonotuse:islands/shipstuff/shiprotate
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=89}] run kill @e[type=armor_stand,tag=IslandShipStand]
##execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=25..60}] run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=IslandShrub] run fill ~ 201 ~ ~ 201 ~ minecraft:fern replace air
##execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=25..60}] run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=IslandShrub] run fill ~ 201 ~ ~ 201 ~ minecraft:sweet_berry_bush[age=3] replace air
#kill @e[name=IslandMake]
#data merge block ~ ~-9 ~ {auto:0b}
##execute at @e[name=IslandWater] run fill ~-1 200 ~-1 ~1 200 ~1 podzol replace grass_block
##execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~ ~ diamond_block run execute at @e[sort=random,limit=1,name=METEORKYU,type=armor_stand,tag=KyuDung] if block ~ ~-1 ~ bedrock run execute at @e[name=IslandWater] run fill ~ 201 ~ ~1 201 ~1 spruce_sapling