Package net.minecraft.network.handshake
Class ServerHandshakeNetHandler
- java.lang.Object
-
- net.minecraft.network.handshake.ServerHandshakeNetHandler
-
- All Implemented Interfaces:
IHandshakeNetHandler
,INetHandler
public class ServerHandshakeNetHandler extends java.lang.Object implements IHandshakeNetHandler
-
-
Field Summary
Fields Modifier and Type Field Description private NetworkManager
connection
private static ITextComponent
IGNORE_STATUS_REASON
private MinecraftServer
server
-
Constructor Summary
Constructors Constructor Description ServerHandshakeNetHandler(MinecraftServer p_i45295_1_, NetworkManager p_i45295_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkManager
getConnection()
void
handleIntention(CHandshakePacket p_147383_1_)
void
onDisconnect(ITextComponent p_147231_1_)
-
-
-
Field Detail
-
IGNORE_STATUS_REASON
private static final ITextComponent IGNORE_STATUS_REASON
-
server
private final MinecraftServer server
-
connection
private final NetworkManager connection
-
-
Constructor Detail
-
ServerHandshakeNetHandler
public ServerHandshakeNetHandler(MinecraftServer p_i45295_1_, NetworkManager p_i45295_2_)
-
-
Method Detail
-
handleIntention
public void handleIntention(CHandshakePacket p_147383_1_)
- Specified by:
handleIntention
in interfaceIHandshakeNetHandler
-
onDisconnect
public void onDisconnect(ITextComponent p_147231_1_)
- Specified by:
onDisconnect
in interfaceINetHandler
-
getConnection
public NetworkManager getConnection()
- Specified by:
getConnection
in interfaceINetHandler
-
-