getBlockState

fun getBlockState(blockId: String): BlockState?
fun getBlockState(blockId: Identifier): BlockState?

Gets the default block state for a block.

Return

The default BlockState, or null if block not found

Parameters

blockId

The block identifier