execute if score @s bw_block matches 823 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=0,waterlogged=false]
execute if score @s bw_block matches 823 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=0,waterlogged=true]
execute if score @s bw_block matches 824 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=1,waterlogged=false]
execute if score @s bw_block matches 824 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=1,waterlogged=true]
execute if score @s bw_block matches 825 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=2,waterlogged=false]
execute if score @s bw_block matches 825 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=2,waterlogged=true]
execute if score @s bw_block matches 826 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=3,waterlogged=false]
execute if score @s bw_block matches 826 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=3,waterlogged=true]
execute if score @s bw_block matches 827 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=4,waterlogged=false]
execute if score @s bw_block matches 827 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=4,waterlogged=true]
execute if score @s bw_block matches 828 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=5,waterlogged=false]
execute if score @s bw_block matches 828 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=5,waterlogged=true]
execute if score @s bw_block matches 829 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=6,waterlogged=false]
execute if score @s bw_block matches 829 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=6,waterlogged=true]
execute if score @s bw_block matches 830 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=7,waterlogged=false]
execute if score @s bw_block matches 830 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=7,waterlogged=true]
execute if score @s bw_block matches 831 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=8,waterlogged=false]
execute if score @s bw_block matches 831 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=8,waterlogged=true]
execute if score @s bw_block matches 832 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=9,waterlogged=false]
execute if score @s bw_block matches 832 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=9,waterlogged=true]
execute if score @s bw_block matches 833 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=10,waterlogged=false]
execute if score @s bw_block matches 833 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=10,waterlogged=true]
execute if score @s bw_block matches 834 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=11,waterlogged=false]
execute if score @s bw_block matches 834 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=11,waterlogged=true]
execute if score @s bw_block matches 835 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=12,waterlogged=false]
execute if score @s bw_block matches 835 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=12,waterlogged=true]
execute if score @s bw_block matches 836 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=13,waterlogged=false]
execute if score @s bw_block matches 836 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=13,waterlogged=true]
execute if score @s bw_block matches 837 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=14,waterlogged=false]
execute if score @s bw_block matches 837 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=14,waterlogged=true]
execute if score @s bw_block matches 838 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_sign[rotation=15,waterlogged=false]
execute if score @s bw_block matches 838 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_sign[rotation=15,waterlogged=true]
execute if score @s bw_block matches 839 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_wall_sign[facing=north,waterlogged=false]
execute if score @s bw_block matches 839 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_wall_sign[facing=north,waterlogged=true]
execute if score @s bw_block matches 840 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_wall_sign[facing=east,waterlogged=false]
execute if score @s bw_block matches 840 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_wall_sign[facing=east,waterlogged=true]
execute if score @s bw_block matches 841 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_wall_sign[facing=south,waterlogged=false]
execute if score @s bw_block matches 841 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_wall_sign[facing=south,waterlogged=true]
execute if score @s bw_block matches 842 unless block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 2 1610 minecraft:spruce_wall_sign[facing=west,waterlogged=false]
execute if score @s bw_block matches 842 if block ~ ~ ~ minecraft:water[level=0] run setblock -30000000 1 1610 minecraft:spruce_wall_sign[facing=west,waterlogged=true]
function bw:waterstate/direction
playsound minecraft:block.wood.place block @s ~ ~ ~ 1 0.8