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

Server-side lag spike sometimes occurs when attempting to locate a buried treasure or opening/breaking a chest containing a map

    XMLWordPrintable

Details

    • Confirmed
    • Maps, World generation
    • Important

    Description

      The bug

      A large server-side lag spike sometimes occurs when opening/breaking a chest containing a map or executing /locate buried_treasure. This affects both shipwrecks and underwater ruins. In some cases, the lag spike can be so severe that it can last upwards of 30 seconds, and some users have reported crashes.

      If the server fails to locate a nearby buried treasure, it generates an empty map instead of a buried treasure map (MC-238484).

      To reproduce

      This occurs for a noticeable portion of shipwrecks/underwater ruins, but the seed and coordinates below are particularly good examples.

      1. Create a world with one of the following seed and coordinates:
        Seed: 5120366084678867272
        Coordinates: /execute in minecraft:overworld run tp @s 1303.51 49.00 4016.70 178.65 27.45
        Seed: -1899573754757393022
        Coordinates (shipwreck): /execute in minecraft:overworld run tp @s 2843.30 60.63 -977.73 255.15 36.00
        Coordinates (underwater ruins): /execute in minecraft:overworld run tp @s 2263.13 41.86 -1161.19 264.75 52.80
        
      2. Wait for the teleportation lag to finish.
      3. Open the chest.
        A massive server-side lag spike occurs.

      Attachments

        1. 2021-09-15_21.31.05.png
          2021-09-15_21.31.05.png
          245 kB
        2. 2021-09-25_14_33_52-MC-236740-21w38a.zip
          85 kB
        3. 2021-09-25_14_34_23-MC-236740-21w38a.zip
          121 kB
        4. 2021-09-25_14.34.26.png
          2021-09-25_14.34.26.png
          211 kB
        5. 2021-10-07_09.47.01.png
          2021-10-07_09.47.01.png
          588 kB
        6. 2021-10-20_21_01_18-New World-21w42a.zip
          96 kB
        7. 2021-10-20_21.01.24.png
          2021-10-20_21.01.24.png
          794 kB
        8. MC-236740.mp4
          2.82 MB

        Issue Links

          Activity

            People

              boq [Mojang] Bartosz Bok
              ampolive [Mod] ampolive
              Votes:
              13 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: