execute as @s unless block ~~1~ air unless block ~~2~ air run event entity @s bd:jumpscare_vent
execute as @s unless block ~~1~ air if block ~~2~ air run event entity @s bd:jumpscare_vent
execute as @s at @s positioned as @s unless block ~~2~ air if block ~~1~ air run event entity @s bd:jumpscare_duck
execute as @s if block ~~1~ air if block ~~2~ air run event entity @s bd:jumpscare_novent
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=villager,rm=40] eyes run tag @e[family=villager,rm=40] remove huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=villager,r=40] eyes run tag @e[family=villager,r=40] add huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=illager,rm=40] eyes run tag @e[family=illager,rm=40] remove huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=illager,r=40] eyes run tag @e[family=illager,r=40] add huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=ravager,rm=40] eyes run tag @e[family=ravager,rm=40] remove huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=ravager,r=40] eyes run tag @e[family=ravager,r=40] add huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=player,rm=40] eyes run tag @e[family=player,rm=40] remove huggy_prey
execute as @s at @s positioned ^^^28 anchored eyes facing entity @e[family=player,r=40] eyes run tag @e[family=player,r=40] add huggy_prey