Class ClientIntentionPacket
java.lang.Object
net.minecraft.network.protocol.handshake.ClientIntentionPacket
- All Implemented Interfaces:
 Packet<ServerHandshakePacketListener>
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate final Stringprivate final ConnectionProtocolprivate static final intprivate final intprivate final int - 
Constructor Summary
ConstructorsConstructorDescriptionClientIntentionPacket(String p_134726_, int p_134727_, ConnectionProtocol p_134728_) ClientIntentionPacket(FriendlyByteBuf p_179801_)  - 
Method Summary
Modifier and TypeMethodDescriptionintgetPort()intvoidhandle(ServerHandshakePacketListener p_134734_) voidwrite(FriendlyByteBuf p_134737_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable 
- 
Field Details
- 
MAX_HOST_LENGTH
private static final int MAX_HOST_LENGTH- See Also:
 
 - 
protocolVersion
private final int protocolVersion - 
hostName
 - 
port
private final int port - 
intention
 - 
fmlVersion
 
 - 
 - 
Constructor Details
- 
ClientIntentionPacket
 - 
ClientIntentionPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ServerHandshakePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ServerHandshakePacketListener>
 - 
getIntention
 - 
getProtocolVersion
public int getProtocolVersion() - 
getHostName
 - 
getPort
public int getPort() - 
getFMLVersion
 
 -