ktInventory
Toggle table of contents
2.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
ktInventory
ktInventory
/
dev.s7a.ktinventory.components
/
KtInventoryButton
Kt
Inventory
Button
class
KtInventoryButton
<
out
T
:
KtInventoryBase
>
Members
Types
Click
Event
Link copied to clipboard
data
class
ClickEvent
<
out
T
:
KtInventoryBase
>
(
val
inventory
:
T
,
val
player
:
HumanEntity
,
val
click
:
ClickType
,
val
cursor
:
ItemStack
?
)
Properties
item
Stack
Link copied to clipboard
val
itemStack
:
ItemStack
on
Click
Link copied to clipboard
val
onClick
:
(
KtInventoryButton.ClickEvent
<
@
UnsafeVariance
T
>
)
->
Unit
Functions
join
Link copied to clipboard
fun
join
(
onClick
:
(
KtInventoryButton.ClickEvent
<
T
>
)
->
Unit
)
:
KtInventoryButton
<
T
>