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 frh
  • 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 Lfrh;b:Lfod;
    • 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 Lfrh;c:Lfgs;
    • 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 r Lfrh;r:Lfjj;
    • 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 s Lfrh;s:Lflz;
  • 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> Lfrh;<init>(Lfod;Lfgs;Lwz;)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 aT_ Lfod;aT_()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 E Lfrh;E()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 D Lfrh;D()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 Lfrh;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 C Lfrh;C()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 Lfod;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 Lfod;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 Lfod;d()V