# GatVillage Sloop
# Made by GatKong
#tellraw @a ["",{"text":"gatvillage/sloop","color":"green"}]

######### North #########
execute if block ~ ~ ~ minecraft:command_block[facing=north] run fill ~8 62 ~5 ~-6 62 ~-5 minecraft:water replace #gatkong:ship_carver_replaceables

######### South #########
execute if block ~ ~ ~ minecraft:command_block[facing=south] run fill ~6 62 ~5 ~-8 62 ~-5 minecraft:water replace #gatkong:ship_carver_replaceables

######### East ######### good
execute if block ~ ~ ~ minecraft:command_block[facing=east] run fill ~8 62 ~5 ~-9 57 ~-5 minecraft:water replace #gatkong:ship_carver_replaceables

######### West #########
execute if block ~ ~ ~ minecraft:command_block[facing=west] run fill ~9 62 ~5 ~-8 57 ~-5 minecraft:water replace #gatkong:ship_carver_replaceables

kill @e[type=cod,distance=..3]

fill ~ ~ ~ ~ ~2 ~ minecraft:air

kill @e[type=item,distance=..3]

######### WIP LINE #########