Class OptionsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.OptionsScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/option/OptionsScreenintermediary net/minecraft/class_429official gqh
-
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 intstatic final Textprivate static final Textprivate @Nullable CyclingButtonWidget<Difficulty> private static final Textprivate final ThreePartsLayoutWidgetprivate @Nullable LockButtonWidgetprivate final Screenprivate static final Textprivate final GameOptionsprivate static final Textprivate static final Textprivate static final Tooltipprivate static final Textprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private ButtonWidgetcreateButton(Text message, Supplier<Screen> screenSupplier) static CyclingButtonWidget<Difficulty> createDifficultyButtonWidget(int x, int y, String translationKey, MinecraftClient client) private Widgetprotected voidinit()Called when a screen should be initialized.private voidlockDifficulty(boolean difficultyLocked) private voidrefreshResourcePacks(ResourcePackManager resourcePackManager) protected voidvoidremoved()Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarratorMethods 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
getBorder, isClickable, 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, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_49501Lnet/minecraft/class_429;field_49501:Lnet/minecraft/class_2561;official bLgqh;b:Lxx;
-
SKIN_CUSTOMIZATION_TEXT
- Mappings:
Namespace Name Mixin selector named SKIN_CUSTOMIZATION_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;SKIN_CUSTOMIZATION_TEXT:Lnet/minecraft/text/Text;intermediary field_41345Lnet/minecraft/class_429;field_41345:Lnet/minecraft/class_2561;official cLgqh;c:Lxx;
-
SOUNDS_TEXT
- Mappings:
Namespace Name Mixin selector named SOUNDS_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;SOUNDS_TEXT:Lnet/minecraft/text/Text;intermediary field_41346Lnet/minecraft/class_429;field_41346:Lnet/minecraft/class_2561;official dLgqh;d:Lxx;
-
VIDEO_TEXT
- Mappings:
Namespace Name Mixin selector named VIDEO_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;VIDEO_TEXT:Lnet/minecraft/text/Text;intermediary field_41347Lnet/minecraft/class_429;field_41347:Lnet/minecraft/class_2561;official eLgqh;e:Lxx;
-
CONTROL_TEXT
- Mappings:
Namespace Name Mixin selector named CONTROL_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;CONTROL_TEXT:Lnet/minecraft/text/Text;intermediary field_41348Lnet/minecraft/class_429;field_41348:Lnet/minecraft/class_2561;official aLgqh;a:Lxx;
-
LANGUAGE_TEXT
- Mappings:
Namespace Name Mixin selector named LANGUAGE_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;LANGUAGE_TEXT:Lnet/minecraft/text/Text;intermediary field_41349Lnet/minecraft/class_429;field_41349:Lnet/minecraft/class_2561;official fLgqh;f:Lxx;
-
CHAT_TEXT
- Mappings:
Namespace Name Mixin selector named CHAT_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;CHAT_TEXT:Lnet/minecraft/text/Text;intermediary field_41350Lnet/minecraft/class_429;field_41350:Lnet/minecraft/class_2561;official tLgqh;t:Lxx;
-
RESOURCE_PACK_TEXT
- Mappings:
Namespace Name Mixin selector named RESOURCE_PACK_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;RESOURCE_PACK_TEXT:Lnet/minecraft/text/Text;intermediary field_41351Lnet/minecraft/class_429;field_41351:Lnet/minecraft/class_2561;official uLgqh;u:Lxx;
-
ACCESSIBILITY_TEXT
- Mappings:
Namespace Name Mixin selector named ACCESSIBILITY_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;ACCESSIBILITY_TEXT:Lnet/minecraft/text/Text;intermediary field_41352Lnet/minecraft/class_429;field_41352:Lnet/minecraft/class_2561;official vLgqh;v:Lxx;
-
TELEMETRY_TEXT
- Mappings:
Namespace Name Mixin selector named TELEMETRY_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_TEXT:Lnet/minecraft/text/Text;intermediary field_41353Lnet/minecraft/class_429;field_41353:Lnet/minecraft/class_2561;official wLgqh;w:Lxx;
-
TELEMETRY_DISABLED_TOOLTIP
- Mappings:
Namespace Name Mixin selector named TELEMETRY_DISABLED_TOOLTIPLnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_DISABLED_TOOLTIP:Lnet/minecraft/client/gui/tooltip/Tooltip;intermediary field_50221Lnet/minecraft/class_429;field_50221:Lnet/minecraft/class_7919;official xLgqh;x:Lgfc;
-
CREDITS_AND_ATTRIBUTION_TEXT
- Mappings:
Namespace Name Mixin selector named CREDITS_AND_ATTRIBUTION_TEXTLnet/minecraft/client/gui/screen/option/OptionsScreen;CREDITS_AND_ATTRIBUTION_TEXT:Lnet/minecraft/text/Text;intermediary field_43145Lnet/minecraft/class_429;field_43145:Lnet/minecraft/class_2561;official yLgqh;y:Lxx;
-
COLUMNS
private static final int COLUMNS- See Also:
- Mappings:
Namespace Name Mixin selector named COLUMNSLnet/minecraft/client/gui/screen/option/OptionsScreen;COLUMNS:Iintermediary field_41354Lnet/minecraft/class_429;field_41354:Iofficial zLgqh;z:I
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/option/OptionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_49502Lnet/minecraft/class_429;field_49502:Lnet/minecraft/class_8132;official ALgqh;A:Lgjc;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_2501Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;official BLgqh;B:Lgmj;
-
settings
- Mappings:
Namespace Name Mixin selector named settingsLnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;intermediary field_2502Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;official CLgqh;C:Lgad;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector named difficultyButtonLnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_2500Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;official DLgqh;D:Lgdw;
-
lockDifficultyButton
- Mappings:
Namespace Name Mixin selector named lockDifficultyButtonLnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;intermediary field_2503Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;official ELgqh;E:Lgeg;
-
-
Constructor Details
-
OptionsScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/option/OptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)Vintermediary <init>Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vofficial <init>Lgqh;<init>(Lgmj;Lgad;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgmj;c()V
-
close
public void close() -
refreshResourcePacks
- Mappings:
Namespace Name Mixin selector named refreshResourcePacksLnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)Vintermediary method_49626Lnet/minecraft/class_429;method_49626(Lnet/minecraft/class_3283;)Vofficial aLgqh;a(Lbaa;)V
-
createTopRightButton
- Mappings:
Namespace Name Mixin selector named createTopRightButtonLnet/minecraft/client/gui/screen/option/OptionsScreen;createTopRightButton()Lnet/minecraft/client/gui/widget/Widget;intermediary method_47628Lnet/minecraft/class_429;method_47628()Lnet/minecraft/class_8021;official oLgqh;o()Lgje;
-
createDifficultyButtonWidget
public static CyclingButtonWidget<Difficulty> createDifficultyButtonWidget(int x, int y, String translationKey, MinecraftClient client) - Mappings:
Namespace Name Mixin selector named createDifficultyButtonWidgetLnet/minecraft/client/gui/screen/option/OptionsScreen;createDifficultyButtonWidget(IILjava/lang/String;Lnet/minecraft/client/MinecraftClient;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary method_39486Lnet/minecraft/class_429;method_39486(IILjava/lang/String;Lnet/minecraft/class_310;)Lnet/minecraft/class_5676;official aLgqh;a(IILjava/lang/String;Lfzz;)Lgdw;
-
lockDifficulty
private void lockDifficulty(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector named lockDifficultyLnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficulty(Z)Vintermediary method_20374Lnet/minecraft/class_429;method_20374(Z)Vofficial cLgqh;c(Z)V
-
removed
public void removed() -
createButton
- Mappings:
Namespace Name Mixin selector named createButtonLnet/minecraft/client/gui/screen/option/OptionsScreen;createButton(Lnet/minecraft/text/Text;Ljava/util/function/Supplier;)Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary method_47625Lnet/minecraft/class_429;method_47625(Lnet/minecraft/class_2561;Ljava/util/function/Supplier;)Lnet/minecraft/class_4185;official aLgqh;a(Lxx;Ljava/util/function/Supplier;)Lgdp;
-