minetest.on craft

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

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


Description

Returns a changed itemstack:

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


See also

minetest.register_on_craft



This article is incomplete.


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox