compoundScroll
fun compoundScroll(slots: GuiSlotCompound, icon: GuiIcon, compound: GuiCompound<*>, reverse: Boolean, speed: Duration = 1.ticks, scrollDistance: Int = compound.compoundWidth, scrollTimes: Int = compound.compoundHeight)(source)
Adds a compound scroll button.
Used by both compoundScrollForwards and compoundScrollBackwards, which are easier to use than this function.