toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-igui
/
net.silkmc.silk.igui.elements
/
GuiCompoundElement
Gui
Compound
Element
class
GuiCompoundElement
(
val
compound
:
GuiCompound
<
*
>
)
:
GuiElement
(
source
)
Members
Constructors
Gui
Compound
Element
Link copied to clipboard
constructor
(
compound
:
GuiCompound
<
*
>
)
Properties
compound
Link copied to clipboard
val
compound
:
GuiCompound
<
*
>
Functions
get
Item
Stack
Link copied to clipboard
open
suspend override
fun
getItemStack
(
slotIndex
:
Int
)
:
ItemStack
on
Click
Link copied to clipboard
open
suspend override
fun
onClick
(
clickEvent
:
GuiClickEvent
)
should
Cancel
Link copied to clipboard
open
override
fun
shouldCancel
(
clickEvent
:
GuiClickEvent
)
:
Boolean
start
Using
Link copied to clipboard
open
override
fun
startUsing
(
gui
:
Gui
)
stop
Using
Link copied to clipboard
open
override
fun
stopUsing
(
gui
:
Gui
)