Add API for handling cheating in custom ingredients
Fix #766 Crash when looking at broken Anvil recipe