Class AbstractSliderButton

java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractSliderButton
All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier
Direct Known Subclasses:
AbstractOptionSliderButton, ForgeSlider, RealmsSlotOptionsScreen.SettingsSlider

public abstract class AbstractSliderButton extends AbstractWidget
  • Field Details

    • SLIDER_SPRITE

      private static final ResourceLocation SLIDER_SPRITE
    • HIGHLIGHTED_SPRITE

      private static final ResourceLocation HIGHLIGHTED_SPRITE
    • SLIDER_HANDLE_SPRITE

      private static final ResourceLocation SLIDER_HANDLE_SPRITE
    • SLIDER_HANDLE_HIGHLIGHTED_SPRITE

      private static final ResourceLocation SLIDER_HANDLE_HIGHLIGHTED_SPRITE
    • TEXT_MARGIN

      protected static final int TEXT_MARGIN
      See Also:
    • HANDLE_WIDTH

      private static final int HANDLE_WIDTH
      See Also:
    • HANDLE_HALF_WIDTH

      private static final int HANDLE_HALF_WIDTH
      See Also:
    • value

      protected double value
    • canChangeValue

      private boolean canChangeValue
  • Constructor Details

    • AbstractSliderButton

      public AbstractSliderButton(int p_93579_, int p_93580_, int p_93581_, int p_93582_, Component p_93583_, double p_93584_)
  • Method Details