public class NetHandlerLoginServer extends java.lang.Object implements INetHandlerLoginServer, ITickable
Modifier and Type | Field and Description |
---|---|
NetworkManager |
networkManager |
Constructor and Description |
---|
NetHandlerLoginServer(MinecraftServer serverIn,
NetworkManager networkManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(java.lang.String reason) |
java.lang.String |
getConnectionInfo() |
protected com.mojang.authlib.GameProfile |
getOfflineProfile(com.mojang.authlib.GameProfile original) |
void |
onDisconnect(ITextComponent reason) |
void |
processEncryptionResponse(CPacketEncryptionResponse packetIn) |
void |
processLoginStart(CPacketLoginStart packetIn) |
void |
tryAcceptPlayer() |
void |
update() |
public final NetworkManager networkManager
public NetHandlerLoginServer(MinecraftServer serverIn, NetworkManager networkManagerIn)
public void closeConnection(java.lang.String reason)
public void tryAcceptPlayer()
public void onDisconnect(ITextComponent reason)
onDisconnect
in interface INetHandler
public java.lang.String getConnectionInfo()
public void processLoginStart(CPacketLoginStart packetIn)
processLoginStart
in interface INetHandlerLoginServer
public void processEncryptionResponse(CPacketEncryptionResponse packetIn)
processEncryptionResponse
in interface INetHandlerLoginServer
protected com.mojang.authlib.GameProfile getOfflineProfile(com.mojang.authlib.GameProfile original)