Class ServerboundPongPacket
java.lang.Object
net.minecraft.network.protocol.common.ServerboundPongPacket
- All Implemented Interfaces:
Packet<ServerCommonPacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final StreamCodec
<FriendlyByteBuf, ServerboundPongPacket> -
Constructor Summary
ModifierConstructorDescriptionServerboundPongPacket
(int p_300898_) private
ServerboundPongPacket
(FriendlyByteBuf p_297786_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
void
handle
(ServerCommonPacketListener p_298626_) type()
private void
write
(FriendlyByteBuf p_299986_) 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.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
id
private final int id
-
-
Constructor Details
-
ServerboundPongPacket
public ServerboundPongPacket(int p_300898_) -
ServerboundPongPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ServerCommonPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerCommonPacketListener>
-
getId
public int getId()
-