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.
Attachments
Comments 8
Sorry, my bad, was thinking too much about MCPE-20615.
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.
You forgot the slash