Class SimpleOption.OptionSliderWidgetImpl<N>

All Implemented Interfaces:
Drawable, Element, Narratable, Selectable, OrderableTooltip
Enclosing class:
SimpleOption<T>

@Environment(CLIENT) private static final class SimpleOption.OptionSliderWidgetImpl<N> extends OptionSliderWidget implements OrderableTooltip
Mappings:
Namespace Name
official efx$i
intermediary net/minecraft/class_7172$class_7175
named net/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl
  • Field Details

    • option

      private final SimpleOption<N> option
      Mappings:
      Namespace Name Mixin selector
      official c Lefx$i;c:Lefx;
      intermediary field_37872 Lnet/minecraft/class_7172$class_7175;field_37872:Lnet/minecraft/class_7172;
      named option Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;option:Lnet/minecraft/client/option/SimpleOption;
    • callbacks

      private final SimpleOption.SliderCallbacks<N> callbacks
      Mappings:
      Namespace Name Mixin selector
      official d Lefx$i;d:Lefx$k;
      intermediary field_37873 Lnet/minecraft/class_7172$class_7175;field_37873:Lnet/minecraft/class_7172$class_7176;
      named callbacks Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;callbacks:Lnet/minecraft/client/option/SimpleOption$SliderCallbacks;
    • tooltipFactory

      private final SimpleOption.TooltipFactory<N> tooltipFactory
      Mappings:
      Namespace Name Mixin selector
      official e Lefx$i;e:Lefx$l;
      intermediary field_37874 Lnet/minecraft/class_7172$class_7175;field_37874:Lnet/minecraft/class_7172$class_7277;
      named tooltipFactory Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;tooltipFactory:Lnet/minecraft/client/option/SimpleOption$TooltipFactory;
  • Constructor Details

    • OptionSliderWidgetImpl

      OptionSliderWidgetImpl(GameOptions options, int x, int y, int width, int height, SimpleOption<N> option, SimpleOption.SliderCallbacks<N> callbacks, SimpleOption.TooltipFactory<N> tooltipFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lefx$i;<init>(Lefy;IIIILefx;Lefx$k;Lefx$l;)V
      intermediary <init> Lnet/minecraft/class_7172$class_7175;<init>(Lnet/minecraft/class_315;IIIILnet/minecraft/class_7172;Lnet/minecraft/class_7172$class_7176;Lnet/minecraft/class_7172$class_7277;)V
      named <init> Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;<init>(Lnet/minecraft/client/option/GameOptions;IIIILnet/minecraft/client/option/SimpleOption;Lnet/minecraft/client/option/SimpleOption$SliderCallbacks;Lnet/minecraft/client/option/SimpleOption$TooltipFactory;)V
  • Method Details

    • updateMessage

      protected void updateMessage()
      Specified by:
      updateMessage in class SliderWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lehm;b()V
      intermediary method_25346 Lnet/minecraft/class_357;method_25346()V
      named updateMessage Lnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
    • applyValue

      protected void applyValue()
      Specified by:
      applyValue in class SliderWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lehm;a()V
      intermediary method_25344 Lnet/minecraft/class_357;method_25344()V
      named applyValue Lnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
    • getOrderedTooltip

      public List<OrderedText> getOrderedTooltip()
      Specified by:
      getOrderedTooltip in interface OrderableTooltip
      Mappings:
      Namespace Name Mixin selector
      official c Leil;c()Ljava/util/List;
      intermediary method_31047 Lnet/minecraft/class_5499;method_31047()Ljava/util/List;
      named getOrderedTooltip Lnet/minecraft/client/util/OrderableTooltip;getOrderedTooltip()Ljava/util/List;