Class SimpleOptionsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.GameOptionsScreen
net.minecraft.client.gui.screen.option.SimpleOptionsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Direct Known Subclasses:
AccessibilityOptionsScreen
,ChatOptionsScreen
,FontOptionsScreen
,OnlineOptionsScreen
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/option/SimpleOptionsScreen
intermediary net/minecraft/class_5500
official fng
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprotected OptionListWidget
private @Nullable ClickableWidget
protected final SimpleOption<?>[]
Fields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, layout, parent
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
ConstructorDescriptionSimpleOptionsScreen
(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
Called when a screen should be initialized.protected void
void
Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
close, initFooter, initHeader, 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, getPanoramaTickDelta, 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
-
options
- Mappings:
Namespace Name Mixin selector named options
Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;options:[Lnet/minecraft/client/option/SimpleOption;
intermediary field_26679
Lnet/minecraft/class_5500;field_26679:[Lnet/minecraft/class_7172;
official r
Lfng;r:[Lffj;
-
narratorButton
- Mappings:
Namespace Name Mixin selector named narratorButton
Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;narratorButton:Lnet/minecraft/client/gui/widget/ClickableWidget;
intermediary field_26680
Lnet/minecraft/class_5500;field_26680:Lnet/minecraft/class_339;
official a
Lfng;a:Lfhd;
-
buttonList
- Mappings:
Namespace Name Mixin selector named buttonList
Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;buttonList:Lnet/minecraft/client/gui/widget/OptionListWidget;
intermediary field_26681
Lnet/minecraft/class_5500;field_26681:Lnet/minecraft/class_353;
official s
Lfng;s:Lfic;
-
-
Constructor Details
-
SimpleOptionsScreen
public SimpleOptionsScreen(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/text/Text;[Lnet/minecraft/client/option/SimpleOption;)V
intermediary <init>
Lnet/minecraft/class_5500;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_2561;[Lnet/minecraft/class_7172;)V
official <init>
Lfng;<init>(Lfne;Lffk;Lxp;[Lffj;)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.- Overrides:
init
in classGameOptionsScreen
- Mappings:
Namespace Name Mixin selector named init
Lnet/minecraft/client/gui/screen/Screen;init()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
official aM_
Lfne;aM_()V
-
updateNarratorButtonText
public void updateNarratorButtonText()- Mappings:
Namespace Name Mixin selector named updateNarratorButtonText
Lnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;updateNarratorButtonText()V
intermediary method_31050
Lnet/minecraft/class_5500;method_31050()V
official E
Lfng;E()V
-