Class CommonPongC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.common.CommonPongC2SPacket
- All Implemented Interfaces:
Packet<ServerCommonPacketListener>
This is a packet that is sent by the client during tick after receiving a
play ping packet from the server, passing the
parameter
back to the
server.- See Also:
- Mappings:
Namespace Name official zw
intermediary net/minecraft/class_6374
named net/minecraft/network/packet/c2s/common/CommonPongC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, CommonPongC2SPacket> private final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerCommonPacketListener serverCommonPacketListener) int
private void
write
(PacketByteBuf buf) 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.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lzw;a:Lys;
intermediary field_48648
Lnet/minecraft/class_6374;field_48648:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
parameter
private final int parameter- Mappings:
Namespace Name Mixin selector official b
Lzw;b:I
intermediary field_33752
Lnet/minecraft/class_6374;field_33752:I
named parameter
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;parameter:I
-
-
Constructor Details
-
CommonPongC2SPacket
public CommonPongC2SPacket(int parameter) - Mappings:
Namespace Name Mixin selector official <init>
Lzw;<init>(I)V
intermediary <init>
Lnet/minecraft/class_6374;<init>(I)V
named <init>
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;<init>(I)V
-
CommonPongC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lzw;<init>(Lvu;)V
intermediary <init>
Lnet/minecraft/class_6374;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Lzw;a(Lvu;)V
intermediary method_56477
Lnet/minecraft/class_6374;method_56477(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerCommonPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzb;a()Lzd;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ServerCommonPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzw;a(Lzs;)V
intermediary method_36959
Lnet/minecraft/class_6374;method_36959(Lnet/minecraft/class_8706;)V
named apply
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;apply(Lnet/minecraft/network/listener/ServerCommonPacketListener;)V
-
getParameter
public int getParameter()- Mappings:
Namespace Name Mixin selector official b
Lzw;b()I
intermediary method_36960
Lnet/minecraft/class_6374;method_36960()I
named getParameter
Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;getParameter()I
-