setItem
fun setItem(player: SpigotPlayer, slot: Int, item: ItemStack?, action: Consumer<InventoryClickEvent> = Consumer {})
Sets the given item in the slot for the inventory of the given player. Once the player opens this inventory, the actual InventoryView will be populated with all items set via this function. Additionally, an item may have an action attached to it.