Class AddServerScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.AddServerScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/screen/multiplayer/AddServerScreen- intermediary - net/minecraft/class_422- official - fyy
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate TextFieldWidgetprivate final BooleanConsumerprivate static final Textprivate static final Textprivate final Screenprivate final ServerInfoprivate TextFieldWidgetFields inherited from class net.minecraft.client.gui.screen.Screenclient, 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.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidvoidclose()protected voidinit()Called when a screen should be initialized.voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidresize(MinecraftClient client, int width, int height) protected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.private voidMethods inherited from class net.minecraft.client.gui.screen.ScreenaddCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarratorMethods 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.ElementgetBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
ENTER_NAME_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - ENTER_NAME_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;- intermediary - field_26541- Lnet/minecraft/class_422;field_26541:Lnet/minecraft/class_2561;- official - a- Lfyy;a:Lxg;
 
- 
ENTER_IP_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - ENTER_IP_TEXT- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;ENTER_IP_TEXT:Lnet/minecraft/text/Text;- intermediary - field_26542- Lnet/minecraft/class_422;field_26542:Lnet/minecraft/class_2561;- official - b- Lfyy;b:Lxg;
 
- 
addButton- Mappings:
- Namespace - Name - Mixin selector - named - addButton- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;addButton:Lnet/minecraft/client/gui/widget/ButtonWidget;- intermediary - field_2472- Lnet/minecraft/class_422;field_2472:Lnet/minecraft/class_4185;- official - c- Lfyy;c:Lfty;
 
- 
callback- Mappings:
- Namespace - Name - Mixin selector - named - callback- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;- intermediary - field_19236- Lnet/minecraft/class_422;field_19236:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;- official - d- Lfyy;d:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
 
- 
server- Mappings:
- Namespace - Name - Mixin selector - named - server- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;server:Lnet/minecraft/client/network/ServerInfo;- intermediary - field_2469- Lnet/minecraft/class_422;field_2469:Lnet/minecraft/class_642;- official - s- Lfyy;s:Lgmd;
 
- 
addressField- Mappings:
- Namespace - Name - Mixin selector - named - addressField- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;addressField:Lnet/minecraft/client/gui/widget/TextFieldWidget;- intermediary - field_2474- Lnet/minecraft/class_422;field_2474:Lnet/minecraft/class_342;- official - u- Lfyy;u:Lfuh;
 
- 
serverNameField- Mappings:
- Namespace - Name - Mixin selector - named - serverNameField- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;serverNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;- intermediary - field_2471- Lnet/minecraft/class_422;field_2471:Lnet/minecraft/class_342;- official - v- Lfyy;v:Lfuh;
 
- 
parent- Mappings:
- Namespace - Name - Mixin selector - named - parent- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;- intermediary - field_21791- Lnet/minecraft/class_422;field_21791:Lnet/minecraft/class_437;- official - w- Lfyy;w:Lfzq;
 
 
- 
- 
Constructor Details- 
AddServerScreen- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/client/network/ServerInfo;)V- intermediary - <init>- Lnet/minecraft/class_422;<init>(Lnet/minecraft/class_437;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_642;)V- official - <init>- Lfyy;<init>(Lfzq;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lgmd;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. 
- 
setInitialFocusprotected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.- Overrides:
- setInitialFocusin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - named - setInitialFocus- Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V- intermediary - method_56131- Lnet/minecraft/class_437;method_56131()V- official - aC_- Lfzq;aC_()V
 
- 
resize
- 
addAndCloseprivate void addAndClose()- Mappings:
- Namespace - Name - Mixin selector - named - addAndClose- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;addAndClose()V- intermediary - method_2172- Lnet/minecraft/class_422;method_2172()V- official - m- Lfyy;m()V
 
- 
closepublic void close()
- 
updateAddButtonprivate void updateAddButton()- Mappings:
- Namespace - Name - Mixin selector - named - updateAddButton- Lnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;updateAddButton()V- intermediary - method_36223- Lnet/minecraft/class_422;method_36223()V- official - E- Lfyy;E()V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- official - a- Lfvb;a(Lftk;IIF)V
 
 
-