Package net.minecraft.client.gui.screen
Class AddServerScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.AddServerScreen
- All Implemented Interfaces:
class_4122,class_4123,IdentifibleBooleanConsumer
- Mappings:
Namespace Name official cjrintermediary net/minecraft/class_368named net/minecraft/client/gui/screen/AddServerScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TextFieldWidgetprivate ButtonWidgetprivate final Screenprivate ButtonWidgetprivate final ServerInfoprivate TextFieldWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, field_20307, field_20308, height, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()booleankeyPressed(int int2, int int3, int int4) private voidmethod_18583(int int2, String string) private voidvoidvoidremoved()voidrender(int mouseX, int mouseY, float tickDelta) voidresize(MinecraftClient client, int width, int height) voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
confirmResult, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, method_13411, method_14502, method_18423, method_18605, method_18607, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldPauseGameMethods inherited from class net.minecraft.class_4121
method_18421, method_18424, method_18425, method_18426, mouseClicked, mouseDragged, mouseReleasedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
method_18427, method_18428Methods inherited from interface net.minecraft.class_4123
charTyped, keyReleased, mouseScrolled
-
Field Details
-
field_20268
- Mappings:
Namespace Name Mixin selector official aLcjr;a:Lcgu;intermediary field_20268Lnet/minecraft/class_368;field_20268:Lnet/minecraft/class_356;named field_20268Lnet/minecraft/client/gui/screen/AddServerScreen;field_20268:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
parent
- Mappings:
Namespace Name Mixin selector official fLcjr;f:Lckd;intermediary field_1134Lnet/minecraft/class_368;field_1134:Lnet/minecraft/class_388;named parentLnet/minecraft/client/gui/screen/AddServerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
server
- Mappings:
Namespace Name Mixin selector official gLcjr;g:Lcrj;intermediary field_1137Lnet/minecraft/class_368;field_1137:Lnet/minecraft/class_485;named serverLnet/minecraft/client/gui/screen/AddServerScreen;server:Lnet/minecraft/client/network/ServerInfo;
-
addressField
- Mappings:
Namespace Name Mixin selector official hLcjr;h:Lcgy;intermediary field_1135Lnet/minecraft/class_368;field_1135:Lnet/minecraft/class_367;named addressFieldLnet/minecraft/client/gui/screen/AddServerScreen;addressField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
serverNameField
- Mappings:
Namespace Name Mixin selector official iLcjr;i:Lcgy;intermediary field_1136Lnet/minecraft/class_368;field_1136:Lnet/minecraft/class_367;named serverNameFieldLnet/minecraft/client/gui/screen/AddServerScreen;serverNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
resourcePackOptionButton
- Mappings:
Namespace Name Mixin selector official sLcjr;s:Lcgu;intermediary field_7762Lnet/minecraft/class_368;field_7762:Lnet/minecraft/class_356;named resourcePackOptionButtonLnet/minecraft/client/gui/screen/AddServerScreen;resourcePackOptionButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
field_20269
- Mappings:
Namespace Name Mixin selector official tLcjr;t:Ljava/util/function/Predicate;intermediary field_20269Lnet/minecraft/class_368;field_20269:Ljava/util/function/Predicate;named field_20269Lnet/minecraft/client/gui/screen/AddServerScreen;field_20269:Ljava/util/function/Predicate;
-
-
Constructor Details
-
AddServerScreen
- Mappings:
Namespace Name Mixin selector official <init>Lcjr;<init>(Lckd;Lcrj;)Vintermediary <init>Lnet/minecraft/class_368;<init>(Lnet/minecraft/class_388;Lnet/minecraft/class_485;)Vnamed <init>Lnet/minecraft/client/gui/screen/AddServerScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/network/ServerInfo;)V
-
-
Method Details
-
tick
public void tick() -
getFocused
- Specified by:
getFocusedin interfaceclass_4123- Overrides:
getFocusedin classclass_4121- Mappings:
Namespace Name Mixin selector official getFocusedLchs;getFocused()Lchr;intermediary getFocusedLnet/minecraft/class_4123;getFocused()Lnet/minecraft/class_4122;named getFocusedLnet/minecraft/class_4123;getFocused()Lnet/minecraft/class_4122;
-
init
protected void init() -
resize
-
method_18583
- Mappings:
Namespace Name Mixin selector official aLcjr;a(ILjava/lang/String;)Vintermediary method_18583Lnet/minecraft/class_368;method_18583(ILjava/lang/String;)Vnamed method_18583Lnet/minecraft/client/gui/screen/AddServerScreen;method_18583(ILjava/lang/String;)V
-
removed
public void removed() -
method_18591
private void method_18591()- Mappings:
Namespace Name Mixin selector official hLcjr;h()Vintermediary method_18591Lnet/minecraft/class_368;method_18591()Vnamed method_18591Lnet/minecraft/client/gui/screen/AddServerScreen;method_18591()V
-
method_18608
public void method_18608()- Overrides:
method_18608in classScreen- Mappings:
Namespace Name Mixin selector official gLckd;g()Vintermediary method_18608Lnet/minecraft/class_388;method_18608()Vnamed method_18608Lnet/minecraft/client/gui/screen/Screen;method_18608()V
-
keyPressed
public boolean keyPressed(int int2, int int3, int int4) - Specified by:
keyPressedin interfaceclass_4122- Specified by:
keyPressedin interfaceclass_4123- Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official keyPressedLchr;keyPressed(III)Zintermediary keyPressedLnet/minecraft/class_4122;keyPressed(III)Znamed keyPressedLnet/minecraft/class_4122;keyPressed(III)Z
-
render
public void render(int mouseX, int mouseY, float tickDelta)
-