Package net.minecraft.client.gui.screens
Class OptionsScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.OptionsScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.DeferredTooltipRendering, Screen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final Componentprivate static final intprivate static final Componentprivate static final Componentprivate CycleButton<Difficulty>private static final Componentprivate final Screenprivate LockIconButtonprivate final Optionsprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidapplyPacks(PackRepository p_275714_) static CycleButton<Difficulty>createDifficultyButton(int p_262051_, int p_261805_, String p_261598_, Minecraft p_261922_) private LayoutElementprotected voidinit()private voidlockCallback(boolean p_96261_) voidonClose()private ButtonopenScreenButton(Component p_261565_, Supplier<Screen> p_262119_) voidremoved()voidrender(GuiGraphics p_283520_, int p_281826_, int p_283378_, float p_281975_) Methods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
SKIN_CUSTOMIZATION
- 
SOUNDS
- 
VIDEO
- 
CONTROLS
- 
LANGUAGE
- 
CHAT
- 
RESOURCEPACK
- 
ACCESSIBILITY
- 
TELEMETRY
- 
CREDITS_AND_ATTRIBUTION
- 
COLUMNSprivate static final int COLUMNS- See Also:
 
- 
lastScreen
- 
options
- 
difficultyButton
- 
lockButton
 
- 
- 
Constructor Details- 
OptionsScreen
 
- 
- 
Method Details- 
initprotected void init()
- 
applyPacks
- 
createOnlineButton
- 
createDifficultyButtonpublic static CycleButton<Difficulty> createDifficultyButton(int p_262051_, int p_261805_, String p_261598_, Minecraft p_261922_) 
- 
lockCallbackprivate void lockCallback(boolean p_96261_) 
- 
removedpublic void removed()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
onClosepublic void onClose()
- 
openScreenButton
 
-