getBlock

fun getBlock(blockId: String): Block?
fun getBlock(blockId: Identifier): Block?

Gets a block by its identifier.

Return

The Block instance, or null if not found

Parameters

blockId

The block identifier