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

Block state syntax still not Java Parity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.10.20 Preview, 1.20.30, 1.20.50.20 Preview
    • Confirmed
    • Windows
    • 1045095

      The 1.20.10.20 changelog says:

      Java Parity: Block states in commands will use equals instead of colon in version 1.20.0 and later. For example using the setblock command: /setblock ~ ~ ~ oak_log["pillar_axis"="x"] (MCPE-168056)

      This is still not Java Parity. Java does not use quotes around the keys or values.

      How to reproduce

      /setblock ~ ~ ~ oak_log[pillar_axis=y]
      

      Expected result
      Log is placed

      Observed result
      Syntax error

            tryashtar [Mod] tryashtar
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: