Class VideoOptionsScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • GRAPHICS_FABULOUS_TEXT

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

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

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

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

      private static final Text GRAPHICS_WARNING_CANCEL_TEXT
      Mappings:
      Namespace Name Mixin selector
      official q Leav;q:Los;
      intermediary field_25686 Lnet/minecraft/class_446;field_25686:Lnet/minecraft/class_2561;
      named GRAPHICS_WARNING_CANCEL_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_CANCEL_TEXT:Lnet/minecraft/text/Text;
    • NEWLINE_TEXT

      private static final Text NEWLINE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official r Leav;r:Los;
      intermediary field_25687 Lnet/minecraft/class_446;field_25687:Lnet/minecraft/class_2561;
      named NEWLINE_TEXT Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;NEWLINE_TEXT:Lnet/minecraft/text/Text;
    • OPTIONS

      private static final Option[] OPTIONS
      Mappings:
      Namespace Name Mixin selector
      official s Leav;s:[Ldvr;
      intermediary field_2640 Lnet/minecraft/class_446;field_2640:[Lnet/minecraft/class_316;
      named OPTIONS Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;OPTIONS:[Lnet/minecraft/client/option/Option;
    • list

      private ButtonListWidget list
      Mappings:
      Namespace Name Mixin selector
      official t Leav;t:Ldxn;
      intermediary field_2639 Lnet/minecraft/class_446;field_2639:Lnet/minecraft/class_353;
      named list Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;list:Lnet/minecraft/client/gui/widget/ButtonListWidget;
    • warningManager

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

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

    • VideoOptionsScreen

      public VideoOptionsScreen(Screen parent, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leav;<init>(Leap;Ldvs;)V
      intermediary <init> Lnet/minecraft/class_446;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;<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 Leap;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • removed

      public void removed()
      Overrides:
      removed in class GameOptionsScreen
      Mappings:
      Namespace Name Mixin selector
      official e Leap;e()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()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:
      Mouse.onMouseButton(long, int, int, int), GLFW.GLFW_MOUSE_BUTTON_1
      Mappings:
      Namespace Name Mixin selector
      official a Ldxx;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int button)
      Callback for when a mouse button release 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:
      Mouse.onMouseButton(long, int, int, int), GLFW.GLFW_MOUSE_BUTTON_1
      Mappings:
      Namespace Name Mixin selector
      official c Ldxx;c(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
    • 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 Ldxu;a(Ldqk;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