Class OptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class OptionsScreen extends Screen
Mappings:
Namespace Name
official fku
intermediary net/minecraft/class_429
named net/minecraft/client/gui/screen/option/OptionsScreen
  • Field Details

    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lfku;a:Lwu;
      intermediary field_49501 Lnet/minecraft/class_429;field_49501:Lnet/minecraft/class_2561;
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
    • SKIN_CUSTOMIZATION_TEXT

      private static final Text SKIN_CUSTOMIZATION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lfku;b:Lwu;
      intermediary field_41345 Lnet/minecraft/class_429;field_41345:Lnet/minecraft/class_2561;
      named SKIN_CUSTOMIZATION_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;SKIN_CUSTOMIZATION_TEXT:Lnet/minecraft/text/Text;
    • SOUNDS_TEXT

      private static final Text SOUNDS_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lfku;c:Lwu;
      intermediary field_41346 Lnet/minecraft/class_429;field_41346:Lnet/minecraft/class_2561;
      named SOUNDS_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;SOUNDS_TEXT:Lnet/minecraft/text/Text;
    • VIDEO_TEXT

      private static final Text VIDEO_TEXT
      Mappings:
      Namespace Name Mixin selector
      official d Lfku;d:Lwu;
      intermediary field_41347 Lnet/minecraft/class_429;field_41347:Lnet/minecraft/class_2561;
      named VIDEO_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;VIDEO_TEXT:Lnet/minecraft/text/Text;
    • CONTROL_TEXT

      private static final Text CONTROL_TEXT
      Mappings:
      Namespace Name Mixin selector
      official r Lfku;r:Lwu;
      intermediary field_41348 Lnet/minecraft/class_429;field_41348:Lnet/minecraft/class_2561;
      named CONTROL_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;CONTROL_TEXT:Lnet/minecraft/text/Text;
    • LANGUAGE_TEXT

      private static final Text LANGUAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official s Lfku;s:Lwu;
      intermediary field_41349 Lnet/minecraft/class_429;field_41349:Lnet/minecraft/class_2561;
      named LANGUAGE_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;LANGUAGE_TEXT:Lnet/minecraft/text/Text;
    • CHAT_TEXT

      private static final Text CHAT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official u Lfku;u:Lwu;
      intermediary field_41350 Lnet/minecraft/class_429;field_41350:Lnet/minecraft/class_2561;
      named CHAT_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;CHAT_TEXT:Lnet/minecraft/text/Text;
    • RESOURCE_PACK_TEXT

      private static final Text RESOURCE_PACK_TEXT
      Mappings:
      Namespace Name Mixin selector
      official v Lfku;v:Lwu;
      intermediary field_41351 Lnet/minecraft/class_429;field_41351:Lnet/minecraft/class_2561;
      named RESOURCE_PACK_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;RESOURCE_PACK_TEXT:Lnet/minecraft/text/Text;
    • ACCESSIBILITY_TEXT

      private static final Text ACCESSIBILITY_TEXT
      Mappings:
      Namespace Name Mixin selector
      official w Lfku;w:Lwu;
      intermediary field_41352 Lnet/minecraft/class_429;field_41352:Lnet/minecraft/class_2561;
      named ACCESSIBILITY_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;ACCESSIBILITY_TEXT:Lnet/minecraft/text/Text;
    • TELEMETRY_TEXT

      private static final Text TELEMETRY_TEXT
      Mappings:
      Namespace Name Mixin selector
      official x Lfku;x:Lwu;
      intermediary field_41353 Lnet/minecraft/class_429;field_41353:Lnet/minecraft/class_2561;
      named TELEMETRY_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_TEXT:Lnet/minecraft/text/Text;
    • CREDITS_AND_ATTRIBUTION_TEXT

      private static final Text CREDITS_AND_ATTRIBUTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official y Lfku;y:Lwu;
      intermediary field_43145 Lnet/minecraft/class_429;field_43145:Lnet/minecraft/class_2561;
      named CREDITS_AND_ATTRIBUTION_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;CREDITS_AND_ATTRIBUTION_TEXT:Lnet/minecraft/text/Text;
    • COLUMNS

      private static final int COLUMNS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lfku;z:I
      intermediary field_41354 Lnet/minecraft/class_429;field_41354:I
      named COLUMNS Lnet/minecraft/client/gui/screen/option/OptionsScreen;COLUMNS:I
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      official A Lfku;A:Lfir;
      intermediary field_49502 Lnet/minecraft/class_429;field_49502:Lnet/minecraft/class_8132;
      named layout Lnet/minecraft/client/gui/screen/option/OptionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official B Lfku;B:Lfld;
      intermediary field_2501 Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • settings

      private final GameOptions settings
      Mappings:
      Namespace Name Mixin selector
      official C Lfku;C:Lfdi;
      intermediary field_2502 Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;
      named settings Lnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;
    • difficultyButton

      Mappings:
      Namespace Name Mixin selector
      official D Lfku;D:Lffl;
      intermediary field_2500 Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;
      named difficultyButton Lnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • lockDifficultyButton

      @Nullable private @Nullable LockButtonWidget lockDifficultyButton
      Mappings:
      Namespace Name Mixin selector
      official E Lfku;E:Lffu;
      intermediary field_2503 Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;
      named lockDifficultyButton Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;
  • Constructor Details

    • OptionsScreen

      public OptionsScreen(Screen parent, GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfku;<init>(Lfld;Lfdi;)V
      intermediary <init> Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/gui/screen/option/OptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)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
      official aM_ Lfld;aM_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      official c Lfld;c()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
    • close

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

      private void refreshResourcePacks(ResourcePackManager resourcePackManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lfku;a(Latc;)V
      intermediary method_49626 Lnet/minecraft/class_429;method_49626(Lnet/minecraft/class_3283;)V
      named refreshResourcePacks Lnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)V
    • createTopRightButton

      private Widget createTopRightButton()
      Mappings:
      Namespace Name Mixin selector
      official m Lfku;m()Lfit;
      intermediary method_47628 Lnet/minecraft/class_429;method_47628()Lnet/minecraft/class_8021;
      named createTopRightButton Lnet/minecraft/client/gui/screen/option/OptionsScreen;createTopRightButton()Lnet/minecraft/client/gui/widget/Widget;
    • createDifficultyButtonWidget

      public static CyclingButtonWidget<Difficulty> createDifficultyButtonWidget(int x, int y, String translationKey, MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official a Lfku;a(IILjava/lang/String;Lfde;)Lffl;
      intermediary method_39486 Lnet/minecraft/class_429;method_39486(IILjava/lang/String;Lnet/minecraft/class_310;)Lnet/minecraft/class_5676;
      named createDifficultyButtonWidget Lnet/minecraft/client/gui/screen/option/OptionsScreen;createDifficultyButtonWidget(IILjava/lang/String;Lnet/minecraft/client/MinecraftClient;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • lockDifficulty

      private void lockDifficulty(boolean difficultyLocked)
      Mappings:
      Namespace Name Mixin selector
      official c Lfku;c(Z)V
      intermediary method_20374 Lnet/minecraft/class_429;method_20374(Z)V
      named lockDifficulty Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficulty(Z)V
    • removed

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

      private ButtonWidget createButton(Text message, Supplier<Screen> screenSupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lfku;a(Lwu;Ljava/util/function/Supplier;)Lffe;
      intermediary method_47625 Lnet/minecraft/class_429;method_47625(Lnet/minecraft/class_2561;Ljava/util/function/Supplier;)Lnet/minecraft/class_4185;
      named createButton Lnet/minecraft/client/gui/screen/option/OptionsScreen;createButton(Lnet/minecraft/text/Text;Ljava/util/function/Supplier;)Lnet/minecraft/client/gui/widget/ButtonWidget;