give

fun Player.give(vararg itemStacks: ItemStack): HashMap<Int, ItemStack>

Adds the given ItemStacks to the player's inventory.

Return

The items that did not fit into the player's inventory.