getBlockId

abstract fun getBlockId(block: BlockT): String?(source)

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