I am building an Adventure map in gamemode 2, so you can't place Blocks and I want to set a Item / Block in a slot and get a Block which is placeable in gamemode 2:
/replaceitem entity @p slot.inventory.0 quartz_block 1 0 {CanPlace:true}
It doesn't work with this command, please help.