-
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.
- is duplicated by
-
MC-46347 /testfor command stops redstone circuit
- Resolved
-
MC-89597 Selector with big radius will crash the game
- Resolved
-
MC-136471 Large numbers in "distance" target selector argument freeze game
- Resolved
-
MC-203090 Large distance in entity selector lags the game
- Resolved
- relates to
-
MC-73916 "Lag" when using big region target selectors (dx, dy and dz)
- Resolved