mojira.dev
MCPE-170849

Block state syntax still not Java Parity

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

Comments 1

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version History – Snapshot Version History – Feature Requests and Suggestions

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

tryashtar

(Unassigned)

1045095

Confirmed

Windows

vanilla-parity

1.20.10.20 Preview, 1.20.30, 1.20.50.20 Preview, 1.21.60.24 Preview

Retrieved