Class OptionsScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, TickableElement

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

    • OPTIONS

      private static final Option[] OPTIONS
      Mappings:
      Namespace Name Mixin selector
      official a Lduv;a:[Ldqn;
      intermediary field_2504 Lnet/minecraft/class_429;field_2504:[Lnet/minecraft/class_316;
      named OPTIONS Lnet/minecraft/client/gui/screen/option/OptionsScreen;OPTIONS:[Lnet/minecraft/client/option/Option;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official b Lduv;b:Ldve;
      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 Lduv;c:Ldqo;
      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

      private CyclingButtonWidget<Difficulty> difficultyButton
      Mappings:
      Namespace Name Mixin selector
      official p Lduv;p:Ldsa;
      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

      private LockButtonWidget lockDifficultyButton
      Mappings:
      Namespace Name Mixin selector
      official q Lduv;q:Ldsf;
      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> Lduv;<init>(Ldve;Ldqo;)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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Ldve;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • refreshResourcePacks

      private void refreshResourcePacks​(ResourcePackManager resourcePackManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lduv;a(Lacm;)V
      intermediary method_29975 Lnet/minecraft/class_429;method_29975(Lnet/minecraft/class_3283;)V
      named refreshResourcePacks Lnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)V
    • lockDifficulty

      private void lockDifficulty​(boolean difficultyLocked)
      Mappings:
      Namespace Name Mixin selector
      official c Lduv;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 e Ldve;e()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldsq;a(Ldlr;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V