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 1500
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=42..44}] run execute at @e[name=IslandMake] run fill ~-19 197 ~-19 ~19 199 ~19 minecraft:dirt replace minecraft:redstone_block
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=42..44}] run execute at @e[name=IslandMake] run fill ~-19 197 ~-19 ~19 199 ~19 minecraft:stone replace minecraft:dispenser
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=12}] run summon minecraft:armor_stand ~ ~ ~ {Invisible:1b,Silent:1b,Invulnerable:1,CustomName:"\"IslandWater\"",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,CustomName:"\"IslandWaterTree\"",NoGravity:1}
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=13..45}] run spreadplayers ~ ~ 1 9 false @e[name=IslandWater]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=2..8}] run spreadplayers ~ ~ 1 10 false @e[name=IslandWaterTree]
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=IslandWaterTree] run setblock ~ 200 ~ minecraft:structure_block[mode=load]{name:"suhc:swamptree1",posX:-3,posZ:-3,posY:1,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[type=minecraft:armor_stand,name=IslandWaterTree] run setblock ~ 200 ~ minecraft:structure_block[mode=load]{name:"suhc:swamptree2",posX:-3,posZ:-3,posY:1,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute as @e[type=minecraft:armor_stand,name=IslandWaterTree] run execute at @s run execute at @s if block ~ 200 ~ structure_block run setblock ~ 199 ~ redstone_block destroy
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=12..14}] run execute at @e[name=IslandMake] run fill ~-19 200 ~-19 ~19 201 ~19 minecraft:oak_log replace minecraft:redstone_block
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=12..14}] run execute at @e[name=IslandMake] run fill ~-19 200 ~-19 ~19 201 ~19 minecraft:oak_log replace minecraft:structure_block
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=12..14}] run execute at @e[name=IslandMake] run fill ~-19 196 ~-19 ~19 201 ~19 minecraft:dirt replace minecraft:redstone_block
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=30}] run kill @e[name=IslandWater]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=12}] run kill @e[name=IslandWaterTree]
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=110}] run gamerule randomTickSpeed 3
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=101}] 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=106}] run function zzzzdonotuse:islands/shipstuff/shiprotate
execute at @e[type=minecraft:armor_stand,name=IslandMake,scores={IslandTimer=109}] run kill @e[type=armor_stand,tag=IslandShipStand]
#kill @e[name=IslandMake]
#data merge block ~ ~-9 ~ {auto:0b}
#execute at @e[name=IslandWater] run fill ~2 200 ~2 ~2 200 ~2 water
#execute at @e[name=IslandWater] run fill ~-2 200 ~2 ~-2 200 ~2 water
#execute at @e[name=IslandWater] run fill ~2 200 ~-2 ~2 200 ~-2 water
execute at @e[name=IslandWater] run fill ~1 200 ~1 ~-2 200 ~-2 water replace grass_block
execute at @e[name=IslandWater] run fill ~ 200 ~-3 ~-1 200 ~2 water replace grass_block
execute at @e[name=IslandWater] run fill ~2 200 ~-1 ~-3 200 ~ water replace grass_block
#execute at @e[name=IslandMake,scores={IslandTimer=5..20}] run execute at @e[name=IslandWater] run setblock ~ 198 ~ minecraft:redstone_block
#execute at @e[name=IslandMake,scores={IslandTimer=5..20}] run execute at @e[name=IslandWater] run setblock ~ 199 ~ minecraft:dispenser[facing=up,triggered=false]{Items:[{Slot:0b,id:"minecraft:bone_meal",Count:1b}]}
execute at @e[name=IslandMake,scores={IslandTimer=35..37}] run fill ~-7 199 ~-7 ~7 199 ~7 minecraft:dispenser[facing=up,triggered=false]{Items:[{Slot:0b,id:"minecraft:bone_meal",Count:1b}]} replace stone
execute at @e[name=IslandMake,scores={IslandTimer=37..39}] run fill ~-7 198 ~-7 ~7 198 ~7 minecraft:redstone_block replace stone
execute at @e[name=IslandWater] run fill ~2 195 ~2 ~-2 200 ~-2 vine[east=true,north=true,south=true,up=true,west=true] replace air