minetest.item_place - Uberi/MineTest-API GitHub Wiki

minetest.item_place

Description

Use item_place_node() or item_place_object() based on what the item is.

Syntax

item_place([ItemStack](../type/ItemStack.html) itemstack, [ObjectRef](../type/ObjectRef.html) placer, [pointed_thing](../type/pointed_thing.html) pointed_thing)

Examples

minetest.item_place(item, currentplayer, pointed)
⚠️ **GitHub.com Fallback** ⚠️