rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
rebar
rebar
/
io.github.pylonmc.rebar.guide.button
/
ItemButton
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
of
Link copied to clipboard
@
JvmStatic
fun
of
(
input
:
RecipeInput.Item
?
)
:
Item
@
JvmStatic
fun
of
(
stack
:
ItemStack
?
)
:
Item
@
JvmStatic
fun
of
(
choice
:
RecipeChoice
?
)
:
Item
@
JvmStatic
fun
of
(
vararg
stacks
:
ItemStack
)
:
ItemButton
@
JvmStatic
@
JvmOverloads
fun
of
(
stacks
:
List
<
ItemStack
>
,
preDisplayDecorator
:
(
ItemStack
,
Player
)
->
ItemStack
=
{ stack, _ -> stack }
)
:
ItemButton
@
JvmStatic
fun
of
(
stack
:
ItemStack
,
preDisplayDecorator
:
(
ItemStack
,
Player
)
->
ItemStack
)
:
ItemButton
@
JvmStatic
fun
of
(
stack
:
ItemStack
?
,
preDisplayDecorator
:
(
ItemStack
,
Player
)
->
ItemStack
)
:
Item