The certain mobs when a player near it,they stop attacking player and stay next the player:
Zombies
Zombie Villagers
Zombie Pigmen
Husks
Drowneds
Vindicators
Endermen
Wither Skeletons
Vexes
Linked issues
duplicates 1
Attachments
Comments 4
Confirmed on 20w12a but it's a duplicate of Duplicate of MC-147516
This is probably related to MC-147691 and MC-159299