getItemId

abstract fun getItemId(item: ItemStack): String?(source)

Returns ID of the item, or null if it isn't an item of this provider. Amount, stats, durability and lore of the stack don't affect the ID.