Class VideoOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_49515 Lnet/minecraft/class_446;field_49515:Lnet/minecraft/class_2561;
      official a Lfnm;a:Lxp;
    • GRAPHICS_FABULOUS_TEXT

      private static final Text GRAPHICS_FABULOUS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GRAPHICS_FABULOUS_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_FABULOUS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25682 Lnet/minecraft/class_446;field_25682:Lnet/minecraft/class_2561;
      official r Lfnm;r:Lxp;
    • GRAPHICS_WARNING_MESSAGE_TEXT

      private static final Text GRAPHICS_WARNING_MESSAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GRAPHICS_WARNING_MESSAGE_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_MESSAGE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25683 Lnet/minecraft/class_446;field_25683:Lnet/minecraft/class_2561;
      official s Lfnm;s:Lxp;
    • GRAPHICS_WARNING_TITLE_TEXT

      private static final Text GRAPHICS_WARNING_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GRAPHICS_WARNING_TITLE_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25684 Lnet/minecraft/class_446;field_25684:Lnet/minecraft/class_2561;
      official u Lfnm;u:Lxp;
    • GRAPHICS_WARNING_ACCEPT_TEXT

      private static final Text GRAPHICS_WARNING_ACCEPT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GRAPHICS_WARNING_ACCEPT_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_ACCEPT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25685 Lnet/minecraft/class_446;field_25685:Lnet/minecraft/class_2561;
      official v Lfnm;v:Lxp;
    • GRAPHICS_WARNING_CANCEL_TEXT

      private static final Text GRAPHICS_WARNING_CANCEL_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GRAPHICS_WARNING_CANCEL_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_CANCEL_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25686 Lnet/minecraft/class_446;field_25686:Lnet/minecraft/class_2561;
      official w Lfnm;w:Lxp;
    • list

      private OptionListWidget list
      Mappings:
      Namespace Name Mixin selector
      named list Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;list:Lnet/minecraft/client/gui/widget/OptionListWidget;
      intermediary field_2639 Lnet/minecraft/class_446;field_2639:Lnet/minecraft/class_353;
      official x Lfnm;x:Lfid;
    • warningManager

      private final VideoWarningManager warningManager
      Mappings:
      Namespace Name Mixin selector
      named warningManager Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;warningManager:Lnet/minecraft/client/resource/VideoWarningManager;
      intermediary field_25688 Lnet/minecraft/class_446;field_25688:Lnet/minecraft/class_5407;
      official y Lfnm;y:Lgdk;
    • mipmapLevels

      private final int mipmapLevels
      Mappings:
      Namespace Name Mixin selector
      named mipmapLevels Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;mipmapLevels:I
      intermediary field_19186 Lnet/minecraft/class_446;field_19186:I
      official z Lfnm;z:I
  • Constructor Details

    • VideoOptionsScreen

      public VideoOptionsScreen(Screen parent, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
      intermediary <init> Lnet/minecraft/class_446;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      official <init> Lfnm;<init>(Lfnf;Lffl;)V
  • Method Details

    • getOptions

      private static SimpleOption<?>[] getOptions(GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      named getOptions Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;getOptions(Lnet/minecraft/client/option/GameOptions;)[Lnet/minecraft/client/option/SimpleOption;
      intermediary method_41846 Lnet/minecraft/class_446;method_41846(Lnet/minecraft/class_315;)[Lnet/minecraft/class_7172;
      official a Lfnm;a(Lffl;)[Lffk;
    • 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 GameOptionsScreen
      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 aM_ Lfnf;aM_()V
    • close

      public void close()
      Overrides:
      close in class GameOptionsScreen
      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 d Lfnf;d()V
    • initTabNavigation

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

      public void removed()
      Overrides:
      removed in class GameOptionsScreen
      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 j Lfnf;j()V
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      official a Lfjc;a(DDI)Z
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount)
      Callback for when a mouse button scroll event has been captured.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      horizontalAmount - the horizontal scroll amount
      verticalAmount - the vertical scroll amount
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named mouseScrolled Lnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
      intermediary method_25401 Lnet/minecraft/class_364;method_25401(DDDD)Z
      official a Lfjc;a(DDDD)Z