toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-igui
/
net.silkmc.silk.igui
/
GuiIcon
/
VariableIcon
Variable
Icon
class
VariableIcon
<
E
>
(
val
property
:
GuiProperty
<
E
>
,
val
iconGenerator
:
(
E
)
->
ItemStack
)
:
GuiIcon
(
source
)
Members
Constructors
Variable
Icon
Link copied to clipboard
constructor
(
property
:
GuiProperty
<
E
>
,
iconGenerator
:
(
E
)
->
ItemStack
)
Properties
icon
Generator
Link copied to clipboard
val
iconGenerator
:
(
E
)
->
ItemStack
in
Use
Link copied to clipboard
var
inUse
:
Boolean
item
Stack
Link copied to clipboard
open
override
val
itemStack
:
ItemStack
property
Link copied to clipboard
val
property
:
GuiProperty
<
E
>