minetest.craft predict

From Minetest Developer Wiki
Jump to navigation Jump to search

Syntax

<source>minetest.craft_predict(itemstack, player, old_craft_list, craft_inv)</source>


Description

Returns a changed itemstack:

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


See also

minetest.register_craft_predict


Mbox important.png This article is incomplete.
Please help expand this article to include more useful information.