Class VideoOptionsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.GameOptionsScreen
net.minecraft.client.gui.screen.option.VideoOptionsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official eyq
intermediary net/minecraft/class_446
named net/minecraft/client/gui/screen/option/VideoOptionsScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private OptionListWidget
private final int
private final VideoWarningManager
Fields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, parent
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static SimpleOption<?>[]
getOptions
(GameOptions gameOptions) 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
mouseScrolled
(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.void
removed()
void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
close, render
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, setFocused
-
Field Details
-
GRAPHICS_FABULOUS_TEXT
- Mappings:
Namespace Name Mixin selector official c
Leyq;c:Ltl;
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
- Mappings:
Namespace Name Mixin selector official k
Leyq;k:Ltl;
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
- Mappings:
Namespace Name Mixin selector official l
Leyq;l:Ltl;
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
- Mappings:
Namespace Name Mixin selector official m
Leyq;m:Ltl;
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
- Mappings:
Namespace Name Mixin selector official n
Leyq;n:Ltl;
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;
-
list
- Mappings:
Namespace Name Mixin selector official o
Leyq;o:Letn;
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/OptionListWidget;
-
warningManager
- Mappings:
Namespace Name Mixin selector official p
Leyq;p:Lfny;
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 q
Leyq;q: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
- Mappings:
Namespace Name Mixin selector official <init>
Leyq;<init>(Leyk;Leqz;)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
-
getOptions
- Mappings:
Namespace Name Mixin selector official a
Leyq;a(Leqz;)[Leqy;
intermediary method_41846
Lnet/minecraft/class_446;method_41846(Lnet/minecraft/class_315;)[Lnet/minecraft/class_7172;
named getOptions
Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;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. -
removed
public void removed()- Overrides:
removed
in classGameOptionsScreen
- Mappings:
Namespace Name Mixin selector official h
Leyk;h()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:
- Mappings:
Namespace Name Mixin selector official a
Leuk;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(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 mousemouseY
- the Y coordinate of the mousehorizontalAmount
- the horizontal scroll amountverticalAmount
- the vertical scroll amount- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leuk;a(DDDD)Z
intermediary method_25401
Lnet/minecraft/class_364;method_25401(DDDD)Z
named mouseScrolled
Lnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lets;a(Lesf;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
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector official b
Leyk;b(Lesf;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
-