类 ServerLoginPacketListenerImpl
java.lang.Object
net.minecraft.server.network.ServerLoginPacketListenerImpl
- 所有已实现的接口:
PacketListener
,ServerCookiePacketListener
,ServerPacketListener
,ServerLoginPacketListener
,ServerboundPacketListener
,TickablePacketListener
public class ServerLoginPacketListenerImpl
extends Object
implements ServerLoginPacketListener, TickablePacketListener
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private com.mojang.authlib.GameProfile
private final byte[]
(专用程序包) final Connection
(专用程序包) static final org.slf4j.Logger
private static final int
(专用程序包) String
(专用程序包) final MinecraftServer
private final String
private int
private final boolean
private static final AtomicInteger
-
构造器概要
构造器构造器说明ServerLoginPacketListenerImpl
(MinecraftServer p_10027_, Connection p_10028_, boolean p_320815_) -
方法概要
修饰符和类型方法说明void
disconnect
(Component p_10054_) void
fillListenerSpecificCrashDetails
(CrashReport p_350283_, CrashReportCategory p_314941_) private void
finishLoginAndWaitForClient
(com.mojang.authlib.GameProfile p_295520_) void
void
void
handleHello
(ServerboundHelloPacket p_10047_) void
handleKey
(ServerboundKeyPacket p_10049_) void
boolean
private boolean
isPlayerAlreadyInWorld
(com.mojang.authlib.GameProfile p_294314_) void
onDisconnect
(DisconnectionDetails p_350676_) (专用程序包) void
startClientVerification
(com.mojang.authlib.GameProfile p_295643_) void
tick()
private void
verifyLoginAndFinishConnectionSetup
(com.mojang.authlib.GameProfile p_294502_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.PacketListener
createDisconnectionInfo, fillCrashReport, shouldHandleMessage
从接口继承的方法 net.minecraft.network.ServerboundPacketListener
flow
从接口继承的方法 net.minecraft.network.protocol.login.ServerLoginPacketListener
protocol
从接口继承的方法 net.minecraft.network.protocol.game.ServerPacketListener
onPacketError
-
字段详细资料
-
UNIQUE_THREAD_ID
-
LOGGER
static final org.slf4j.Logger LOGGER -
MAX_TICKS_BEFORE_LOGIN
private static final int MAX_TICKS_BEFORE_LOGIN- 另请参阅:
-
challenge
private final byte[] challenge -
server
-
connection
-
state
-
tick
private int tick -
requestedUsername
-
authenticatedProfile
@Nullable private com.mojang.authlib.GameProfile authenticatedProfile -
serverId
- 另请参阅:
-
transferred
private final boolean transferred
-
-
构造器详细资料
-
ServerLoginPacketListenerImpl
public ServerLoginPacketListenerImpl(MinecraftServer p_10027_, Connection p_10028_, boolean p_320815_)
-
-
方法详细资料
-
tick
public void tick()- 指定者:
tick
在接口中TickablePacketListener
-
isAcceptingMessages
public boolean isAcceptingMessages()- 指定者:
isAcceptingMessages
在接口中PacketListener
-
disconnect
-
isPlayerAlreadyInWorld
private boolean isPlayerAlreadyInWorld(com.mojang.authlib.GameProfile p_294314_) -
onDisconnect
- 指定者:
onDisconnect
在接口中PacketListener
-
getUserName
-
handleHello
- 指定者:
handleHello
在接口中ServerLoginPacketListener
-
startClientVerification
void startClientVerification(com.mojang.authlib.GameProfile p_295643_) -
verifyLoginAndFinishConnectionSetup
private void verifyLoginAndFinishConnectionSetup(com.mojang.authlib.GameProfile p_294502_) -
finishLoginAndWaitForClient
private void finishLoginAndWaitForClient(com.mojang.authlib.GameProfile p_295520_) -
handleKey
- 指定者:
handleKey
在接口中ServerLoginPacketListener
-
handleCustomQueryPacket
-
handleLoginAcknowledgement
-
fillListenerSpecificCrashDetails
-
handleCookieResponse
-