[MCPE-21656] The replace command doesn't work correctly when using a command block Created: 29/Apr/17  Updated: 27/Jun/17  Resolved: 27/Jun/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.1.0.9
Fix Version/s: None

Type: Bug
Reporter: Joey hollis
Resolution: Works As Intended Votes: 2
Labels: None

Attachments: JPEG File Screenshot_2017-04-29-19-41-39.jpeg    
Issue Links:
Duplicate
is duplicated by MCPE-22648 Fill Commands such as "Replace" and "... Resolved
Game Mode: Creative
Confirmation Status: Unconfirmed
Platform: Android

 Description   

The command replace just shows up as invalid syntak error I was on Huawei pronto LTE 4.4



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 27/Jun/17 ]

Thank you for your report!
However, this issue has been closed as Working as Intended.

Your command is incomplete, you need to specify what it is you are replacing, or leave that part blank. If you need help or have a suggestion you might like to follow the community support link below.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki

Comment by KillerbeeNL [ 22/Jun/17 ]

Although i'm no expert i think the original poster made a syntax error. You should specify a replacement block when using replace. As in replace what with air?
/fill <x1> <y1> <z1> <x2> <y2> <z2> <tileName:string> <tileData:int> replace <replaceTileName:string> <replaceDataValue:int>.
You totally missed the last part in the supplied image. <replaceTileName:string> <replaceDataValue:int> when using replace in the command.

Comment by Jonas Karlsson [ 22/Jun/17 ]

Same here. I use iPhone7 with latest mcpe (1.1.1) Replace command gives invalid syntax when using command block.

Comment by William Powell [ 05/Jun/17 ]

Same error on my iPhone 7. Which is sad since I'm a creative builder and the commands make it so much easier when working on big projects.

Generated at Sat Jan 11 15:31:52 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.