-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 18w06a, Minecraft 18w08b, 21w08b
-
None
-
Confirmed
-
(Unassigned)
Entity target selectors use two dots (..) for range arguments. With floating point values, this creates ambiguities because of the decimal separator (.). Amongst others, the following issues are caused by this:
- 0...10 - is that "0. to 10" or "0 to .10"? It's not immediately obvious.
- 0....1 causes an error when it should mean "0. to .1"
- 0...1. causes an error when it should mean "0. to 1."
These can be tested in commands such as /give @a[distance=0..10] stone.
Suggested fix: use something other than two dots to distinguish the two values.