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

Target selectors with high radius freeze the block update cycle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 14w19a, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 15w39c, Minecraft 15w44b, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 18w16a, Minecraft 1.13.1, 1.15.2, 20w21a, 1.16.1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 21w19a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands, Performance
    • Mojang Priority:
      Normal

      Description

      The bug

      When a target selector has a particularly high radius (e.g. @e[distance=..100000000]), it freezes the block update cycle until the command has finished executing, which is often one or two full seconds.
      This is especially noticeable if the command block is activated by a clock.

      Code analysis

      Code analysis by AjaxGb can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ryanwb2 ryanwb2
              Votes:
              16 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: