Class DoubleOptionSliderWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Selectable, OrderableTooltip

@Environment(CLIENT) public class DoubleOptionSliderWidget extends OptionSliderWidget implements OrderableTooltip
Mappings:
Namespace Name
official ecy
intermediary net/minecraft/class_4040
named net/minecraft/client/gui/widget/DoubleOptionSliderWidget
  • Field Details

    • option

      private final DoubleOption option
      Mappings:
      Namespace Name Mixin selector
      official c Lecy;c:Leav;
      intermediary field_18012 Lnet/minecraft/class_4040;field_18012:Lnet/minecraft/class_4067;
      named option Lnet/minecraft/client/gui/widget/DoubleOptionSliderWidget;option:Lnet/minecraft/client/option/DoubleOption;
    • orderedTooltip

      private final Option.TooltipFactory<Double> orderedTooltip
      Mappings:
      Namespace Name Mixin selector
      official d Lecy;d:Leap$a;
      intermediary field_27984 Lnet/minecraft/class_4040;field_27984:Lnet/minecraft/class_316$class_5679;
      named orderedTooltip Lnet/minecraft/client/gui/widget/DoubleOptionSliderWidget;orderedTooltip:Lnet/minecraft/client/option/Option$TooltipFactory;
  • Constructor Details

    • DoubleOptionSliderWidget

      public DoubleOptionSliderWidget(GameOptions gameOptions, int x, int y, int width, int height, DoubleOption option, Option.TooltipFactory<Double> tooltipFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lecy;<init>(Lear;IIIILeav;Leap$a;)V
      intermediary <init> Lnet/minecraft/class_4040;<init>(Lnet/minecraft/class_315;IIIILnet/minecraft/class_4067;Lnet/minecraft/class_316$class_5679;)V
      named <init> Lnet/minecraft/client/gui/widget/DoubleOptionSliderWidget;<init>(Lnet/minecraft/client/option/GameOptions;IIIILnet/minecraft/client/option/DoubleOption;Lnet/minecraft/client/option/Option$TooltipFactory;)V
  • Method Details

    • applyValue

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

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

      public List<OrderedText> getOrderedTooltip()
      Specified by:
      getOrderedTooltip in interface OrderableTooltip
      Mappings:
      Namespace Name Mixin selector
      official c Ledb;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;