ProgressItem

open class ProgressItem(val item: NovaItem, customModelDataIndex: Int = 0) : AbstractItem

An ui Item that changes its appearance based on a progress percentage.

Parameters

item

The NovaItem that should be used for the progress item. Its unnamed clientside providers will be used to display the progress.

customModelDataIndex

The custom model data index that the progress value should be written to.

Constructors

Link copied to clipboard
constructor(item: NovaItem, customModelDataIndex: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard

The current progress percentage.

Functions

Link copied to clipboard
@ApiStatus.Internal
open fun addViewer(p0: AbstractWindow, p1: Int)
Link copied to clipboard
open override fun getItemProvider(player: Player): ItemProvider
Link copied to clipboard
open override fun handleClick(clickType: ClickType, player: Player, click: Click)
Link copied to clipboard
open override fun notifyWindows()
Link copied to clipboard
@ApiStatus.Internal
open fun removeViewer(p0: AbstractWindow, p1: Int)