function bw:waterstate/set
execute if score @s bw_mcxyz matches 5 run function bw:waterstate/block_x
execute if score @s bw_mcxyz matches 6 run function bw:waterstate/block_z
execute if score @s bw_mcxyz matches 7 run function bw:waterstate/block_y
execute if score @s bw_mcxyz matches 8 run function bw:waterstate/block_xz
execute if score @s bw_mcxyz matches 9 run function bw:waterstate/block_xy
execute if score @s bw_mcxyz matches 10 run function bw:waterstate/block_zy