NovaBlock

interface NovaBlock

Functions

Link copied to clipboard
abstract fun getId(): NamespacedId
Gets the id of this block type.
Link copied to clipboard
abstract fun getItem(): NovaItem
Gets the item for this block type, or null if there is none.
Link copied to clipboard
open fun getLocalizedName(locale: String): String
Gets the localized name of this block type.
Link copied to clipboard
abstract fun getName(): Component
Gets the name of this block type.
Link copied to clipboard
abstract fun getPlaintextName(locale: String): String
Gets the plaintext name of this block type.