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 official fehintermediary net/minecraft/class_422named net/minecraft/client/gui/screen/multiplayer/AddServerScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier 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.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclose()protected voidinit()Called when a screen should be initialized.protected voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidresize(MinecraftClient client, int width, int height) private voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, 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, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official aLfeh;a:Lvq;intermediary field_26541Lnet/minecraft/class_422;field_26541:Lnet/minecraft/class_2561;named ENTER_NAME_TEXTLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
ENTER_IP_TEXT
- Mappings:
Namespace Name Mixin selector official bLfeh;b:Lvq;intermediary field_26542Lnet/minecraft/class_422;field_26542:Lnet/minecraft/class_2561;named ENTER_IP_TEXTLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;ENTER_IP_TEXT:Lnet/minecraft/text/Text;
-
addButton
- Mappings:
Namespace Name Mixin selector official cLfeh;c:Lezh;intermediary field_2472Lnet/minecraft/class_422;field_2472:Lnet/minecraft/class_4185;named addButtonLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;addButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
callback
- Mappings:
Namespace Name Mixin selector official kLfeh;k:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_19236Lnet/minecraft/class_422;field_19236:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named callbackLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
server
- Mappings:
Namespace Name Mixin selector official lLfeh;l:Lfqi;intermediary field_2469Lnet/minecraft/class_422;field_2469:Lnet/minecraft/class_642;named serverLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;server:Lnet/minecraft/client/network/ServerInfo;
-
addressField
- Mappings:
Namespace Name Mixin selector official mLfeh;m:Lezq;intermediary field_2474Lnet/minecraft/class_422;field_2474:Lnet/minecraft/class_342;named addressFieldLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;addressField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
serverNameField
- Mappings:
Namespace Name Mixin selector official nLfeh;n:Lezq;intermediary field_2471Lnet/minecraft/class_422;field_2471:Lnet/minecraft/class_342;named serverNameFieldLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;serverNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
parent
- Mappings:
Namespace Name Mixin selector official oLfeh;o:Lffe;intermediary field_21791Lnet/minecraft/class_422;field_21791:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
-
Constructor Details
-
AddServerScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfeh;<init>(Lffe;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lfqi;)Vintermediary <init>Lnet/minecraft/class_422;<init>(Lnet/minecraft/class_437;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_642;)Vnamed <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
-
-
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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
method_56131
protected void method_56131()- Overrides:
method_56131in classScreen- Mappings:
Namespace Name Mixin selector official aH_Lffe;aH_()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vnamed method_56131Lnet/minecraft/client/gui/screen/Screen;method_56131()V
-
resize
-
addAndClose
private void addAndClose()- Mappings:
Namespace Name Mixin selector official oLfeh;o()Vintermediary method_2172Lnet/minecraft/class_422;method_2172()Vnamed addAndCloseLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;addAndClose()V
-
close
public void close() -
updateAddButton
private void updateAddButton()- Mappings:
Namespace Name Mixin selector official ELfeh;E()Vintermediary method_36223Lnet/minecraft/class_422;method_36223()Vnamed updateAddButtonLnet/minecraft/client/gui/screen/multiplayer/AddServerScreen;updateAddButton()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLfak;a(Leyu;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-