Class PlayPongC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.PlayPongC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class PlayPongC2SPacket extends Object implements 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:
PlayPingS2CPacket, KeepAliveC2SPacket, QueryPingC2SPacket
Mappings:
Namespace Name
official uo
intermediary net/minecraft/class_6374
named net/minecraft/network/packet/c2s/play/PlayPongC2SPacket
  • Field Details

    • parameter

      private final int parameter
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a:I
      intermediary field_33752 Lnet/minecraft/class_6374;field_33752:I
      named parameter Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;parameter:I
  • Constructor Details

    • PlayPongC2SPacket

      public PlayPongC2SPacket(int parameter)
      Mappings:
      Namespace Name Mixin selector
      official <init> Luo;<init>(I)V
      intermediary <init> Lnet/minecraft/class_6374;<init>(I)V
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;<init>(I)V
    • PlayPongC2SPacket

      public PlayPongC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Luo;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_6374;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Ltn;)V
      intermediary method_36959 Lnet/minecraft/class_6374;method_36959(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getParameter

      public int getParameter()
      Mappings:
      Namespace Name Mixin selector
      official b Luo;b()I
      intermediary method_36960 Lnet/minecraft/class_6374;method_36960()I
      named getParameter Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;getParameter()I