InvRef remove_item - Uberi/MineTest-API GitHub Wiki

InvRef:remove_item

Description

take as many items as specified from the list, returns the items that were actually removed (as an ItemStack)

Syntax

[ItemStack](../type/ItemStack.html) remove_item([string](../type/string.html) listname, [ItemStack](../type/ItemStack.html) stack)

Examples

inventory:remove_item("main", ItemStack("default:mese"))
⚠️ **GitHub.com Fallback** ⚠️