Class VideoSettingsScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.options.OptionsSubScreen
net.minecraft.client.gui.screens.options.VideoSettingsScreen
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,Renderable,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final Componentprivate static final Componentprivate final GpuWarnlistManagerprivate static final Componentprivate final intprivate final intprivate final TextureFilteringMethodprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.options.OptionsSubScreen
lastScreen, layout, list, optionsFields inherited from class net.minecraft.client.gui.screens.Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionVideoSettingsScreen(Screen pLastScreen, Minecraft pMinecraft, Options pOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprivate static OptionInstance<?>[]displayOptions(Options pOptions) booleanmouseClicked(MouseButtonEvent p_446300_, boolean p_434065_) booleanmouseScrolled(double p_344913_, double p_346159_, double p_345166_, double p_345130_) voidonClose()private static OptionInstance<?>[]preferenceOptions(Options pOptions) private static OptionInstance<?>[]qualityOptions(Options pOptions) voidremoved()voidtick()voidupdateFullscreenButton(boolean pIsFullscreen) voidMethods inherited from class net.minecraft.client.gui.screens.options.OptionsSubScreen
addContents, addFooter, addTitle, init, repositionElements, resetOptionMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isMouseOver, isPauseScreen, isValidCharacterForName, keyPressed, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, resize, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseDragged, mouseReleased, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
TITLE
-
IMPROVED_TRANSPARENCY
-
WARNING_MESSAGE
-
WARNING_TITLE
-
BUTTON_ACCEPT
-
BUTTON_CANCEL
-
DISPLAY_HEADER
-
QUALITY_HEADER
-
PREFERENCES_HEADER
-
gpuWarnlistManager
-
oldMipmaps
private final int oldMipmaps -
oldAnisotropyBit
private final int oldAnisotropyBit -
oldTextureFiltering
-
-
Constructor Details
-
VideoSettingsScreen
-
-
Method Details
-
qualityOptions
-
displayOptions
-
preferenceOptions
-
addOptions
protected void addOptions()- Specified by:
addOptionsin classOptionsSubScreen
-
tick
public void tick() -
onClose
public void onClose()- Overrides:
onClosein classOptionsSubScreen
-
removed
public void removed()- Overrides:
removedin classOptionsSubScreen
-
mouseClicked
-
mouseScrolled
public boolean mouseScrolled(double p_344913_, double p_346159_, double p_345166_, double p_345130_) -
updateFullscreenButton
public void updateFullscreenButton(boolean pIsFullscreen) -
updateTransparencyButton
public void updateTransparencyButton()
-