Why do the piglins not attack the target mob

https://preview.redd.it/k4awb10j1xbh1.png?width=688&format=png&auto=webp&s=b3107bc8cc7891a9e7361fb6bde71095e9ef6d3b

when i attack a husk, instead of attacking the husk they attack me. When i have gold armor, they stay neutral and dont attack anything. also the particles never show up. afaik the problem is that command execution is delayed and the nbt condition never hits, but idk how to fix that

btw the version is 2026.1 and my generator is NeoForge 21.8

reddit.com
u/TINCHOKUE — 1 month ago

How do i add custom nbt tags for mobs that spawn during procedures

I want to have these piglins have a certain logic NBT tag no matter where they spawn. How do i do that?

u/TINCHOKUE — 1 month ago

How do i make a cooldown for a certain effect?

If i wanted this ability to be used with a 5 second cooldown, how can i implement that?

u/TINCHOKUE — 2 months ago