Class SimpleOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement
Direct Known Subclasses:
AccessibilityOptionsScreen, ChatOptionsScreen, FontOptionsScreen, OnlineOptionsScreen

@Environment(CLIENT) public abstract class SimpleOptionsScreen extends GameOptionsScreen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/option/SimpleOptionsScreen
intermediary net/minecraft/class_5500
official fnh
  • Field Details

    • options

      protected final SimpleOption<?>[] options
      Mappings:
      Namespace Name Mixin selector
      named options Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;options:[Lnet/minecraft/client/option/SimpleOption;
      intermediary field_26679 Lnet/minecraft/class_5500;field_26679:[Lnet/minecraft/class_7172;
      official r Lfnh;r:[Lffk;
    • narratorButton

      @Nullable private @Nullable ClickableWidget narratorButton
      Mappings:
      Namespace Name Mixin selector
      named narratorButton Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;narratorButton:Lnet/minecraft/client/gui/widget/ClickableWidget;
      intermediary field_26680 Lnet/minecraft/class_5500;field_26680:Lnet/minecraft/class_339;
      official a Lfnh;a:Lfhe;
    • buttonList

      protected OptionListWidget buttonList
      Mappings:
      Namespace Name Mixin selector
      named buttonList Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;buttonList:Lnet/minecraft/client/gui/widget/OptionListWidget;
      intermediary field_26681 Lnet/minecraft/class_5500;field_26681:Lnet/minecraft/class_353;
      official s Lfnh;s:Lfid;
  • Constructor Details

    • SimpleOptionsScreen

      public SimpleOptionsScreen(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/text/Text;[Lnet/minecraft/client/option/SimpleOption;)V
      intermediary <init> Lnet/minecraft/class_5500;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_2561;[Lnet/minecraft/class_7172;)V
      official <init> Lfnh;<init>(Lfnf;Lffl;Lxp;[Lffk;)V
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus() to set the element that is initially focused.

      Overrides:
      init in class GameOptionsScreen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aM_ Lfnf;aM_()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class GameOptionsScreen
      Mappings:
      Namespace Name Mixin selector
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfnf;c()V
    • updateNarratorButtonText

      public void updateNarratorButtonText()
      Mappings:
      Namespace Name Mixin selector
      named updateNarratorButtonText Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;updateNarratorButtonText()V
      intermediary method_31050 Lnet/minecraft/class_5500;method_31050()V
      official E Lfnh;E()V