mojira.dev
MC-151648

Non-player entities cannot travel through unlinked nether portals

The bug

Non player entities cannot travel through portals if it's not generated on both sides.

How to reproduce (from @unknown)

  1. Create a new world and create an unlit portal frame.

    • If in an existing world, create an unlit portal somewhere far from any existing portals in both the nether and the overworld.

  2. Put a boat in the portal frame

  3. Check the boat's PortalCooldown tag by typing

/data get entity @e[type=minecraft:boat,limit=1] PortalCooldown

, note the tag is at 0

  1. Light the portal
    → ❌ Observe that the boat is not teleported but PortalCooldown is now at 300.

Original Description

Basically my bug is that sometimes pig-men come through the nether portal, to the overworld. Issue is that I cannot seem to push them back into the nether, by physically pushing them into the portal whilst it's lit. Not sure if it's changed that the pig-men need to stay there longer (in the portal) to transport. I had one there for around 8 seconds, but didn't get transported.

Note: I haven't gone to the nether, so idk if it's registered a new world for the nether, or if I'll have to go there myself to generate it to then go back and push him back in. I'll check that and update on if that resolved the issue, and then if this even is a bug.

Update: After going to the nether, and back to try pushing him back in again, the issue is still the same. The pig-man won't be transported back through the portal.

Restarting game didn't resolve it either. As can be seen on the video attatchment.

Issue still remains in the newest version of Minecraft (1.14.1)

However I've found out if the pigman goes into the portal on his own, he will be teleported, but if I try pushing him in he will not teleport.

Linked issues

MC-102754 Mobs don't use nether portals when there is no portal in the nether Resolved MC-149847 Certain villagers refuse to go to the nether Resolved MC-150011 Villager not going through Nether Portal Resolved MC-152451 Some horses unable to use Nether portals even if cooldown timer is at 0 Resolved MC-157866 Foxes and cats not going through nether portals? Resolved

Attachments

Comments 25

Did the zombie pigman leave the portal before you tried to push it back in?

Yes, I waited till he left to make sure. And then tried pushing him back in, but it didn't work. 

Entities need to wait 300 ticks until they can teleport through a portal again. If they enter a portal before that cooldown has counted down to 0, the counter is reset to 300 every tick they're in the portal. I'm not sure whether that's what this issue is about.

Atomik Crafter

I'm having this same issue. trying to move a couple dozen villagers and 2 out of three will not go through on the Nether side, been working on this for two days. Every once in a whole I'll try and to push them through again and they just stand in the portal.

Also, I had one Villager go through and then come back and then he wouldn't go through again, so I had to set him aside as well.

In which version? Also, there's a cooldown after going through a portal, you need to wait for a few seconds before that entity can go through a portal again.

15 more comments

In 1.20.1 this bug appeared again.

Still doesn't work

Can confirm in 1.20.3 Pre-Release 2

SpetsnazUnit18

Wanted to add something to this and see if I could get any help. My portals are linked on XYZ cords within .50 of a block (the division doesn't always give a whole number) and I am trying to get a zombie to go through the portal and it just keeps walking through the lit portal. I have visited both sides and even set up an area around the nether side that is lit and flat. The only thing that could be causing issues is that the portal is on the nether roof but the Y levels for the overworld-nether portal are the same. I am not sure what to do.

 

Went into creative and everything worked fine. There are some portals that are within 200 blocks on my server that i had the problem with so maybe that is it.

Intended behavior based on the resolution of MCPE-166172.

Joakim

Shugoh

Confirmed

Platform

Low

Entities

nether_portal

Minecraft 1.14, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, 1.14.4, 1.15, ..., 21w06a, 1.17.1, 1.18, 1.20.1, 1.20.3 Pre-Release 2

24w21a

Retrieved