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.option.VideoOptionsScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement
- Mappings:
Namespace Name official ephintermediary net/minecraft/class_446named 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
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate static final Textprivate ButtonListWidgetprivate final intprivate final VideoWarningManagerFields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, parentFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static SimpleOption<?>[]getOptions(GameOptions gameOptions) protected voidinit()Called when a screen should be initialized.booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
close, renderMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
GRAPHICS_FABULOUS_TEXT
- Mappings:
Namespace Name Mixin selector official cLeph;c:Lss;intermediary field_25682Lnet/minecraft/class_446;field_25682:Lnet/minecraft/class_2561;named GRAPHICS_FABULOUS_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_FABULOUS_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector official nLeph;n:Lss;intermediary field_25683Lnet/minecraft/class_446;field_25683:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_MESSAGE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_MESSAGE_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official oLeph;o:Lss;intermediary field_25684Lnet/minecraft/class_446;field_25684:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_TITLE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_TITLE_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_ACCEPT_TEXT
- Mappings:
Namespace Name Mixin selector official pLeph;p:Lss;intermediary field_25685Lnet/minecraft/class_446;field_25685:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_ACCEPT_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_ACCEPT_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_CANCEL_TEXT
- Mappings:
Namespace Name Mixin selector official qLeph;q:Lss;intermediary field_25686Lnet/minecraft/class_446;field_25686:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_CANCEL_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_CANCEL_TEXT:Lnet/minecraft/text/Text;
-
list
- Mappings:
Namespace Name Mixin selector official rLeph;r:Lelu;intermediary field_2639Lnet/minecraft/class_446;field_2639:Lnet/minecraft/class_353;named listLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;list:Lnet/minecraft/client/gui/widget/ButtonListWidget;
-
warningManager
- Mappings:
Namespace Name Mixin selector official sLeph;s:Lfdp;intermediary field_25688Lnet/minecraft/class_446;field_25688:Lnet/minecraft/class_5407;named warningManagerLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;warningManager:Lnet/minecraft/client/resource/VideoWarningManager;
-
mipmapLevels
private final int mipmapLevels- Mappings:
Namespace Name Mixin selector official tLeph;t:Iintermediary field_19186Lnet/minecraft/class_446;field_19186:Inamed mipmapLevelsLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;mipmapLevels:I
-
-
Constructor Details
-
VideoOptionsScreen
- Mappings:
Namespace Name Mixin selector official <init>Leph;<init>(Lepb;Lejj;)Vintermediary <init>Lnet/minecraft/class_446;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vnamed <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 aLeph;a(Lejj;)[Leji;intermediary method_41846Lnet/minecraft/class_446;method_41846(Lnet/minecraft/class_315;)[Lnet/minecraft/class_7172;named getOptionsLnet/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.
-
removed
public void removed()- Overrides:
removedin classGameOptionsScreen- Mappings:
Namespace Name Mixin selector official gLepb;g()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vnamed removedLnet/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 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 official aLemg;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLely;a(Leed;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-