mojira.dev
MCPE-163863

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:

  1. Open a world with commands enabled.

  2. 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.

Attachments

Comments 1

jordanparki7

(Unassigned)

925021

Confirmed

Multiple

1.19.40

1.19.70.21 Preview

Retrieved