Package net.minecraft.client.gui.screen
Class VideoOptionsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.GameOptionsScreen
net.minecraft.client.gui.screen.VideoOptionsScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
,TickableElement
@Environment(CLIENT) public class VideoOptionsScreen extends GameOptionsScreen
- Mappings:
Namespace Name official dvk
intermediary net/minecraft/class_446
named net/minecraft/client/gui/screen/VideoOptionsScreen
-
Field Summary
Fields Modifier and Type Field Description private static Text
GRAPHICS_FABULOUS_TEXT
private static Text
GRAPHICS_WARNING_ACCEPT_TEXT
private static Text
GRAPHICS_WARNING_CANCEL_TEXT
private static Text
GRAPHICS_WARNING_MESSAGE_TEXT
private static Text
GRAPHICS_WARNING_TITLE_TEXT
private ButtonListWidget
list
private int
mipmapLevels
private static Text
NEWLINE_TEXT
private static Option[]
OPTIONS
private VideoWarningManager
warningManager
Fields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, parent
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description VideoOptionsScreen(Screen parent, GameOptions options)
-
Method Summary
Modifier and Type Method Description protected void
init()
Called when a screen should be initialized.boolean
mouseClicked(double mouseX, double mouseY, int button)
Callback for when a mouse button down event has been captured.boolean
mouseReleased(double mouseX, double mouseY, int button)
Callback for when a mouse button release event has been captured.void
removed()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
getHoveredButtonTooltip, onClose
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseScrolled, setInitialFocus
-
Field Details
-
GRAPHICS_FABULOUS_TEXT
- Mappings:
Namespace Name Mixin selector official c
Ldvk;c:Loi;
intermediary field_25682
Lnet/minecraft/class_446;field_25682:Lnet/minecraft/class_2561;
named GRAPHICS_FABULOUS_TEXT
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;GRAPHICS_FABULOUS_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector official p
Ldvk;p:Loi;
intermediary field_25683
Lnet/minecraft/class_446;field_25683:Lnet/minecraft/class_2561;
named GRAPHICS_WARNING_MESSAGE_TEXT
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;GRAPHICS_WARNING_MESSAGE_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official q
Ldvk;q:Loi;
intermediary field_25684
Lnet/minecraft/class_446;field_25684:Lnet/minecraft/class_2561;
named GRAPHICS_WARNING_TITLE_TEXT
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;GRAPHICS_WARNING_TITLE_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_ACCEPT_TEXT
- Mappings:
Namespace Name Mixin selector official r
Ldvk;r:Loi;
intermediary field_25685
Lnet/minecraft/class_446;field_25685:Lnet/minecraft/class_2561;
named GRAPHICS_WARNING_ACCEPT_TEXT
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;GRAPHICS_WARNING_ACCEPT_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_CANCEL_TEXT
- Mappings:
Namespace Name Mixin selector official s
Ldvk;s:Loi;
intermediary field_25686
Lnet/minecraft/class_446;field_25686:Lnet/minecraft/class_2561;
named GRAPHICS_WARNING_CANCEL_TEXT
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;GRAPHICS_WARNING_CANCEL_TEXT:Lnet/minecraft/text/Text;
-
NEWLINE_TEXT
- Mappings:
Namespace Name Mixin selector official t
Ldvk;t:Loi;
intermediary field_25687
Lnet/minecraft/class_446;field_25687:Lnet/minecraft/class_2561;
named NEWLINE_TEXT
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;NEWLINE_TEXT:Lnet/minecraft/text/Text;
-
OPTIONS
- Mappings:
Namespace Name Mixin selector official u
Ldvk;u:[Ldqn;
intermediary field_2640
Lnet/minecraft/class_446;field_2640:[Lnet/minecraft/class_316;
named OPTIONS
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;OPTIONS:[Lnet/minecraft/client/option/Option;
-
list
- Mappings:
Namespace Name Mixin selector official v
Ldvk;v:Ldsi;
intermediary field_2639
Lnet/minecraft/class_446;field_2639:Lnet/minecraft/class_353;
named list
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;list:Lnet/minecraft/client/gui/widget/ButtonListWidget;
-
warningManager
- Mappings:
Namespace Name Mixin selector official w
Ldvk;w:Lehk;
intermediary field_25688
Lnet/minecraft/class_446;field_25688:Lnet/minecraft/class_5407;
named warningManager
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;warningManager:Lnet/minecraft/client/resource/VideoWarningManager;
-
mipmapLevels
private final int mipmapLevels- Mappings:
Namespace Name Mixin selector official x
Ldvk;x:I
intermediary field_19186
Lnet/minecraft/class_446;field_19186:I
named mipmapLevels
Lnet/minecraft/client/gui/screen/VideoOptionsScreen;mipmapLevels:I
-
-
Constructor Details
-
VideoOptionsScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldvk;<init>(Ldve;Ldqo;)V
intermediary <init>
Lnet/minecraft/class_446;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
named <init>
Lnet/minecraft/client/gui/screen/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.
-
removed
public void removed()- Overrides:
removed
in classGameOptionsScreen
- 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
-
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 inGLFW
class.- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- 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
Ldst;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 inGLFW
class.- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- 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
Ldst;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
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
-