set

abstract operator fun set(slot: InventorySlotCompound<T>, value: ItemStack)

Temporarily sets the given item at the given slots.