ItemStack get_stack_max - Uberi/MineTest-API GitHub Wiki

ItemStack:get_stack_max

Description

returns the maximum size of the stack (depends on the item)

Syntax

[integer](../type/integer.html) get_stack_max()

Examples

print("The stack can store up to " .. stack:get_stack_max() .. " items")
⚠️ **GitHub.com Fallback** ⚠️