getBlockIdFromItem

abstract fun getBlockIdFromItem(blockItem: ItemStackT): String?(source)

Returns ID of the block placed by the given blockItem, or null if it doesn't belong to this registry.