Mobs are immune to damage from the world border.
How to reproduce:
Set a damage amount for the world border (/worldborder damage amount 1)
Spawn a mob anywhere
Set the world border distance so the mob is outside it
If the player is in Survival mode, they will take suffocation damage, but the mob will not.
Linked issues
Attachments
Comments 5
Duplicate of MC-55284 which is marked as Works as Intended
Sorry for the small GUI scale by the way.