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

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 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
    • Confirmed
    • Commands, Performance
    • Normal
    • Platform

      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.

            Unassigned Unassigned
            ryanwb2 ryanwb2
            Votes:
            16 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: