Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.ui.components
/
CompoundScrollComponent
Compound
Scroll
Component
class
CompoundScrollComponent
(
val
space
:
ComponentSpace
,
val
compound
:
CompoundComponent
<
*
>
,
val
amount
:
Int
,
val
item
:
ItemStack
)
:
SpacedComponent
(
source
)
Members
Constructors
Compound
Scroll
Component
Link copied to clipboard
constructor
(
space
:
ComponentSpace
,
compound
:
CompoundComponent
<
*
>
,
amount
:
Int
,
item
:
ItemStack
)
Functions
handle
Click
Link copied to clipboard
open
override
fun
handleClick
(
click
:
UIClickData
)
render
Link copied to clipboard
open
override
fun
render
(
inv
:
Inventory
)
:
ItemStack
open
override
fun
render
(
inv
:
Inventory
,
ui
:
MacrocosmUI
)
was
Clicked
Link copied to clipboard
open
override
fun
wasClicked
(
slot
:
Int
,
dim
:
UIDimensions
)
:
Boolean
Properties
amount
Link copied to clipboard
val
amount
:
Int
compound
Link copied to clipboard
val
compound
:
CompoundComponent
<
*
>
item
Link copied to clipboard
val
item
:
ItemStack
space
Link copied to clipboard
val
space
:
ComponentSpace