类 ConnectScreen

  • 所有已实现的接口:
    Drawable, Element, ParentElement, TickableElement

    @Environment(CLIENT)
    public class ConnectScreen
    extends Screen
    The connection screen is used to initiate a connection to a remote server. This is only used when connecting over LAN or to a remote dedicated server.
    Mappings:
    Namespace Name
    official dyg
    intermediary net/minecraft/class_412
    named net/minecraft/client/gui/screen/ConnectScreen
    • 字段详细资料

      • CONNECTOR_THREADS_COUNT

        private static final AtomicInteger CONNECTOR_THREADS_COUNT
        Mappings:
        Namespace Name Mixin selector
        official a Ldyg;a:Ljava/util/concurrent/atomic/AtomicInteger;
        intermediary field_2408 Lnet/minecraft/class_412;field_2408:Ljava/util/concurrent/atomic/AtomicInteger;
        named CONNECTOR_THREADS_COUNT Lnet/minecraft/client/gui/screen/ConnectScreen;CONNECTOR_THREADS_COUNT:Ljava/util/concurrent/atomic/AtomicInteger;
      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official b Ldyg;b:Lorg/apache/logging/log4j/Logger;
        intermediary field_2410 Lnet/minecraft/class_412;field_2410:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/client/gui/screen/ConnectScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
      • field_32238

        private static final long field_32238
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Ldyg;c:J
        intermediary field_32238 Lnet/minecraft/class_412;field_32238:J
        named field_32238 Lnet/minecraft/client/gui/screen/ConnectScreen;field_32238:J
      • connection

        private ClientConnection connection
        The client connection to the remote server. This is not used when connecting to the client's own integrated server.
        另请参阅:
        MinecraftClient.integratedServerConnection
        Mappings:
        Namespace Name Mixin selector
        official p Ldyg;p:Lnz;
        intermediary field_2411 Lnet/minecraft/class_412;field_2411:Lnet/minecraft/class_2535;
        named connection Lnet/minecraft/client/gui/screen/ConnectScreen;connection:Lnet/minecraft/network/ClientConnection;
      • connectingCancelled

        private boolean connectingCancelled
        Mappings:
        Namespace Name Mixin selector
        official q Ldyg;q:Z
        intermediary field_2409 Lnet/minecraft/class_412;field_2409:Z
        named connectingCancelled Lnet/minecraft/client/gui/screen/ConnectScreen;connectingCancelled:Z
      • parent

        private final Screen parent
        Mappings:
        Namespace Name Mixin selector
        official r Ldyg;r:Ldzg;
        intermediary field_2412 Lnet/minecraft/class_412;field_2412:Lnet/minecraft/class_437;
        named parent Lnet/minecraft/client/gui/screen/ConnectScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      • status

        private Text status
        Mappings:
        Namespace Name Mixin selector
        official s Ldyg;s:Lon;
        intermediary field_2413 Lnet/minecraft/class_412;field_2413:Lnet/minecraft/class_2561;
        named status Lnet/minecraft/client/gui/screen/ConnectScreen;status:Lnet/minecraft/text/Text;
      • narratorTimer

        private long narratorTimer
        Mappings:
        Namespace Name Mixin selector
        official t Ldyg;t:J
        intermediary field_19097 Lnet/minecraft/class_412;field_19097:J
        named narratorTimer Lnet/minecraft/client/gui/screen/ConnectScreen;narratorTimer:J
    • 构造器详细资料

      • ConnectScreen

        public ConnectScreen​(Screen parent,
                             MinecraftClient client,
                             ServerInfo entry)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldyg;<init>(Ldzg;Ldum;Leid;)V
        intermediary <init> Lnet/minecraft/class_412;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_310;Lnet/minecraft/class_642;)V
        named <init> Lnet/minecraft/client/gui/screen/ConnectScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/network/ServerInfo;)V
      • ConnectScreen

        public ConnectScreen​(Screen parent,
                             MinecraftClient client,
                             String address,
                             int port)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldyg;<init>(Ldzg;Ldum;Ljava/lang/String;I)V
        intermediary <init> Lnet/minecraft/class_412;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_310;Ljava/lang/String;I)V
        named <init> Lnet/minecraft/client/gui/screen/ConnectScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/MinecraftClient;Ljava/lang/String;I)V
    • 方法详细资料

      • connect

        private void connect​(String address,
                             int port)
        Mappings:
        Namespace Name Mixin selector
        official a Ldyg;a(Ljava/lang/String;I)V
        intermediary method_2130 Lnet/minecraft/class_412;method_2130(Ljava/lang/String;I)V
        named connect Lnet/minecraft/client/gui/screen/ConnectScreen;connect(Ljava/lang/String;I)V
      • setStatus

        private void setStatus​(Text status)
        Mappings:
        Namespace Name Mixin selector
        official a Ldyg;a(Lon;)V
        intermediary method_2131 Lnet/minecraft/class_412;method_2131(Lnet/minecraft/class_2561;)V
        named setStatus Lnet/minecraft/client/gui/screen/ConnectScreen;setStatus(Lnet/minecraft/text/Text;)V
      • tick

        public void tick()
        指定者:
        tick 在接口中 TickableElement
        覆盖:
        tick 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official d Ldwp;d()V
        intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
        named tick Lnet/minecraft/client/gui/screen/TickableElement;tick()V
      • shouldCloseOnEsc

        public boolean shouldCloseOnEsc()
        Checks whether this screen should be closed when the escape key is pressed.
        覆盖:
        shouldCloseOnEsc 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official az_ Ldzg;az_()Z
        intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
        named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
      • init

        protected void init()
        Called when a screen should be initialized.

        This method is called when this screen is opened or resized.

        覆盖:
        init 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • render

        public void render​(MatrixStack matrices,
                           int mouseX,
                           int mouseY,
                           float delta)
        指定者:
        render 在接口中 Drawable
        覆盖:
        render 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldws;a(Ldpi;IIF)V
        intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
        named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V