Info

@Component
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Info(val type: Material, val name: String, val lore: Array<String> = [], val cooldown: Int = 0, val itemFlags: Array<ItemFlag> = [], val amount: Int = 1, val glint: Boolean = false, val unbreakable: Boolean = true)

Defines the info for a VitalItem.

Properties

Link copied to clipboard
val amount: Int = 1
Link copied to clipboard
val cooldown: Int = 0
Link copied to clipboard
val glint: Boolean = false
Link copied to clipboard
val itemFlags: Array<ItemFlag>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Material
Link copied to clipboard
val unbreakable: Boolean = true