Mojira Archive
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

Unresolved

[Mod] tryashtar

2023-05-25, 11:36 PM

2025-01-02, 12:28 AM

8

4

Confirmed

1045095

vanilla-parity

1.20.10.20 Preview, 1.20.30, 1.20.50.20 Preview, 1.21.60.24 Preview

-