getItemId

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

Returns ID representing given item, or null if the ID not found in this registry.