Class ScrollInput

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.AbstractWidget
com.simibubi.create.foundation.gui.widget.AbstractSimiWidget
com.simibubi.create.foundation.gui.widget.ScrollInput
All Implemented Interfaces:
TickableGuiEventListener, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Widget, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier
Direct Known Subclasses:
SelectionScrollInput

public class ScrollInput extends AbstractSimiWidget
  • Field Details

    • onScroll

      protected Consumer<Integer> onScroll
    • state

      protected int state
    • title

      protected net.minecraft.network.chat.Component title
    • scrollToModify

      protected final net.minecraft.network.chat.Component scrollToModify
    • shiftScrollsFaster

      protected final net.minecraft.network.chat.Component shiftScrollsFaster
    • displayLabel

      protected Label displayLabel
    • min

      protected int min
    • max

      protected int max
    • shiftStep

      protected int shiftStep
  • Constructor Details

    • ScrollInput

      public ScrollInput(int xIn, int yIn, int widthIn, int heightIn)
  • Method Details