How to get a zombie pigman from the nether into the overworld?

I have been trying to get a certain Zombie Pigman through a portal into the overworld. However my attempts have been unsuccessful. I've tried:

  • Pushing it into the portal
  • Having it independently wander into the portal
  • Boating it into the portal
  • Carting it to the portal

All to no avail. The pigman just idles in the portal. Some notes:

  • Other Zombie Pigmen are easily teleported when entering the portal
  • I am aware there is a 300 tick cooldown on the portal and i've been waiting the 15 seconds before attempting to bring it into the portal again
  • The pigman was spawned in hard mode with an enchanted sword and the Pigman is named.

Solution 1:

This is a known bug: https://bugs.mojang.com/browse/MC-151648

I do not know what causes it and how you can work around it. The best you can do is to name another pigman, vote for the report and comment if you encountered it in a version that is not already listed.

Solution 2:

Yes you can! you can take a swipe at one, then run THROUGH the nether portal. Then the zombie pigmen will instantly go through. Notice: They are waiting in the overworld. So be careful.

How to take them back without making them angry? Not so easy, a lightning strike have to hit a pig, which is rare but possible. Then you have a zombie pigman! Other ways?

Zombie Pigmen have a very slight chance of spawning near a nether portal or they can walk through the Portal themselves if the group around is spawnable and the portal is within wander distance. (Very rare)