I made a basic, empty data pack and added a single recipe of crafting 1 white_wool into 1 string. It crafts correctly, shows the "new recipe unlocked" message, and appears in the recipe book. However, when I click on the recipe when it's red (when I don't have any wool), the game crashes. (If the recipe is green (when I do have wool), it works just fine). After crashing, the game freezes every time I try to load the world, which I could only fix by deleting the ".json" recipe from the data pack. I replicated this several times with many items, and both shapeless and shaped recipes.
The recipe I was using is attached as "
[media]"
The data pack it was in is the folder "DungeonPack" inside the attachment "
"
Duplicate of MC-131343, a fixed issue.
Please use the search function next time.