Class OptionListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable, Widget

@Environment(CLIENT) public class OptionListWidget extends ElementListWidget<OptionListWidget.WidgetEntry>
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/OptionListWidget
intermediary net/minecraft/class_353
official fjd
  • Field Details

    • field_49481

      private static final int field_49481
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49481 Lnet/minecraft/client/gui/widget/OptionListWidget;field_49481:I
      intermediary field_49481 Lnet/minecraft/class_353;field_49481:I
      official a Lfjd;a:I
    • field_49482

      private static final int field_49482
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49482 Lnet/minecraft/client/gui/widget/OptionListWidget;field_49482:I
      intermediary field_49482 Lnet/minecraft/class_353;field_49482:I
      official m Lfjd;m:I
    • optionsScreen

      private final GameOptionsScreen optionsScreen
      Mappings:
      Namespace Name Mixin selector
      named optionsScreen Lnet/minecraft/client/gui/widget/OptionListWidget;optionsScreen:Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;
      intermediary field_49483 Lnet/minecraft/class_353;field_49483:Lnet/minecraft/class_4667;
      official n Lfjd;n:Lfrb;
  • Constructor Details

    • OptionListWidget

      public OptionListWidget(MinecraftClient client, int width, GameOptionsScreen optionsScreen)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/widget/OptionListWidget;<init>(Lnet/minecraft/client/MinecraftClient;ILnet/minecraft/client/gui/screen/option/GameOptionsScreen;)V
      intermediary <init> Lnet/minecraft/class_353;<init>(Lnet/minecraft/class_310;ILnet/minecraft/class_4667;)V
      official <init> Lfjd;<init>(Lfgi;ILfrb;)V
  • Method Details

    • addSingleOptionEntry

      public void addSingleOptionEntry(SimpleOption<?> option)
      Mappings:
      Namespace Name Mixin selector
      named addSingleOptionEntry Lnet/minecraft/client/gui/widget/OptionListWidget;addSingleOptionEntry(Lnet/minecraft/client/option/SimpleOption;)V
      intermediary method_20406 Lnet/minecraft/class_353;method_20406(Lnet/minecraft/class_7172;)V
      official a Lfjd;a(Lfgl;)V
    • addAll

      public void addAll(SimpleOption<?>[] options)
      Mappings:
      Namespace Name Mixin selector
      named addAll Lnet/minecraft/client/gui/widget/OptionListWidget;addAll([Lnet/minecraft/client/option/SimpleOption;)V
      intermediary method_20408 Lnet/minecraft/class_353;method_20408([Lnet/minecraft/class_7172;)V
      official a Lfjd;a([Lfgl;)V
    • addAll

      public void addAll(List<ClickableWidget> widgets)
      Mappings:
      Namespace Name Mixin selector
      named addAll Lnet/minecraft/client/gui/widget/OptionListWidget;addAll(Ljava/util/List;)V
      intermediary method_58227 Lnet/minecraft/class_353;method_58227(Ljava/util/List;)V
      official a Lfjd;a(Ljava/util/List;)V
    • addWidgetEntry

      public void addWidgetEntry(ClickableWidget firstWidget, @Nullable @Nullable ClickableWidget secondWidget)
      Mappings:
      Namespace Name Mixin selector
      named addWidgetEntry Lnet/minecraft/client/gui/widget/OptionListWidget;addWidgetEntry(Lnet/minecraft/client/gui/widget/ClickableWidget;Lnet/minecraft/client/gui/widget/ClickableWidget;)V
      intermediary method_20407 Lnet/minecraft/class_353;method_20407(Lnet/minecraft/class_339;Lnet/minecraft/class_339;)V
      official a Lfjd;a(Lfie;Lfie;)V
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class EntryListWidget<OptionListWidget.WidgetEntry>
      Mappings:
      Namespace Name Mixin selector
      named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
      intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
      official b Lfib;b()I
    • getWidgetFor

      @Nullable public @Nullable ClickableWidget getWidgetFor(SimpleOption<?> option)
      Mappings:
      Namespace Name Mixin selector
      named getWidgetFor Lnet/minecraft/client/gui/widget/OptionListWidget;getWidgetFor(Lnet/minecraft/client/option/SimpleOption;)Lnet/minecraft/client/gui/widget/ClickableWidget;
      intermediary method_31046 Lnet/minecraft/class_353;method_31046(Lnet/minecraft/class_7172;)Lnet/minecraft/class_339;
      official b Lfjd;b(Lfgl;)Lfie;
    • applyAllPendingValues

      public void applyAllPendingValues()
      Mappings:
      Namespace Name Mixin selector
      named applyAllPendingValues Lnet/minecraft/client/gui/widget/OptionListWidget;applyAllPendingValues()V
      intermediary method_59869 Lnet/minecraft/class_353;method_59869()V
      official c Lfjd;c()V
    • getHoveredWidget

      public Optional<Element> getHoveredWidget(double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      named getHoveredWidget Lnet/minecraft/client/gui/widget/OptionListWidget;getHoveredWidget(DD)Ljava/util/Optional;
      intermediary method_29624 Lnet/minecraft/class_353;method_29624(DD)Ljava/util/Optional;
      official e Lfjd;e(DD)Ljava/util/Optional;