Tested with Spigot 1.20 and 1.18
EntityPortalEvent doesn't trigger if a NPC travels through an end gateway, while it works as i think it should be with nether and end portals.