Class ServerboundPongPacket
java.lang.Object
net.minecraft.network.protocol.common.ServerboundPongPacket
- All Implemented Interfaces:
Packet<ServerCommonPacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ServerboundPongPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionServerboundPongPacket(int p_295752_) privateServerboundPongPacket(FriendlyByteBuf p_295215_) -
Method Summary
Modifier and TypeMethodDescriptionintgetId()voidhandle(ServerCommonPacketListener p_295714_) type()private voidwrite(FriendlyByteBuf p_295843_) 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
-
ServerboundPongPacket
public ServerboundPongPacket(int p_295752_) -
ServerboundPongPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ServerCommonPacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerCommonPacketListener>
-
getId
public int getId()
-