InvRef get_stack - Uberi/MineTest-API GitHub Wiki

InvRef:get_stack

Description

get a copy of stack index i in list

Syntax

[ItemStack](../type/ItemStack.html) get_stack([string](../type/string.html) listname, [integer](../type/integer.html) index)

Examples

inventory:get_stack("main", 3)
⚠️ **GitHub.com Fallback** ⚠️