First, arrange your inventory like this, and drop an extra stack of diamonds on the ground so you'll pick them up if you empty a slot in your inventory.
[media]Then, shift click the diamond blocks in the recipe book.
[media]Finally, shift click it again.
[media]
The items picked up are now destroyed.
I tested/discovered this in a survival world while crafting melons, and it seems like it's only destroying the items you pick up while crafting.
Linked issues
duplicates 1
Attachments
Comments 3
Duplicate of MC-147729
This bug might relate to MC-1555, MC-122000, MC-152996, and their other related bugs.