NovaBlockRegistry

Functions

Link copied to clipboard
@NotNull
abstract fun get(@NotNull id: @NotNull String): @NotNull NovaBlock
@NotNull
abstract fun get(@NotNull id: @NotNull NamespacedId): @NotNull NovaBlock
Gets the NovaBlock with the specified id.
Link copied to clipboard
@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.