Im trying to make an item/funature item that will silence all mobs in a 16 or 32 block radius called a "Silencer". (Creative I know) What I'm having trouble with is finding an efficient method to do this. I know if I run a command "/execute at @s as @e[distance=..16] run data modify entity @s {Silent:1b}" to silence them but if its used in the case of a mob spawner any new mobs wont be silenced. So running it every few ticks would work but may be proformance heavy, so if it is possible to run it everytime a new mob with "{Silent:0b}" enters the proximity it would work well as well as when they leave the proximity for them to set to "{Silent:1b}".
Thanks in advance. The furnature is an armor stand just to specify.