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 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 OptionsSubScreen
lastScreen, layout, list, optionsFields inherited from class 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 lastScreen, Minecraft minecraft, Options options) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprivate static OptionInstance<?>[]displayOptions(Options options) booleanmouseClicked(MouseButtonEvent event, boolean doubleClick) booleanmouseScrolled(double x, double y, double scrollX, double scrollY) voidonClose()private static OptionInstance<?>[]preferenceOptions(Options options) private static OptionInstance<?>[]qualityOptions(Options options) voidremoved()voidtick()voidupdateFullscreenButton(boolean fullscreen) voidMethods inherited from class OptionsSubScreen
addContents, addFooter, addTitle, init, repositionElements, resetOptionMethods inherited from class 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 AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseDragged, mouseReleased, nextFocusPath, setFocusedMethods inherited from interface GuiEventListener
mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface 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
-
onClose
public void onClose()- Overrides:
onClosein classOptionsSubScreen
-
removed
public void removed()- Overrides:
removedin classOptionsSubScreen
-
mouseClicked
-
mouseScrolled
public boolean mouseScrolled(double x, double y, double scrollX, double scrollY) -
updateFullscreenButton
public void updateFullscreenButton(boolean fullscreen) -
updateTransparencyButton
public void updateTransparencyButton()
-