How do target selectors work in Bedrock Edition?
Solution 1:
r
and rm
stand for "radius maximum" and "radius minimum," respectively. Therefore, the following target selector in Java Edition:
@e[distance = 5..10]
is equivalent to the following target selector in Bedrock Edition:
@e[r = 10, rm = 5]
Similarly goes:
l
andlm
stand for "experience level maximum" and "experience level minimum," equivalent tolevel
in Java Edition;rx
andrxm
stand for "rotation X maximum" and "rotation X minimum," equivalent tox_rotation
in Java Edition. (ry
andrym
are analogous)
c
stands for "count," equivalent to limit
in Java Edition.
Here is the complete table from Minecraft Wiki, including some of the parameters you didn't mention: