getOrNull

abstract fun getOrNull(id: String): NovaBlock
abstract fun getOrNull(id: NamespacedId): NovaBlock

Gets the NovaBlock with the specified id, or null if there is none.

Return

The block with the specified id, or null if there is none.

Parameters

id

The id of the block.