minetest.craft predict

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.craft_predict(itemstack, player, old_craft_list, craft_inv)


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



This article is incomplete.


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox