addItems

fun Inventory.addItems(vararg items: ItemStack): List<ItemStack>

Adds multiple items to this inventory and returns any items that couldn't be added.

Return

A list of ItemStacks that couldn't be added due to the inventory being full

Parameters

items

The items to add to the inventory