execute if block ~ ~.1 ~ water run tp @s ~ ~.2 ~ ~10 ~
execute unless block ~ ~.8 ~ water run tag @s remove settle
#execute unless block ~ ~.8 ~ water store result score random itemcount run random value 1..8
#execute if score random itemcount matches 1 run data modify entity @s Rotation[0] set value 0
#execute if score random itemcount matches 2 run data modify entity @s Rotation[0] set value 45
#execute if score random itemcount matches 3 run data modify entity @s Rotation[0] set value 90
#execute if score random itemcount matches 4 run data modify entity @s Rotation[0] set value 135
#execute if score random itemcount matches 5 run data modify entity @s Rotation[0] set value 180
#execute if score random itemcount matches 6 run data modify entity @s Rotation[0] set value 225
#execute if score random itemcount matches 7 run data modify entity @s Rotation[0] set value 270
#execute if score random itemcount matches 8 run data modify entity @s Rotation[0] set value 315