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 - official - euh- intermediary - net/minecraft/class_429- named - net/minecraft/client/gui/screen/option/OptionsScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final intprivate static final Textprivate static final Textprivate CyclingButtonWidget<Difficulty>private static final Textprivate LockButtonWidgetprivate final Screenprivate static final Textprivate final GameOptionsprivate static final Textprivate static final Textprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate 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) voidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, 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.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
SKIN_CUSTOMIZATION_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuh;a:Lsw;- intermediary - field_41345- Lnet/minecraft/class_429;field_41345:Lnet/minecraft/class_2561;- named - SKIN_CUSTOMIZATION_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;SKIN_CUSTOMIZATION_TEXT:Lnet/minecraft/text/Text;
 
- 
SOUNDS_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - b- Leuh;b:Lsw;- intermediary - field_41346- Lnet/minecraft/class_429;field_41346:Lnet/minecraft/class_2561;- named - SOUNDS_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;SOUNDS_TEXT:Lnet/minecraft/text/Text;
 
- 
VIDEO_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - c- Leuh;c:Lsw;- intermediary - field_41347- Lnet/minecraft/class_429;field_41347:Lnet/minecraft/class_2561;- named - VIDEO_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;VIDEO_TEXT:Lnet/minecraft/text/Text;
 
- 
CONTROL_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - k- Leuh;k:Lsw;- intermediary - field_41348- Lnet/minecraft/class_429;field_41348:Lnet/minecraft/class_2561;- named - CONTROL_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;CONTROL_TEXT:Lnet/minecraft/text/Text;
 
- 
LANGUAGE_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuh;l:Lsw;- intermediary - field_41349- Lnet/minecraft/class_429;field_41349:Lnet/minecraft/class_2561;- named - LANGUAGE_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;LANGUAGE_TEXT:Lnet/minecraft/text/Text;
 
- 
CHAT_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - m- Leuh;m:Lsw;- intermediary - field_41350- Lnet/minecraft/class_429;field_41350:Lnet/minecraft/class_2561;- named - CHAT_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;CHAT_TEXT:Lnet/minecraft/text/Text;
 
- 
RESOURCE_PACK_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - n- Leuh;n:Lsw;- intermediary - field_41351- Lnet/minecraft/class_429;field_41351:Lnet/minecraft/class_2561;- named - RESOURCE_PACK_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;RESOURCE_PACK_TEXT:Lnet/minecraft/text/Text;
 
- 
ACCESSIBILITY_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - o- Leuh;o:Lsw;- intermediary - field_41352- Lnet/minecraft/class_429;field_41352:Lnet/minecraft/class_2561;- named - ACCESSIBILITY_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;ACCESSIBILITY_TEXT:Lnet/minecraft/text/Text;
 
- 
TELEMETRY_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - p- Leuh;p:Lsw;- intermediary - field_41353- Lnet/minecraft/class_429;field_41353:Lnet/minecraft/class_2561;- named - TELEMETRY_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_TEXT:Lnet/minecraft/text/Text;
 
- 
CREDITS_AND_ATTRIBUTION_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - q- Leuh;q:Lsw;- intermediary - field_43145- Lnet/minecraft/class_429;field_43145:Lnet/minecraft/class_2561;- named - CREDITS_AND_ATTRIBUTION_TEXT- Lnet/minecraft/client/gui/screen/option/OptionsScreen;CREDITS_AND_ATTRIBUTION_TEXT:Lnet/minecraft/text/Text;
 
- 
COLUMNSprivate static final int COLUMNS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - r- Leuh;r:I- intermediary - field_41354- Lnet/minecraft/class_429;field_41354:I- named - COLUMNS- Lnet/minecraft/client/gui/screen/option/OptionsScreen;COLUMNS:I
 
- 
parent- Mappings:
- Namespace - Name - Mixin selector - official - s- Leuh;s:Leuq;- intermediary - field_2501- Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;- named - parent- Lnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
 
- 
settings- Mappings:
- Namespace - Name - Mixin selector - official - t- Leuh;t:Lenr;- intermediary - field_2502- Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;- named - settings- Lnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;
 
- 
difficultyButton- Mappings:
- Namespace - Name - Mixin selector - official - u- Leuh;u:Lepp;- intermediary - field_2500- Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;- named - difficultyButton- Lnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
 
- 
lockDifficultyButton- Mappings:
- Namespace - Name - Mixin selector - official - v- Leuh;v:Lepw;- intermediary - field_2503- Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;- named - lockDifficultyButton- Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;
 
 
- 
- 
Constructor Details- 
OptionsScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leuh;<init>(Leuq;Lenr;)V- intermediary - <init>- Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V- named - <init>- Lnet/minecraft/client/gui/screen/option/OptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. This should call Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.
- 
refreshResourcePacks- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuh;a(Laki;)V- intermediary - method_49626- Lnet/minecraft/class_429;method_49626(Lnet/minecraft/class_3283;)V- named - refreshResourcePacks- Lnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)V
 
- 
createTopRightButton- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuh;l()Lesi;- intermediary - method_47628- Lnet/minecraft/class_429;method_47628()Lnet/minecraft/class_8021;- named - createTopRightButton- Lnet/minecraft/client/gui/screen/option/OptionsScreen;createTopRightButton()Lnet/minecraft/client/gui/widget/Widget;
 
- 
createDifficultyButtonWidgetpublic static CyclingButtonWidget<Difficulty> createDifficultyButtonWidget(int x, int y, String translationKey, MinecraftClient client) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leuh;a(IILjava/lang/String;Lenn;)Lepp;- intermediary - method_39486- Lnet/minecraft/class_429;method_39486(IILjava/lang/String;Lnet/minecraft/class_310;)Lnet/minecraft/class_5676;- named - createDifficultyButtonWidget- Lnet/minecraft/client/gui/screen/option/OptionsScreen;createDifficultyButtonWidget(IILjava/lang/String;Lnet/minecraft/client/MinecraftClient;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
 
- 
lockDifficultyprivate void lockDifficulty(boolean difficultyLocked) - Mappings:
- Namespace - Name - Mixin selector - official - c- Leuh;c(Z)V- intermediary - method_20374- Lnet/minecraft/class_429;method_20374(Z)V- named - lockDifficulty- Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficulty(Z)V
 
- 
removedpublic void removed()
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
createButton- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuh;a(Lsw;Ljava/util/function/Supplier;)Lepi;- intermediary - method_47625- Lnet/minecraft/class_429;method_47625(Lnet/minecraft/class_2561;Ljava/util/function/Supplier;)Lnet/minecraft/class_4185;- named - createButton- Lnet/minecraft/client/gui/screen/option/OptionsScreen;createButton(Lnet/minecraft/text/Text;Ljava/util/function/Supplier;)Lnet/minecraft/client/gui/widget/ButtonWidget;
 
 
-