Class ClientboundPingPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundPingPacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ClientboundPingPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundPingPacket(int p_294778_) privateClientboundPingPacket(FriendlyByteBuf p_294565_) -
Method Summary
Modifier and TypeMethodDescriptionintgetId()voidhandle(ClientCommonPacketListener p_295189_) type()private voidwrite(FriendlyByteBuf p_295570_) 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
id
private final int id
-
-
Constructor Details
-
ClientboundPingPacket
public ClientboundPingPacket(int p_294778_) -
ClientboundPingPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientCommonPacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientCommonPacketListener>
-
getId
public int getId()
-