toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-igui
/
net.silkmc.silk.igui.elements
/
GuiPlaceholder
Gui
Placeholder
open
class
GuiPlaceholder
(
val
icon
:
GuiIcon
)
:
GuiElement
(
source
)
Inheritors
GuiButton
Members
Constructors
Gui
Placeholder
Link copied to clipboard
constructor
(
icon
:
GuiIcon
)
Properties
icon
Link copied to clipboard
val
icon
:
GuiIcon
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
)