Mojira Archive
MCPE-167959

New block syntax requires literal empty state "[]", breaks Java parity

The issue

The new command block state syntax is now mandatory. Aside from the syntax already not matching Java (MCPE-112938), there is an additional issue. The block state part is its own argument, instead of being part of the block argument. As a result, this simple command produces a syntax error:

/setblock ~ ~ ~ air destroy

Instead, you are forced to type

/setblock ~ ~ ~ air[] destroy

This does not match Java Edition, in which the first command works fine. Requiring an empty state argument is redundant and confusing. The block and state should be two halves of a single argument to be compatible with Java Edition syntax, which is well-known since 1.13.

Fixed

[Mod] tryashtar

2023-03-06, 02:26 AM

2023-04-27, 10:52 PM

2023-04-26, 07:25 PM

8

6

Confirmed

988926

1.19.70.26 Preview, 1.19.71, 1.19.72

1.19.80.21 Preview, 1.19.80