Class CHandshakePacket
java.lang.Object
net.minecraft.network.handshake.client.CHandshakePacket
- All Implemented Interfaces:
IPacket<IHandshakeNetHandler>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate ProtocolTypeprivate intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionCHandshakePacket(String p_i47613_1_, int p_i47613_2_, ProtocolType p_i47613_3_) -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(IHandshakeNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
readin interfaceIPacket<IHandshakeNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IHandshakeNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IHandshakeNetHandler>
-
getIntention
-
getProtocolVersion
public int getProtocolVersion() -
getFMLVersion
-