Class SoundOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class SoundOptionsScreen extends GameOptionsScreen
Mappings:
Namespace Name
official eyd
intermediary net/minecraft/class_443
named net/minecraft/client/gui/screen/option/SoundOptionsScreen
  • Field Details

    • optionButtons

      private OptionListWidget optionButtons
      Mappings:
      Namespace Name Mixin selector
      official c Leyd;c:Lete;
      intermediary field_40416 Lnet/minecraft/class_443;field_40416:Lnet/minecraft/class_353;
      named optionButtons Lnet/minecraft/client/gui/screen/option/SoundOptionsScreen;optionButtons:Lnet/minecraft/client/gui/widget/OptionListWidget;
  • Constructor Details

    • SoundOptionsScreen

      public SoundOptionsScreen(Screen parent, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyd;<init>(Lexz;Leqq;)V
      intermediary <init> Lnet/minecraft/class_443;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/gui/screen/option/SoundOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
  • Method Details

    • getOptions

      private static SimpleOption<?>[] getOptions(GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      official a Leyd;a(Leqq;)[Leqp;
      intermediary method_45629 Lnet/minecraft/class_443;method_45629(Lnet/minecraft/class_315;)[Lnet/minecraft/class_7172;
      named getOptions Lnet/minecraft/client/gui/screen/option/SoundOptionsScreen;getOptions(Lnet/minecraft/client/option/GameOptions;)[Lnet/minecraft/client/option/SimpleOption;
    • 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(net.minecraft.client.gui.Element) to set the element that is initially focused.

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

      private SimpleOption<?>[] getVolumeOptions()
      Mappings:
      Namespace Name Mixin selector
      official l Leyd;l()[Leqp;
      intermediary method_45631 Lnet/minecraft/class_443;method_45631()[Lnet/minecraft/class_7172;
      named getVolumeOptions Lnet/minecraft/client/gui/screen/option/SoundOptionsScreen;getVolumeOptions()[Lnet/minecraft/client/option/SimpleOption;
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leti;a(Lerw;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world,

      invalid @linkplain
      renders the translucent background gradient
      . Otherwise renders the background texture.
      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lexz;b(Lerw;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V