Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-163863

dx, dy, dz use int values rather than float.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.70.21 Preview
    • 1.19.40
    • None
    • Confirmed
    • Multiple
    • 925021

      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.

            Jordanparki7 jordanparki7
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: