[MCPE-20760] Invalid command syntax when adding CanPlaceOn in replaceitem command Created: 01/Apr/17 Updated: 14/Apr/17 Resolved: 14/Apr/17 |
|
| Status: | Resolved |
| Project: | Minecraft (Bedrock codebase) |
| Component/s: | None |
| Affects Version/s: | 1.1.0.0 |
| Fix Version/s: | 1.1.0.3 |
| Type: | Bug | ||
| Reporter: | Mark Aranzanso | ||
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Attachments: |
|
| Confirmation Status: | Unconfirmed |
| Platform: | Phone - Android - Samsung Other (Specify in description) |
| Description |
|
I don't know if this is a bug or I'd mistakenly type the components. I read the changelog in 1.1 and CanPlaceOn and CanBreak are available in replaceitem command. I've tried them but invalid command syntax. I've tried {CanPlaceOn:["obsidian"]}. If this is not a bug and I've only mistakenly type it, please comment the correct component and mark this as invalid. |
| Comments |
| Comment by Mark Aranzanso [ 13/Apr/17 ] |
|
its FiXEd as of 1.1.0.3 the correct components are {"minecraft:can_place_on": {"blocks":["blockname"]}} |
| Comment by RudeGbx PinoyPE [ 11/Apr/17 ] |
|
Bruh he's talking about CanPlaceOn... +1 is just normal |
| Comment by Mark Aranzanso [ 07/Apr/17 ] |
|
I think you need to research more about commands in minecraft. That tilda means current position. With +1 on it, it means current tile position +1 tile. |
| Comment by Anomonous Anomonous [ 06/Apr/17 ] |
|
I see the problem. There's a +1 in the tildas. That + is causing it to be invalid. |
| Comment by user-f2760 (Inactive) [ 05/Apr/17 ] |
|
Sorry, my bad, was thinking too much about |
| Comment by Mark Aranzanso [ 05/Apr/17 ] |
|
and why is it invalid without explanation? |
| Comment by Mark Aranzanso [ 05/Apr/17 ] |
|
command_blocks don't required slash |
| Comment by Anomonous Anomonous [ 05/Apr/17 ] |
|
You forgot the slash |