Can confirm in 1.21.4
huh, did not notice that before. thanks for clarifying
Can confirm in 1.21.4
This is Works As Intended
this is asking for a range, not a single number. You are supposed to put /random roll a number, two dots, and another number. For example, to roll a random number from 1 to 10, type in
/random roll 1..10
You should get a number from 1-10
If you type in just a single number, it will say "range of the random value must be at least 2" because you only specified one number. If you type in "x..y" it will work.
Can confirm in 1.21.4
In some cases, they even close the door on themselves, although less commonly.