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 fxb
  • 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 Lfxb;b:Lftx;
    • 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 Lfxb;c:Lfmj;
    • 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 d Lfxb;d:Lfpc;
    • 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 Lfxb;s:Lfrt;
  • 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> Lfxb;<init>(Lftx;Lfmj;Lxv;)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.

      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_ Lftx;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 G Lfxb;G()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 F Lfxb;F()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 l Lfxb;l()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 E Lfxb;E()V
    • refreshWidgetPositions

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lftx;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 aJ_ Lftx;aJ_()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 aP_ Lftx;aP_()V