ktInventory
Toggle table of contents
2.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
ktInventory
ktInventory
/
dev.s7a.ktinventory.components
/
KtInventoryStorable
Kt
Inventory
Storable
class
KtInventoryStorable
:
KtInventoryComponent
Members
Types
Click
Event
Link copied to clipboard
class
ClickEvent
(
event
:
InventoryClickEvent
)
Drag
Event
Link copied to clipboard
class
DragEvent
(
event
:
InventoryDragEvent
)
Event
Result
Link copied to clipboard
enum
EventResult
:
Enum
<
KtInventoryStorable.EventResult
>
Properties
inventory
Link copied to clipboard
val
inventory
:
AbstractKtInventory
on
Click
Link copied to clipboard
val
onClick
:
(
KtInventoryStorable.ClickEvent
)
->
Unit
on
Drag
Link copied to clipboard
val
onDrag
:
(
KtInventoryStorable.DragEvent
)
->
Unit
on
Pre
Click
Link copied to clipboard
val
onPreClick
:
(
KtInventoryStorable.ClickEvent
)
->
KtInventoryStorable.EventResult
on
Pre
Drag
Link copied to clipboard
val
onPreDrag
:
(
KtInventoryStorable.DragEvent
)
->
KtInventoryStorable.EventResult
slots
Link copied to clipboard
val
slots
:
List
<
Int
>
Functions
clear
Link copied to clipboard
fun
clear
(
)
contains
Link copied to clipboard
fun
contains
(
slot
:
Int
)
:
Boolean
get
Link copied to clipboard
fun
get
(
)
:
List
<
@
Nullable
ItemStack
?
>
save
Link copied to clipboard
fun
save
(
)
update
Link copied to clipboard
fun
update
(
items
:
List
<
ItemStack
?
>
)
:
List
<
ItemStack
?
>