类 ClientIntentionPacket
java.lang.Object
net.minecraft.network.protocol.handshake.ClientIntentionPacket
- 所有已实现的接口:
Packet<ServerHandshakePacketListener>
-
字段概要
字段修饰符和类型字段说明private String
private final String
private final ConnectionProtocol
private static final int
private final int
private final int
-
构造器概要
构造器构造器说明ClientIntentionPacket
(String pHostName, int pPort, ConnectionProtocol pIntention) ClientIntentionPacket
(FriendlyByteBuf pBuffer) -
方法概要
修饰符和类型方法说明int
getPort()
int
void
handle
(ServerHandshakePacketListener pHandler) void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
MAX_HOST_LENGTH
private static final int MAX_HOST_LENGTH- 另请参阅:
-
protocolVersion
private final int protocolVersion -
hostName
-
port
private final int port -
intention
-
fmlVersion
-
-
构造器详细资料
-
ClientIntentionPacket
-
ClientIntentionPacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ServerHandshakePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ServerHandshakePacketListener>
-
getIntention
-
getProtocolVersion
public int getProtocolVersion() -
getHostName
-
getPort
public int getPort() -
getFMLVersion
-