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

Placing fallling blocks using /setblock can cause a client-side lag spike in some circumstances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w16a
    • 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w15a, 21w16a, 1.17, 1.17.1 Release Candidate 2, 1.17.1, 21w39a, 21w43a, 1.18 Release Candidate 3, 1.18, 1.18.2, 1.19 Pre-release 1, 1.19.1, 1.19.3, 23w04a
    • Confirmed
    • Performance
    • Important

      Using /setblock to place a falling block in air will cause a game freeze in some circumstances.

      One of these can be found in the attached world: placing a block at y<32 won't cause a freeze, on the other cases it will.

      That's not the only case, i didn't find why this is happening despite different tests.

      I have recorded a video showing the performance issue while executing a metric capture. Both of them can be found in the attachments.

        1. MC-188295.zip
          310 kB
        2. 2020-06-09_16.06.12.png
          2020-06-09_16.06.12.png
          579 kB
        3. MC-188295 - metric capture.zip
          24 kB
        4. mc-188295.mp4
          7.01 MB

            Unassigned Unassigned
            TheGabro TheGabro
            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: