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

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

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

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