Class PlayPongC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayPongC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
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 aagintermediary net/minecraft/class_6374named net/minecraft/network/packet/c2s/play/PlayPongC2SPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intvoidwrite(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
-
Field Details
-
parameter
private final int parameter- Mappings:
Namespace Name Mixin selector official aLaag;a:Iintermediary field_33752Lnet/minecraft/class_6374;field_33752:Inamed parameterLnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;parameter:I
-
-
Constructor Details
-
PlayPongC2SPacket
public PlayPongC2SPacket(int parameter) - Mappings:
Namespace Name Mixin selector official <init>Laag;<init>(I)Vintermediary <init>Lnet/minecraft/class_6374;<init>(I)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;<init>(I)V
-
PlayPongC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Laag;<init>(Lsf;)Vintermediary <init>Lnet/minecraft/class_6374;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuo;a(Lsf;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLaag;a(Lzb;)Vintermediary method_36959Lnet/minecraft/class_6374;method_36959(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getParameter
public int getParameter()- Mappings:
Namespace Name Mixin selector official aLaag;a()Iintermediary method_36960Lnet/minecraft/class_6374;method_36960()Inamed getParameterLnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;getParameter()I
-