oldItem

val oldItem: ItemStack?

Parameters

oldItem

The item that was in the slot before the interaction. This can be null if the slot was empty.