minetest.craft predict

Description
Returns a changed itemstack:

For each minetest.registered_craft_predicts the itemstack is replaced if the function returned something.