Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-255173

Nether portal teleportation is inaccurate at large coordinate values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w40a
    • 1.19.2
    • None
    • Confirmed
    • Player
    • Low
    • Platform

      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

            Unassigned Unassigned
            skyrising skyrising (Simon Wanner)
            Votes:
            19 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: