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 fng
  • 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 Lfng;r:[Lffj;
    • 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 Lfng;a:Lfhd;
    • 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 Lfng;s:Lfic;
  • 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> Lfng;<init>(Lfne;Lffk;Lxp;[Lffj;)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_ Lfne;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 Lfne;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 Lfng;E()V