execute at @e[type=minecraft:armor_stand,name=IslandMake,limit=1] run spreadplayers ~ ~ 60 60 false @e[name=IslandShip]
execute as @e[name=IslandShip] run execute at @s run tp @s ~ 206 ~
execute at @e[type=minecraft:armor_stand,name=IslandShip] run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:islandpirateship",posX:-6,posZ:-18,posY:0,rotation:NONE,mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute if predicate suhc:25percent run tag @e[name=IslandShip] add Rot90
execute at @e[type=minecraft:armor_stand,name=IslandShip,tag=Rot90] run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:islandpirateship",posX:18,posZ:-6,posY:0,rotation:"CLOCKWISE_90",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute if predicate suhc:25percent run tag @e[name=IslandShip,tag=!Rot90] add Rot180
execute at @e[type=minecraft:armor_stand,name=IslandShip,tag=Rot180] run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:islandpirateship",posX:6,posZ:18,posY:0,rotation:"CLOCKWISE_180",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute if predicate suhc:25percent run tag @e[name=IslandShip,tag=!Rot90,tag=!Rot180] add Rot270
execute at @e[type=minecraft:armor_stand,name=IslandShip,tag=Rot270] run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"suhc:islandpirateship",posX:-18,posZ:6,posY:0,rotation:"COUNTERCLOCKWISE_90",mirror:NONE,mode:LOAD,ignoreEntities:0b} destroy
execute at @e[type=minecraft:armor_stand,name=IslandShip] run setblock ~ ~1 ~ redstone_block