Class OptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE_TEXT Link icon

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

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

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

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

      private static final Text CONTROL_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CONTROL_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;CONTROL_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41348 Lnet/minecraft/class_429;field_41348:Lnet/minecraft/class_2561;
      official s Lfxp;s:Lwp;
    • LANGUAGE_TEXT Link icon

      private static final Text LANGUAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named LANGUAGE_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;LANGUAGE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41349 Lnet/minecraft/class_429;field_41349:Lnet/minecraft/class_2561;
      official u Lfxp;u:Lwp;
    • CHAT_TEXT Link icon

      private static final Text CHAT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CHAT_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;CHAT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41350 Lnet/minecraft/class_429;field_41350:Lnet/minecraft/class_2561;
      official v Lfxp;v:Lwp;
    • RESOURCE_PACK_TEXT Link icon

      private static final Text RESOURCE_PACK_TEXT
      Mappings:
      Namespace Name Mixin selector
      named RESOURCE_PACK_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;RESOURCE_PACK_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41351 Lnet/minecraft/class_429;field_41351:Lnet/minecraft/class_2561;
      official w Lfxp;w:Lwp;
    • ACCESSIBILITY_TEXT Link icon

      private static final Text ACCESSIBILITY_TEXT
      Mappings:
      Namespace Name Mixin selector
      named ACCESSIBILITY_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;ACCESSIBILITY_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41352 Lnet/minecraft/class_429;field_41352:Lnet/minecraft/class_2561;
      official x Lfxp;x:Lwp;
    • TELEMETRY_TEXT Link icon

      private static final Text TELEMETRY_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TELEMETRY_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41353 Lnet/minecraft/class_429;field_41353:Lnet/minecraft/class_2561;
      official y Lfxp;y:Lwp;
    • TELEMETRY_DISABLED_TOOLTIP Link icon

      private static final Tooltip TELEMETRY_DISABLED_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      named TELEMETRY_DISABLED_TOOLTIP Lnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_DISABLED_TOOLTIP:Lnet/minecraft/client/gui/tooltip/Tooltip;
      intermediary field_50221 Lnet/minecraft/class_429;field_50221:Lnet/minecraft/class_7919;
      official z Lfxp;z:Lfqf;
    • CREDITS_AND_ATTRIBUTION_TEXT Link icon

      private static final Text CREDITS_AND_ATTRIBUTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CREDITS_AND_ATTRIBUTION_TEXT Lnet/minecraft/client/gui/screen/option/OptionsScreen;CREDITS_AND_ATTRIBUTION_TEXT:Lnet/minecraft/text/Text;
      intermediary field_43145 Lnet/minecraft/class_429;field_43145:Lnet/minecraft/class_2561;
      official A Lfxp;A:Lwp;
    • COLUMNS Link icon

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

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/option/OptionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49502 Lnet/minecraft/class_429;field_49502:Lnet/minecraft/class_8132;
      official C Lfxp;C:Lfsi;
    • parent Link icon

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_2501 Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;
      official D Lfxp;D:Lfum;
    • settings Link icon

      private final GameOptions settings
      Mappings:
      Namespace Name Mixin selector
      named settings Lnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;
      intermediary field_2502 Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;
      official E Lfxp;E:Lflo;
    • difficultyButton Link icon

      Mappings:
      Namespace Name Mixin selector
      named difficultyButton Lnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
      intermediary field_2500 Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;
      official F Lfxp;F:Lfpb;
    • lockDifficultyButton Link icon

      @Nullable private @Nullable LockButtonWidget lockDifficultyButton
      Mappings:
      Namespace Name Mixin selector
      named lockDifficultyButton Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;
      intermediary field_2503 Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;
      official G Lfxp;G:Lfpk;
  • Constructor Details Link icon

    • OptionsScreen Link icon

      public OptionsScreen(Screen parent, GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/option/OptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
      intermediary <init> Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      official <init> Lfxp;<init>(Lfum;Lflo;)V
  • Method Details Link icon

    • init Link icon

      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 aR_ Lfum;aR_()V
    • refreshWidgetPositions Link icon

      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 Lfum;c()V
    • close Link icon

      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 aO_ Lfum;aO_()V
    • refreshResourcePacks Link icon

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

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

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

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

      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 aI_ Lfum;aI_()V
    • createButton Link icon

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