GUISpaceCompoundScrollButton

class GUISpaceCompoundScrollButton<T : ForInventory>(icon: ItemStack, compound: AbstractGUISpaceCompound<T, *>, scrollDistance: Int, scrollTimes: Int, reverse: Boolean) : GUIButton<T>

Constructors

GUISpaceCompoundScrollButton
Link copied to clipboard
fun <T : ForInventory> GUISpaceCompoundScrollButton(icon: ItemStack, compound: GUIRectSpaceCompound<T, *>, scrollTimes: Int = 1, scrollLines: Int = 1, reverse: Boolean = false)

Functions

getItemStack
Link copied to clipboard
override fun getItemStack(slot: Int): ItemStack
onClick
Link copied to clipboard
override fun onClick(clickEvent: GUIClickEvent<T>)