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

"Lag" when using big region target selectors (dx, dy and dz)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.8, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.13, Minecraft 18w32a, 1.15.2, 1.16 Pre-release 3, 1.16.1, 20w27a, 1.16.2, 1.16.4, 20w48a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands, Performance
    • Mojang Priority:
      Normal

      Description

      The bug

      If in the region target selectors, @something[x=X,y=Y,z=Z,dx=DX,dy=DY,dz=DZ], you put big DX, DY, and DZ values, Minecraft hangs.
      For example, doing "/say @e[x=-50000,y=0,z=-50000,dx=100000,dy=256,dz=100000]" causes the game to hang. This isn't noticeable in gameplay, but only when you try to send somewhat in chat or to close the world.

      Affects: @e, @r[type=!Player]

      Code analysis

      Code analysis by AjaxGb can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              imamo Matteo Morena
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: