execute store result score @s[tag=bw_spiq] bw_calc run clear @s minecraft:seagrass 0
scoreboard players operation @s[tag=bw_spiq] bw_calc < #bw_cudu bw_calc
execute if score @s bw_calc matches 2.. unless block ~ ~-1 ~ #bw:gothrough if block ~ ~ ~ minecraft:water if block ~ ~1 ~ minecraft:water run function bw:blocks/vegetation/tall_seagrass/set
execute if score @s bw_calc matches 2.. unless block ~ ~-1 ~ #bw:gothrough if block ~ ~ ~ minecraft:water if block ~ ~1 ~ minecraft:water run playsound minecraft:block.wet_grass.place block @s ~ ~ ~ 1 0.8
execute if score @s bw_mcxyz matches 5 run function bw:blocks/vegetation/tall_seagrass/block_x
execute if score @s bw_mcxyz matches 6 run function bw:blocks/vegetation/tall_seagrass/block_z