getOrNull

@Nullable
abstract fun getOrNull(@NotNull id: @NotNull String): @Nullable NovaBlock
@Nullable
abstract fun getOrNull(@NotNull id: @NotNull NamespacedId): @Nullable 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.