类 ServerboundPingRequestPacket
java.lang.Object
net.minecraft.network.protocol.ping.ServerboundPingRequestPacket
- 所有已实现的接口:
Packet<ServerPingPacketListener>
public class ServerboundPingRequestPacket
extends Object
implements Packet<ServerPingPacketListener>
-
字段概要
字段修饰符和类型字段说明static final StreamCodec
<io.netty.buffer.ByteBuf, ServerboundPingRequestPacket> private final long
-
构造器概要
构造器限定符构造器说明ServerboundPingRequestPacket
(long p_320277_) private
ServerboundPingRequestPacket
(io.netty.buffer.ByteBuf p_352359_) -
方法概要
修饰符和类型方法说明long
getTime()
void
handle
(ServerPingPacketListener p_320053_) type()
private void
write
(io.netty.buffer.ByteBuf p_352457_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
-
time
private final long time
-
-
构造器详细资料
-
ServerboundPingRequestPacket
public ServerboundPingRequestPacket(long p_320277_) -
ServerboundPingRequestPacket
private ServerboundPingRequestPacket(io.netty.buffer.ByteBuf p_352359_)
-
-
方法详细资料
-
write
private void write(io.netty.buffer.ByteBuf p_352457_) -
type
- 指定者:
type
在接口中Packet<ServerPingPacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ServerPingPacketListener>
-
getTime
public long getTime()
-