Class CHandshakePacket
java.lang.Object
net.minecraft.network.handshake.client.CHandshakePacket
- All Implemented Interfaces:
IPacket<IHandshakeNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private ProtocolType
private int
private int
-
Constructor Summary
ConstructorDescriptionCHandshakePacket
(String p_i47613_1_, int p_i47613_2_, ProtocolType p_i47613_3_) -
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(IHandshakeNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
protocolVersion
private int protocolVersion -
hostName
-
port
private int port -
intention
-
fmlVersion
-
-
Constructor Details
-
CHandshakePacket
public CHandshakePacket() -
CHandshakePacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IHandshakeNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IHandshakeNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IHandshakeNetHandler>
-
getIntention
-
getProtocolVersion
public int getProtocolVersion() -
getFMLVersion
-