public class ClientHandshakeNetHandler extends java.lang.Object implements IHandshakeNetHandler
Modifier and Type | Field and Description |
---|---|
private NetworkManager |
networkManager |
private MinecraftServer |
server |
Constructor and Description |
---|
ClientHandshakeNetHandler(MinecraftServer mcServerIn,
NetworkManager networkManagerIn) |
Modifier and Type | Method and Description |
---|---|
NetworkManager |
getNetworkManager() |
void |
onDisconnect(ITextComponent reason) |
void |
processHandshake(CHandshakePacket packetIn) |
private final MinecraftServer server
private final NetworkManager networkManager
public ClientHandshakeNetHandler(MinecraftServer mcServerIn, NetworkManager networkManagerIn)
public void processHandshake(CHandshakePacket packetIn)
processHandshake
in interface IHandshakeNetHandler
public void onDisconnect(ITextComponent reason)
onDisconnect
in interface INetHandler
public NetworkManager getNetworkManager()
getNetworkManager
in interface INetHandler