CompoundWidthScrollComponent

class CompoundWidthScrollComponent(val space: ComponentSpace, val compound: CompoundComponent<*>, val item: ItemStack, reverse: Boolean = false) : SpacedComponent(source)

Constructors

Link copied to clipboard
constructor(space: ComponentSpace, compound: CompoundComponent<*>, item: ItemStack, reverse: Boolean = false)

Functions

Link copied to clipboard
open override fun handleClick(click: UIClickData)
Link copied to clipboard
open override fun render(inv: Inventory): ItemStack
open override fun render(inv: Inventory, ui: MacrocosmUI)
Link copied to clipboard
open override fun wasClicked(slot: Int, dim: UIDimensions): Boolean

Properties

Link copied to clipboard
var amount: Int?
Link copied to clipboard
Link copied to clipboard
val item: ItemStack
Link copied to clipboard