mojira.dev
MCPE-168316

Syntax error when using block states in /fill

When trying to use /fill... replace, the command fails to run as the block state is unexpected, returning a syntax error. However, the command still fails to run without a block state and returns another syntax error.

 

/fill [coords] [coords] [block] [state] [mode] [block]

 

/fill ~~~ ~5~5~5 stone 0 replace air

Returns syntax error due to unexpected "0" (also happens with any other number)

 

/fill ~~~ ~5~5~5 stone replace air

Returns syntax error due to lack of block state

 

This makes the replace/outline/hollow etc features of the /fill command unusable, and also prevents /fill being used for anything but the default block permutations, e.g.:

 

/fill ~~~ ~5~5~5 planks 1

Returns syntax error due to unexpected "1"

 

The same issue also affects the /setblock command

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MCPE-166828, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

FazzleTazz50

(Unassigned)

Unconfirmed

Multiple

Android 10, also broken on xbox 1 S

1.19.70

Retrieved