dx, dy, dz use int values rather than float.
When using the command selectors "dx", "dy" and "dz" in Minecraft Bedrock Edition, their values must be an integer. A float value would result in a syntax error. This is not coherant with Java Edition, but is hugely significant when defining volumes for commands to run.
Steps to reproduce:
- Open a world with commands enabled.
- Run command /say @a[y=0,dy=5000.5]
Observation:
A syntax error is given:
Syntax error: Unexpected "5000.5": at "@a[y=0,dy=>>5000.5<<]"
Expected result:
The player is recognised by the identifier and thus their name is given in chat.
2022-10-29, 02:36 PM
2024-10-16, 11:13 AM
2023-02-21, 04:05 PM
0
0
925021