Class GameOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement
Direct Known Subclasses:
AccessibilityOptionsScreen, ChatOptionsScreen, ControlsOptionsScreen, FontOptionsScreen, KeybindsScreen, LanguageOptionsScreen, MouseOptionsScreen, OnlineOptionsScreen, SkinOptionsScreen, SoundOptionsScreen, VideoOptionsScreen

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

    • parent

      protected final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_21335 Lnet/minecraft/class_4667;field_21335:Lnet/minecraft/class_437;
      official b Lfqn;b:Lfnl;
    • gameOptions

      protected final GameOptions gameOptions
      Mappings:
      Namespace Name Mixin selector
      named gameOptions Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;gameOptions:Lnet/minecraft/client/option/GameOptions;
      intermediary field_21336 Lnet/minecraft/class_4667;field_21336:Lnet/minecraft/class_315;
      official c Lfqn;c:Lfga;
    • body

      Mappings:
      Namespace Name Mixin selector
      named body Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;body:Lnet/minecraft/client/gui/widget/OptionListWidget;
      intermediary field_51824 Lnet/minecraft/class_4667;field_51824:Lnet/minecraft/class_353;
      official q Lfqn;q:Lfir;
    • layout

      public final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49503 Lnet/minecraft/class_4667;field_49503:Lnet/minecraft/class_8132;
      official r Lfqn;r:Lflh;
  • Constructor Details

    • GameOptionsScreen

      public GameOptionsScreen(Screen parent, GameOptions gameOptions, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_4667;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_2561;)V
      official <init> Lfqn;<init>(Lfnl;Lfga;Lwu;)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 Screen
      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 aP_ Lfnl;aP_()V
    • initHeader

      protected void initHeader()
      Mappings:
      Namespace Name Mixin selector
      named initHeader Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;initHeader()V
      intermediary method_57732 Lnet/minecraft/class_4667;method_57732()V
      official F Lfqn;F()V
    • initBody

      protected void initBody()
      Mappings:
      Namespace Name Mixin selector
      named initBody Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;initBody()V
      intermediary method_60329 Lnet/minecraft/class_4667;method_60329()V
      official aQ_ Lfqn;aQ_()V
    • addOptions

      protected abstract void addOptions()
      Mappings:
      Namespace Name Mixin selector
      named addOptions Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;addOptions()V
      intermediary method_60325 Lnet/minecraft/class_4667;method_60325()V
      official m Lfqn;m()V
    • initFooter

      protected void initFooter()
      Mappings:
      Namespace Name Mixin selector
      named initFooter Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;initFooter()V
      intermediary method_31387 Lnet/minecraft/class_4667;method_31387()V
      official D Lfqn;D()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      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 Lfnl;c()V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official j Lfnl;j()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfnl;d()V