Mojira Archive
MC-255173

Nether portal teleportation is inaccurate at large coordinate values

In PortalShape::getRelativePosition an unnecessary conversion from double to float leads to excessive rounding of the position you end up when going through a portal.

Reproduction steps:

  • Open the attached world
  • Click the minecart to position the player at 8000000.5 8000000.5
  • You get teleported to 1000000.5 1000000.348 instead of 1000000.5 1000000.5

Fixed

skyrising (Simon Wanner)

2022-08-12, 04:05 PM

2023-09-26, 05:23 AM

2023-09-25, 02:15 PM

19

8

Confirmed

Low

Platform

Player

1.19.2

23w40a