Mojira Archive
MCPE-178700

Commands using [c=NN] take random amounts of time to complete.

Same as MC-268417. I appreciate that you can sort entities by distance but why does Minecraft use the Bogosort algorithm? This algorithm is very inefficient unless you are lucky.

To reproduce just run a command with [c=10] like for example /say @e[c=10] multiple times.

Observed Results: The time how long it takes to sort the entities will be random.
Expected Results: The time how long it takes to sort the entities is not random.

Incomplete

No User

oowooglac

2024-02-08, 08:08 PM

2024-12-30, 11:44 AM

2024-12-30, 11:44 AM

0

2

Unconfirmed

1.20.70.22 Preview, 1.20.60

-