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 named net/minecraft/network/packet/c2s/common/CommonPongC2SPacketintermediary net/minecraft/class_6374official aad
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, CommonPongC2SPacket> private final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerCommonPacketListener serverCommonPacketListener) intprivate voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48648Lnet/minecraft/class_6374;field_48648:Lnet/minecraft/class_9139;official aLaad;a:Lyx;
-
parameter
private final int parameter- Mappings:
Namespace Name Mixin selector named parameterLnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;parameter:Iintermediary field_33752Lnet/minecraft/class_6374;field_33752:Iofficial bLaad;b:I
-
-
Constructor Details
-
CommonPongC2SPacket
public CommonPongC2SPacket(int parameter) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;<init>(I)Vintermediary <init>Lnet/minecraft/class_6374;<init>(I)Vofficial <init>Laad;<init>(I)V
-
CommonPongC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_6374;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laad;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_56477Lnet/minecraft/class_6374;method_56477(Lnet/minecraft/class_2540;)Vofficial aLaad;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerCommonPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzg;a()Lzi;
-
apply
- Specified by:
applyin interfacePacket<ServerCommonPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;apply(Lnet/minecraft/network/listener/ServerCommonPacketListener;)Vintermediary method_36959Lnet/minecraft/class_6374;method_36959(Lnet/minecraft/class_8706;)Vofficial aLaad;a(Lzz;)V
-
getParameter
public int getParameter()- Mappings:
Namespace Name Mixin selector named getParameterLnet/minecraft/network/packet/c2s/common/CommonPongC2SPacket;getParameter()Iintermediary method_36960Lnet/minecraft/class_6374;method_36960()Iofficial bLaad;b()I
-