ItemRegistry

Properties

Link copied to clipboard
abstract val addon: Addon

Functions

Link copied to clipboard
open fun item(name: String, item: NovaItemBuilder.() -> Unit): NovaItem
open fun item(block: NovaBlock, item: NovaItemBuilder.() -> Unit): NovaItem
open fun item(block: NovaBlock, name: String, item: NovaItemBuilder.() -> Unit): NovaItem
Link copied to clipboard
open fun registerItem(name: String, vararg behaviors: ItemBehaviorHolder, localizedName: String? = null, isHidden: Boolean = false): NovaItem
open fun registerItem(block: NovaBlock, vararg behaviors: ItemBehaviorHolder, localizedName: String? = null, isHidden: Boolean = false): NovaItem
open fun registerItem(block: NovaBlock, name: String, vararg behaviors: ItemBehaviorHolder, localizedName: String? = null, isHidden: Boolean = false): NovaItem