This may affect hoglins and their respective tag, but I have not tested it.
Try adding minecraft:comparator
to the piglin_repellents
The piglin will never move.
If there is a player nearby who is not wearing any golden armor, the piglin will make angry grunts but not move to attack the player or even turn their head to look at them.
The only way the piglin moves is if they are knocked back and away from the block.
Comments 4
Update: Through further testing, I've discovered that there is a different cause for this behavior that seems to affect all mobs. I've reported this bug as MC-183450.
Is this still a problem in the latest prerelease? If so please reopen and provide clear repro steps.
Note: Apparently this also happens if they are atop a block in the piglin_repellents tag
Another note: Can confirm that this happens with hoglins and their hoglin_repellents tag