KIA icon

KIA -----

Kotlin Inventory API



KIA - Kotlin Inventory API

WIKI

KIA is a library aimed to make inventory handling as easy as possible, without having to use boilerplate code, such as listening to events and having to mind about inventory titles.

Installation

To install KIA, simply put the following code into your onEnabale() function:
Code (Kotlin):
override fun onEnable ( ) {
    KIA. create ( this )
}


Key Features
  • Title-free inventory management
  • Easy onClick methods to listen to events
  • Easy to use onOpen / onClose function
  • NBT based Item management
  • Easy to use Animations
  • Lots of utility functions
  • Pagination inventories
  • Managed WiKi
Code examples

Creating inventories:
Code (Kotlin):
val inv = kInventory (sender, 3. rows, InventoryType. CHEST ) {
}

Creating items:
Code (Kotlin):
val item = kItem (Material. IRON_PICKAXE ) { }


Listening to items:
Code (Kotlin):
val item = kItem (Material. IRON_PICKAXE ) {
    onClick { registeredKItem, player ->

    }
}
Resource Information
Author:
----------
Total Downloads: 68
First Release: Jul 2, 2024
Last Update: Aug 22, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings