getBlockId

abstract fun getBlockId(block: Block): Key?(source)

Returns ID of the block in the provider owning it, or null if no provider recognizes the block.