Class GameOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement
Direct Known Subclasses:
ControlsOptionsScreen, KeybindsScreen, LanguageOptionsScreen, MouseOptionsScreen, SimpleOptionsScreen, SkinOptionsScreen, SoundOptionsScreen, VideoOptionsScreen

@Environment(CLIENT) public class GameOptionsScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/option/GameOptionsScreen
intermediary net/minecraft/class_4667
official fmx
  • 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 Lfmx;b:Lfnf;
    • 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 Lfmx;c:Lffl;
    • 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 d Lfmx;d:Lfkt;
  • 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> Lfmx;<init>(Lfnf;Lffl;Lxp;)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 aM_ Lfnf;aM_()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 m Lfmx;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 h Lfmx;h()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 Lfnf;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 Lfnf;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 Lfnf;d()V