mojira.dev
MCPE-157992

Minecarts come out of nether portals offset to the NW and may displace or kill mobs that come through portals after them

Steps to reproduce

  1. Make a nether portal.

  2. Go through the portal to the other dimension.

  3. At the destination portal, make a wall of solid blocks covering the portal on the north or west side (-Z or -X).

  4. Go back through the portal.

  5. In the original dimension, send a minecart into the portal, then send a mob such as a villager through the portal.

  6. Go through the portal.

Expected result

The minecart and mob are in the middle of the portal in the other dimension, or they push each other out or you push them out to the east or south, since the west and north are blocked.

Observed result

Minecart is embedded in the wall of solid blocks and the mob is most likely suffocating in the blocks while stuck in the minecart, or may have already died by the time the dimension loads.

Related issues

Attachments

Comments

migrated
[media][media]
GoldenHelmet

I think this happens because the game stores the location of of boats and minecarts based on their center, and not the bottom of their collision box like mobs. Their position gets set to the bottom of the portal and that makes their lower half clip into the block below, which they can then fall through if there isn't another block below that.

[Mod] OcelotOnesie

I can reproduce this in 1.19.2, but not in 1.19.10.24 Preview.

GoldenHelmet

In the 1.19.10.24 Preivew minecarts sent through a portal come out at the correct Y-level but they are offset in the -X or -Z direction, depending on the orientation of the exit portal. That is, their X or Z position is set to an exact coordinate position instead of to the center of the portal frame (+0.5).

[media]

Armor stands sent through a portal get the same offset.

If you have a wall of solid blocks to the north/west of a default-size portal and send a minecart and then a mob through from the other side, then the next mob or player who comes through the portal will unavoidably nudge the minecart, which can cause the mob to suffocate inside the blocks.

[media]

1.19.20.20 Preview shows the same behaviors as 1.19.10.24.

EDIT 8/26/22: since this issue is still does not have an ADO number, I have updated it to describe only the minecart behaviors in the current version. I am creating a new report for boats since their behavior is very different.

GoldenHelmet

(Unassigned)

886746

Confirmed

Windows

1.19.20.20 Preview, 1.19.10.24 Preview, 1.19.0, 1.19.2 Hotfix, 1.19.21 Hotfix, 1.21.2 Hotfix, 1.21.43 Hotfix

Retrieved