mojira.dev
MCPE-168055

Block state autocomplete suggests states that were already typed

How to reproduce

/setblock ~ ~ ~ oak_log ["pillar_axis":"x",

Press tab

Expected result
Nothing should happen

Actual result
pillar_axis is added a second time. Duplicate state names should be a syntax error.

Comments 3

To add on to this: If you have a block state written (eg "pillar_axis", and press tab after typing the final quote manually, it'll prepend the block state with an additional quote (turning it into ""pillar_axis").

This appears to be fixed in the 1.20.0.21 Preview, to me.
I can reproduce the issue that Dhranios describes with prepending a ", so that seems to be a separate issue and would need a new report.

I verified the previously-commented behavior is still the case in current versions and created MCPE-171114 for it.

tryashtar

(Unassigned)

991012

Confirmed

Windows

1.19.80.20 Preview

1.20.0.20 Preview, 1.20.0

Retrieved