Package-level declarations

Types

Link copied to clipboard

Models how a KItem can be moved inside a KInventory

Link copied to clipboard

Util class to handle items across inventories

Link copied to clipboard
interface KItem

Models an item in an KInventory

Link copied to clipboard
abstract class KItemImpl(var draggingMode: DraggingMode, val material: Material, amount: Int) : ItemStack, KItem

Example implementation of the KItem interface

Link copied to clipboard

Models a registered KItems

Link copied to clipboard
class RegisteredKItemImpl(var draggingMode: DraggingMode, val material: Material, amount: Int) : KItemImpl, RegisteredKItem

Example impl of RegisteredKItem

Link copied to clipboard
interface StackableKItem : KItem

Models a stackable kItem

Link copied to clipboard
class StackableKItemImpl(var draggingMode: DraggingMode, val material: Material, amount: Int) : KItemImpl, StackableKItem

Example implementation of StackableKItem