maxStackSize

fun maxStackSize(maxStackSize: Int)

Sets the maximum stack size of the item. Cannot exceed the maximum client-side stack size.