Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.ui.dsl
/
PageBuilder
/
storageSlot
storage
Slot
fun
storageSlot
(
space
:
ComponentSpace
,
fits
:
(
ItemStack
)
->
Boolean
=
{ true }
,
onPut
:
(
UIClickData
,
ItemStack
)
->
Unit
=
{ _, _ -> }
,
onTake
:
(
UIClickData
,
ItemStack
)
->
Unit
=
{ _, _ -> }
)
:
StorageComponent
(
source
)