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

Can teleport to invalid y coordinates and crash the game

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w07a, 20w08a
    • Fix Version/s: 20w11a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands, Crash
    • Mojang Priority:
      Very Important

      Description

      The bug

      Before 20w06a (the first Nether Update snapshot), teleporting to coordinates in any direction was unrestricted on coordinate value, which could cause kick or game crash when trying to teleport to extremely large values.

      This was temporarily fixed in 20w06a, but the fix prevented from teleporting to negative coordinates (MC-170951), and was reverted more than necessary.

      Since 20w07a, this issue still occurs only when teleporting to extremely large y coordinates (the value for x and z is now properly bounded).

      How to reproduce

      /tp ~ 1000000000000 ~
      

      Game freezes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgatland [Mojang] Matthew Gatland
                Reporter:
                Johnibur [Helper] Johnibur
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK:

                  Potential Duplicates