canSet

open fun canSet(stack: ItemStack?, amount: Long): Boolean(source)