vital
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
vital
vital-items
/
dev.vitalframework.items
/
VitalItemService
Vital
Item
Service
open
class
VitalItemService
(
val
vitalItems
:
List
<
VitalItem
>
)
Internal service; manages the interaction and cooldowns for all
VitalItem
instances.
Members
Constructors
Vital
Item
Service
Link copied to clipboard
constructor
(
vitalItems
:
List
<
VitalItem
>
)
Properties
vital
Items
Link copied to clipboard
val
vitalItems
:
List
<
VitalItem
>
Functions
handle
Cooldown
Link copied to clipboard
fun
handleCooldown
(
)
handle
Interaction
Link copied to clipboard
fun
handleInteraction
(
e
:
PlayerInteractEvent
)