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.
Linked issues
duplicates 1
Comments 5
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.
This report was made by mistake. I discovered that modifying their nbt data was what actually caused them to freeze. Sorry for the confusion Henrik, I was hoping a moderator would close this report
Belatedly re-resolving into MC-183450.
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