Recipe book possibly loses items if items are picked up during crafting. Here's how to reproduce this. First, run these commands on a player with an empty inventory, in this order:
/setblock ~ ~-1 ~ minecrat:crafting_table
/gamemode survival
/give @p minecraft:diamond_hoe 28
/give @p minecraft:iron_ingot 576Now you should have a full inventory and a stack of iron on the floor. Then, open up the recipe book and shift-click iron block twice. You should now have lost a stack of iron from your world.
Environment
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Linux 4.15.0-51-generic #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Duplicate of MC-147729