Board Thread:Questions and Answers/@comment-34325507-20180115172740

In adventure mod, I know how to destroy block :

/give @s diamond_sword 1 0 {"can_destroy":{"blocks":["diamond_block"]}}

and how to put a block

/give @s diamond_block 1 0 {"can_place_on":{"blocks":["stone"]}}

What I would like to know is how to put an object that the player crafted in adventure (for example, a cake crafted with eggs, sugar, milk and wheat, put on a wool).

Of course, I searched on You Tube but I didn't find it. Can someone help me ? Thank's. 