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 named net/minecraft/client/gui/screen/option/VideoOptionsScreenintermediary net/minecraft/class_446official fnm
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate OptionListWidgetprivate final intprivate static final Textprivate final VideoWarningManagerFields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, layout, parentFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private static SimpleOption<?>[]getOptions(GameOptions gameOptions) protected voidinit()Called when a screen should be initialized.protected voidbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.voidremoved()Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
initFooter, initHeaderMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getPanoramaTickDelta, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_49515Lnet/minecraft/class_446;field_49515:Lnet/minecraft/class_2561;official aLfnm;a:Lxp;
-
GRAPHICS_FABULOUS_TEXT
- Mappings:
Namespace Name Mixin selector named GRAPHICS_FABULOUS_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_FABULOUS_TEXT:Lnet/minecraft/text/Text;intermediary field_25682Lnet/minecraft/class_446;field_25682:Lnet/minecraft/class_2561;official rLfnm;r:Lxp;
-
GRAPHICS_WARNING_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector named GRAPHICS_WARNING_MESSAGE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_MESSAGE_TEXT:Lnet/minecraft/text/Text;intermediary field_25683Lnet/minecraft/class_446;field_25683:Lnet/minecraft/class_2561;official sLfnm;s:Lxp;
-
GRAPHICS_WARNING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named GRAPHICS_WARNING_TITLE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_25684Lnet/minecraft/class_446;field_25684:Lnet/minecraft/class_2561;official uLfnm;u:Lxp;
-
GRAPHICS_WARNING_ACCEPT_TEXT
- Mappings:
Namespace Name Mixin selector named GRAPHICS_WARNING_ACCEPT_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_ACCEPT_TEXT:Lnet/minecraft/text/Text;intermediary field_25685Lnet/minecraft/class_446;field_25685:Lnet/minecraft/class_2561;official vLfnm;v:Lxp;
-
GRAPHICS_WARNING_CANCEL_TEXT
- Mappings:
Namespace Name Mixin selector named GRAPHICS_WARNING_CANCEL_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_CANCEL_TEXT:Lnet/minecraft/text/Text;intermediary field_25686Lnet/minecraft/class_446;field_25686:Lnet/minecraft/class_2561;official wLfnm;w:Lxp;
-
list
- Mappings:
Namespace Name Mixin selector named listLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;list:Lnet/minecraft/client/gui/widget/OptionListWidget;intermediary field_2639Lnet/minecraft/class_446;field_2639:Lnet/minecraft/class_353;official xLfnm;x:Lfid;
-
warningManager
- Mappings:
Namespace Name Mixin selector named warningManagerLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;warningManager:Lnet/minecraft/client/resource/VideoWarningManager;intermediary field_25688Lnet/minecraft/class_446;field_25688:Lnet/minecraft/class_5407;official yLfnm;y:Lgdk;
-
mipmapLevels
private final int mipmapLevels- Mappings:
Namespace Name Mixin selector named mipmapLevelsLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;mipmapLevels:Iintermediary field_19186Lnet/minecraft/class_446;field_19186:Iofficial zLfnm;z:I
-
-
Constructor Details
-
VideoOptionsScreen
- 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;)Vintermediary <init>Lnet/minecraft/class_446;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vofficial <init>Lfnm;<init>(Lfnf;Lffl;)V
-
-
Method Details
-
getOptions
- Mappings:
Namespace Name Mixin selector named getOptionsLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;getOptions(Lnet/minecraft/client/option/GameOptions;)[Lnet/minecraft/client/option/SimpleOption;intermediary method_41846Lnet/minecraft/class_446;method_41846(Lnet/minecraft/class_315;)[Lnet/minecraft/class_7172;official aLfnm;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:
initin classGameOptionsScreen- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aM_Lfnf;aM_()V
-
close
public void close()- Overrides:
closein classGameOptionsScreen- Mappings:
Namespace Name Mixin selector named closeLnet/minecraft/client/gui/screen/Screen;close()Vintermediary method_25419Lnet/minecraft/class_437;method_25419()Vofficial dLfnf;d()V
-
removed
public void removed()- Overrides:
removedin classGameOptionsScreen- Mappings:
Namespace Name Mixin selector named removedLnet/minecraft/client/gui/screen/Screen;removed()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vofficial jLfnf;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 inGLFWclass.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfjc;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 mousemouseY- the Y coordinate of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amount- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDDD)Zofficial aLfjc;a(DDDD)Z
-