VitalHeadItemStack

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.

Constructors

Link copied to clipboard
constructor(itemUuid: UUID? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var owningPlayer: OfflinePlayer?

Functions

Link copied to clipboard
fun afterInit(afterInit: Consumer<ItemStack>): VitalItemStack
Link copied to clipboard
fun amount(amount: Int): VitalItemStack
Link copied to clipboard
open override fun build(): ItemStack
Link copied to clipboard
fun enchantment(enchantment: Enchantment, level: Int): VitalItemStack
Link copied to clipboard
fun enchantments(enchantments: Map<Enchantment, Int>): VitalItemStack
Link copied to clipboard
Link copied to clipboard
fun itemFlags(itemFlags: Array<ItemFlag>): VitalItemStack
Link copied to clipboard
fun itemUuid(itemUuid: UUID): VitalItemStack
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun type(type: Material): VitalItemStack
Link copied to clipboard