ProgressItem

open class ProgressItem(val item: NovaItem, maxState: Int) : 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.

maxState

The maximum amount of states the item has.

Constructors

Link copied to clipboard
constructor(item: NovaItem, maxState: Int)

Properties

Link copied to clipboard
Link copied to clipboard

The current progress percentage.

Functions

Link copied to clipboard
open override fun addWindow(p0: AbstractWindow)
Link copied to clipboard
open override fun getItemProvider(): ItemProvider
Link copied to clipboard
open override fun getWindows(): MutableSet<Window>
Link copied to clipboard
open override fun handleClick(clickType: ClickType, player: Player, event: InventoryClickEvent)
Link copied to clipboard
open override fun notifyWindows()
Link copied to clipboard
open override fun removeWindow(p0: AbstractWindow)