Class VideoSettingsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class VideoSettingsScreen extends OptionsSubScreen
  • Field Details

    • TITLE

      private static final Component TITLE
    • FABULOUS

      private static final Component FABULOUS
    • WARNING_MESSAGE

      private static final Component WARNING_MESSAGE
    • WARNING_TITLE

      private static final Component WARNING_TITLE
    • BUTTON_ACCEPT

      private static final Component BUTTON_ACCEPT
    • BUTTON_CANCEL

      private static final Component BUTTON_CANCEL
    • gpuWarnlistManager

      private final GpuWarnlistManager gpuWarnlistManager
    • oldMipmaps

      private final int oldMipmaps
  • Constructor Details

    • VideoSettingsScreen

      public VideoSettingsScreen(Screen pLastScreen, Minecraft pMinecraft, Options pOptions)
  • Method Details

    • options

      private static OptionInstance<?>[] options(Options pOptions)
    • addOptions

      protected void addOptions()
      Specified by:
      addOptions in class OptionsSubScreen
    • onClose

      public void onClose()
      Overrides:
      onClose in class OptionsSubScreen
    • removed

      public void removed()
      Overrides:
      removed in class OptionsSubScreen
    • mouseClicked

      public boolean mouseClicked(double pMouseX, double pMouseY, int pButton)
      Called when a mouse button is clicked within the GUI element.

      Parameters:
      pMouseX - the X coordinate of the mouse.
      pMouseY - the Y coordinate of the mouse.
      pButton - the button that was clicked.
      Returns:
      true if the event is consumed, false otherwise.
    • mouseScrolled

      public boolean mouseScrolled(double pMouseX, double pMouseY, double pScrollX, double pScrollY)