2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_3248 net/minecraft/server/network/ServerLoginNetworkHandler
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT The server login network handler.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>It listens to packets on the netty event loop and is ticked on the
|
|
|
|
COMMENT server thread simultaneously.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implSpec The vanilla implementation is created by a handshake network
|
2021-08-07 06:06:14 -04:00
|
|
|
COMMENT handler. It first receives a hello packet from the client. If it is in
|
|
|
|
COMMENT {@linkplain MinecraftServer#isOnlineMode() online mode}, it goes through
|
|
|
|
COMMENT an additional authentication process. Then it optionally sends a network
|
|
|
|
COMMENT compression packet. Finally, when it can accept the player (no player
|
|
|
|
COMMENT UUID conflicts), it will accept the player by sending a login success
|
|
|
|
COMMENT packet and then transitions the connection's packet listener to a {@link
|
|
|
|
COMMENT ServerPlayNetworkHandler}.
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_14156 loginTicks I
|
2021-03-27 10:26:40 -04:00
|
|
|
FIELD field_14157 NEXT_AUTHENTICATOR_THREAD_ID Ljava/util/concurrent/atomic/AtomicInteger;
|
2020-02-09 09:31:14 -05:00
|
|
|
FIELD field_14158 connection Lnet/minecraft/class_2535;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_14162 server Lnet/minecraft/server/MinecraftServer;
|
|
|
|
FIELD field_14163 state Lnet/minecraft/class_3248$class_3249;
|
2020-03-08 18:14:25 -04:00
|
|
|
FIELD field_14165 serverId Ljava/lang/String;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_14166 LOGGER Lorg/slf4j/Logger;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_14167 nonce [B
|
2021-05-25 23:35:43 -04:00
|
|
|
FIELD field_29779 TIMEOUT_TICKS I
|
2023-08-04 07:01:01 -04:00
|
|
|
FIELD field_45027 UNEXPECTED_QUERY_RESPONSE_TEXT Lnet/minecraft/class_2561;
|
|
|
|
FIELD field_45028 profileName Ljava/lang/String;
|
|
|
|
FIELD field_45029 profile Lcom/mojang/authlib/GameProfile;
|
2020-02-09 09:31:14 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V
|
2022-10-23 11:18:41 -04:00
|
|
|
ARG 1 server
|
2020-02-09 09:31:14 -05:00
|
|
|
ARG 2 connection
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_14380 disconnect (Lnet/minecraft/class_2561;)V
|
2018-12-07 15:00:43 -05:00
|
|
|
ARG 1 reason
|
2019-06-28 18:43:16 -04:00
|
|
|
METHOD method_14383 getConnectionInfo ()Ljava/lang/String;
|
2023-08-04 07:01:01 -04:00
|
|
|
METHOD method_52416 hasPlayerWithId (Lcom/mojang/authlib/GameProfile;)Z
|
|
|
|
ARG 1 profile
|
|
|
|
METHOD method_52417 startVerify (Lcom/mojang/authlib/GameProfile;)V
|
|
|
|
ARG 1 profile
|
|
|
|
METHOD method_52419 tickVerify (Lcom/mojang/authlib/GameProfile;)V
|
|
|
|
ARG 1 profile
|
|
|
|
METHOD method_52420 sendSuccessPacket (Lcom/mojang/authlib/GameProfile;)V
|
|
|
|
ARG 1 profile
|
2020-02-09 09:31:14 -05:00
|
|
|
CLASS 1
|
|
|
|
METHOD method_14386 getClientAddress ()Ljava/net/InetAddress;
|
2019-12-02 08:55:18 -05:00
|
|
|
CLASS class_3249 State
|