# Wall
fill ^-1 ^2 ^ ^-1 ^2 ^ ice replace #ykw:replaceable
fill ^ ^2 ^ ^ ^2 ^ ice replace #ykw:replaceable
fill ^1 ^2 ^ ^1 ^2 ^ ice replace #ykw:replaceable

# Sides
fill ^-2 ^1 ^-0.6 ^-2 ^1 ^-0.6 ice replace #ykw:replaceable
fill ^2 ^1 ^-0.6 ^2 ^1 ^-0.6 ice replace #ykw:replaceable

execute positioned ^-1 ^2 ^ if block ~ ~ ~ water run setblock ~ ~ ~ ice
execute positioned ^ ^2 ^ if block ~ ~ ~ water run setblock ~ ~ ~ ice
execute positioned ^1 ^2 ^ if block ~ ~ ~ water run setblock ~ ~ ~ ice

execute positioned ^-2 ^1 ^-0.6 if block ~ ~ ~ water run setblock ~ ~ ~ ice
execute positioned ^2 ^1 ^-0.6 if block ~ ~ ~ water run setblock ~ ~ ~ ice
