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/SimpleOptionsScreenintermediary net/minecraft/class_5500official fnh
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OptionListWidgetprivate @Nullable ClickableWidgetprotected final SimpleOption<?>[]Fields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, layout, parentFields 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, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionSimpleOptionsScreen(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected voidvoidMethods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
close, initFooter, initHeader, removedMethods 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, wrapScreenErrorMethods 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
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
-
options
- Mappings:
Namespace Name Mixin selector named optionsLnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;options:[Lnet/minecraft/client/option/SimpleOption;intermediary field_26679Lnet/minecraft/class_5500;field_26679:[Lnet/minecraft/class_7172;official rLfnh;r:[Lffk;
-
narratorButton
- Mappings:
Namespace Name Mixin selector named narratorButtonLnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;narratorButton:Lnet/minecraft/client/gui/widget/ClickableWidget;intermediary field_26680Lnet/minecraft/class_5500;field_26680:Lnet/minecraft/class_339;official aLfnh;a:Lfhe;
-
buttonList
- Mappings:
Namespace Name Mixin selector named buttonListLnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;buttonList:Lnet/minecraft/client/gui/widget/OptionListWidget;intermediary field_26681Lnet/minecraft/class_5500;field_26681:Lnet/minecraft/class_353;official sLfnh;s:Lfid;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_5500;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_2561;[Lnet/minecraft/class_7172;)Vofficial <init>Lfnh;<init>(Lfnf;Lffl;Lxp;[Lffk;)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:
initin classGameOptionsScreen- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aM_Lfnf;aM_()V
-
updateNarratorButtonText
public void updateNarratorButtonText()- Mappings:
Namespace Name Mixin selector named updateNarratorButtonTextLnet/minecraft/client/gui/screen/option/SimpleOptionsScreen;updateNarratorButtonText()Vintermediary method_31050Lnet/minecraft/class_5500;method_31050()Vofficial ELfnh;E()V
-