You're absolutely right ! It works, my bad. Thanks a lot ! For your quick response 😃
Same problem, they may never see players and attack them. If they do, their attack rate is very slow and ineffective. The only way to make them react and damage the player is to bumb into them to trigger the "thorn effect", or hit them.
It happen only when there is a block betwteen the piston and the gravity affected block
Seems fine to me. "if block" and "unless block" work properly when using "at @s" like tryashtar suggested, so I guess the issue resolved and you can close this ticket. Thank you !