Package-level declarations

Functions

Link copied to clipboard
fun <T> animation(frames: Int, interval: Long, unit: TimeUnit, init: AnimationImpl<T>.() -> Unit): Animation<T>

Builds a new animation

Link copied to clipboard
fun <T> endlessAnimation(interval: Long, unit: TimeUnit, init: AnimationImpl<T>.() -> Unit): Animation<T>

Builds a new animation, which runs endless unless stopped

Link copied to clipboard
fun kInventory(holder: Player, size: Int, type: InventoryType, init: KInventory.() -> Unit): KInventory

Builds a new simple KInventory

Link copied to clipboard
fun kItem(material: Material, amount: Int = 1): RegisteredKItem
fun kItem(material: Material, amount: Int = 1, init: RegisteredKItem.() -> Unit): RegisteredKItem

Builds a new kItem, and registers it in the de.staticred.kia.inventory.item.ItemManager with the correct UUID

Link copied to clipboard
fun kPage(title: Component? = null, init: KPage.() -> Unit): KPage

Builds a new page for a paging kInventory

Link copied to clipboard

Builds a new kPageController

Link copied to clipboard
fun kPageInventory(holder: Player, size: Int = 3*9, init: KPageInventory.() -> Unit): KPageInventory

Builds a new kPageInventory

Link copied to clipboard
fun kRow(name: String = "", init: KRow.() -> Unit): KRow

Builds a new KRow

Link copied to clipboard
fun stackableKItem(material: Material, amount: Int = 1): StackableKItem
fun stackableKItem(material: Material, amount: Int = 1, init: KItem.() -> Unit): StackableKItem