execute if score @s trap_cooldown matches ..0 if entity @e[distance=..1.5,tag=!unspellable,limit=1,type=!player] run function traps:water_mine/1_trigger
execute if score @s trap_cooldown matches ..0 if entity @a[distance=..1.5,limit=1,gamemode=!spectator] run function traps:water_mine/1_trigger

execute if score @s trap_cooldown matches 1.. run function traps:water_mine/2_cicle
