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/OptionsScreen
intermediary net/minecraft/class_429
official fra
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Text
private static final int
private static final Text
private static final Text
private @Nullable CyclingButtonWidget
<Difficulty> private static final Text
private final ThreePartsLayoutWidget
private @Nullable LockButtonWidget
private final Screen
private static final Text
private final GameOptions
private static final Text
private static final Text
private static final Tooltip
private static final Text
private static final Text
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private ButtonWidget
createButton
(Text message, Supplier<Screen> screenSupplier) static CyclingButtonWidget
<Difficulty> createDifficultyButtonWidget
(int x, int y, String translationKey, MinecraftClient client) private Widget
protected void
init()
Called when a screen should be initialized.protected void
private void
lockDifficulty
(boolean difficultyLocked) private void
refreshResourcePacks
(ResourcePackManager resourcePackManager) void
removed()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_49501
Lnet/minecraft/class_429;field_49501:Lnet/minecraft/class_2561;
official a
Lfra;a:Lwy;
-
SKIN_CUSTOMIZATION_TEXT
- Mappings:
Namespace Name Mixin selector named SKIN_CUSTOMIZATION_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;SKIN_CUSTOMIZATION_TEXT:Lnet/minecraft/text/Text;
intermediary field_41345
Lnet/minecraft/class_429;field_41345:Lnet/minecraft/class_2561;
official b
Lfra;b:Lwy;
-
SOUNDS_TEXT
- Mappings:
Namespace Name Mixin selector named SOUNDS_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;SOUNDS_TEXT:Lnet/minecraft/text/Text;
intermediary field_41346
Lnet/minecraft/class_429;field_41346:Lnet/minecraft/class_2561;
official c
Lfra;c:Lwy;
-
VIDEO_TEXT
- Mappings:
Namespace Name Mixin selector named VIDEO_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;VIDEO_TEXT:Lnet/minecraft/text/Text;
intermediary field_41347
Lnet/minecraft/class_429;field_41347:Lnet/minecraft/class_2561;
official q
Lfra;q:Lwy;
-
CONTROL_TEXT
- Mappings:
Namespace Name Mixin selector named CONTROL_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;CONTROL_TEXT:Lnet/minecraft/text/Text;
intermediary field_41348
Lnet/minecraft/class_429;field_41348:Lnet/minecraft/class_2561;
official r
Lfra;r:Lwy;
-
LANGUAGE_TEXT
- Mappings:
Namespace Name Mixin selector named LANGUAGE_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;LANGUAGE_TEXT:Lnet/minecraft/text/Text;
intermediary field_41349
Lnet/minecraft/class_429;field_41349:Lnet/minecraft/class_2561;
official s
Lfra;s:Lwy;
-
CHAT_TEXT
- Mappings:
Namespace Name Mixin selector named CHAT_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;CHAT_TEXT:Lnet/minecraft/text/Text;
intermediary field_41350
Lnet/minecraft/class_429;field_41350:Lnet/minecraft/class_2561;
official u
Lfra;u:Lwy;
-
RESOURCE_PACK_TEXT
- Mappings:
Namespace Name Mixin selector named RESOURCE_PACK_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;RESOURCE_PACK_TEXT:Lnet/minecraft/text/Text;
intermediary field_41351
Lnet/minecraft/class_429;field_41351:Lnet/minecraft/class_2561;
official v
Lfra;v:Lwy;
-
ACCESSIBILITY_TEXT
- Mappings:
Namespace Name Mixin selector named ACCESSIBILITY_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;ACCESSIBILITY_TEXT:Lnet/minecraft/text/Text;
intermediary field_41352
Lnet/minecraft/class_429;field_41352:Lnet/minecraft/class_2561;
official w
Lfra;w:Lwy;
-
TELEMETRY_TEXT
- Mappings:
Namespace Name Mixin selector named TELEMETRY_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_TEXT:Lnet/minecraft/text/Text;
intermediary field_41353
Lnet/minecraft/class_429;field_41353:Lnet/minecraft/class_2561;
official x
Lfra;x:Lwy;
-
TELEMETRY_DISABLED_TOOLTIP
- Mappings:
Namespace Name Mixin selector named TELEMETRY_DISABLED_TOOLTIP
Lnet/minecraft/client/gui/screen/option/OptionsScreen;TELEMETRY_DISABLED_TOOLTIP:Lnet/minecraft/client/gui/tooltip/Tooltip;
intermediary field_50221
Lnet/minecraft/class_429;field_50221:Lnet/minecraft/class_7919;
official y
Lfra;y:Lfjr;
-
CREDITS_AND_ATTRIBUTION_TEXT
- Mappings:
Namespace Name Mixin selector named CREDITS_AND_ATTRIBUTION_TEXT
Lnet/minecraft/client/gui/screen/option/OptionsScreen;CREDITS_AND_ATTRIBUTION_TEXT:Lnet/minecraft/text/Text;
intermediary field_43145
Lnet/minecraft/class_429;field_43145:Lnet/minecraft/class_2561;
official z
Lfra;z:Lwy;
-
COLUMNS
private static final int COLUMNS- See Also:
- Mappings:
Namespace Name Mixin selector named COLUMNS
Lnet/minecraft/client/gui/screen/option/OptionsScreen;COLUMNS:I
intermediary field_41354
Lnet/minecraft/class_429;field_41354:I
official A
Lfra;A:I
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/gui/screen/option/OptionsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_49502
Lnet/minecraft/class_429;field_49502:Lnet/minecraft/class_8132;
official B
Lfra;B:Lflt;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_2501
Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;
official C
Lfra;C:Lfnx;
-
settings
- Mappings:
Namespace Name Mixin selector named settings
Lnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;
intermediary field_2502
Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;
official D
Lfra;D:Lfgm;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector named difficultyButton
Lnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary field_2500
Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;
official E
Lfra;E:Lfin;
-
lockDifficultyButton
- Mappings:
Namespace Name Mixin selector named lockDifficultyButton
Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;
intermediary field_2503
Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;
official F
Lfra;F:Lfiw;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
official <init>
Lfra;<init>(Lfnx;Lfgm;)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.
This should call
Screen.setInitialFocus()
to set the element that is initially focused. -
close
public void close() -
refreshResourcePacks
- Mappings:
Namespace Name Mixin selector named refreshResourcePacks
Lnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)V
intermediary method_49626
Lnet/minecraft/class_429;method_49626(Lnet/minecraft/class_3283;)V
official a
Lfra;a(Lato;)V
-
createTopRightButton
- Mappings:
Namespace Name Mixin selector named createTopRightButton
Lnet/minecraft/client/gui/screen/option/OptionsScreen;createTopRightButton()Lnet/minecraft/client/gui/widget/Widget;
intermediary method_47628
Lnet/minecraft/class_429;method_47628()Lnet/minecraft/class_8021;
official m
Lfra;m()Lflv;
-
createDifficultyButtonWidget
public static CyclingButtonWidget<Difficulty> createDifficultyButtonWidget(int x, int y, String translationKey, MinecraftClient client) - Mappings:
Namespace Name Mixin selector named createDifficultyButtonWidget
Lnet/minecraft/client/gui/screen/option/OptionsScreen;createDifficultyButtonWidget(IILjava/lang/String;Lnet/minecraft/client/MinecraftClient;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary method_39486
Lnet/minecraft/class_429;method_39486(IILjava/lang/String;Lnet/minecraft/class_310;)Lnet/minecraft/class_5676;
official a
Lfra;a(IILjava/lang/String;Lfgi;)Lfin;
-
lockDifficulty
private void lockDifficulty(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector named lockDifficulty
Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficulty(Z)V
intermediary method_20374
Lnet/minecraft/class_429;method_20374(Z)V
official c
Lfra;c(Z)V
-
removed
public void removed() -
createButton
- Mappings:
Namespace Name Mixin selector named createButton
Lnet/minecraft/client/gui/screen/option/OptionsScreen;createButton(Lnet/minecraft/text/Text;Ljava/util/function/Supplier;)Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary method_47625
Lnet/minecraft/class_429;method_47625(Lnet/minecraft/class_2561;Ljava/util/function/Supplier;)Lnet/minecraft/class_4185;
official a
Lfra;a(Lwy;Ljava/util/function/Supplier;)Lfig;
-