Class OnlineOptionsScreen
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.OnlineOptionsScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/option/OnlineOptionsScreenintermediary net/minecraft/class_6777official frf
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable SimpleOption<com.mojang.datafixers.util.Unit> private static final TextFields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
body, 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, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprivate SimpleOption<?>[]collectOptions(GameOptions gameOptions, MinecraftClient client) protected voidinit()Called when a screen should be initialized.Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
close, initBody, initFooter, initHeader, initTabNavigation, removedMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, 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, refreshNarrator, 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
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_49500Lnet/minecraft/class_6777;field_49500:Lnet/minecraft/class_2561;official aLfrf;a:Lwz;
-
difficulty
- Mappings:
Namespace Name Mixin selector named difficultyLnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;difficulty:Lnet/minecraft/client/option/SimpleOption;intermediary field_41344Lnet/minecraft/class_6777;field_41344:Lnet/minecraft/class_7172;official uLfrf;u:Lfgr;
-
-
Constructor Details
-
OnlineOptionsScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)Vintermediary <init>Lnet/minecraft/class_6777;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vofficial <init>Lfrf;<init>(Lfod;Lfgs;)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 aT_Lfod;aT_()V
-
collectOptions
- Mappings:
Namespace Name Mixin selector named collectOptionsLnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;collectOptions(Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/client/MinecraftClient;)[Lnet/minecraft/client/option/SimpleOption;intermediary method_60333Lnet/minecraft/class_6777;method_60333(Lnet/minecraft/class_315;Lnet/minecraft/class_310;)[Lnet/minecraft/class_7172;official aLfrf;a(Lfgs;Lfgo;)[Lfgr;
-
addOptions
protected void addOptions()- Specified by:
addOptionsin classGameOptionsScreen- Mappings:
Namespace Name Mixin selector named addOptionsLnet/minecraft/client/gui/screen/option/GameOptionsScreen;addOptions()Vintermediary method_60325Lnet/minecraft/class_4667;method_60325()Vofficial mLfrh;m()V
-