Package-level declarations

Types

Link copied to clipboard
class VitalHeadItemStack(itemUuid: UUID? = null) : VitalItemStack

Convenience-class to build head ItemStack instances using the Builder-Pattern. Check the function to view how to use it.

Link copied to clipboard
open class VitalItem : VitalHasInfo

Defines an interactable item within the Vital-Framework.

Link copied to clipboard
open class VitalItemListener(val vitalItemService: VitalItemService) : VitalListener.Spigot

Internal listener; handle the PlayerInteractEvent and delegates it to the correct VitalItem.

Link copied to clipboard
open class VitalItemService(val vitalItems: List<VitalItem>)

Internal service; manages the interaction and cooldowns for all VitalItem instances.

Link copied to clipboard
class VitalItemsModule(val vitalItems: List<VitalItem>) : VitalModule
Link copied to clipboard
open class VitalItemStack(itemUuid: UUID? = null)

Convenience-class to build ItemStack instances using the Builder-Pattern. Check the function to view how to use it.

Link copied to clipboard

Internal class; stores internal NamespacedKey instances for VitalItem and localization via vital-localization.