Class KeepAliveC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.common.KeepAliveC2SPacket
All Implemented Interfaces:
Packet<ServerCommonPacketListener>

public class KeepAliveC2SPacket extends Object implements Packet<ServerCommonPacketListener>
Mappings:
Namespace Name
official vq
intermediary net/minecraft/class_2827
named net/minecraft/network/packet/c2s/common/KeepAliveC2SPacket
  • Field Details

    • id

      private final long id
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a:J
      intermediary field_12883 Lnet/minecraft/class_2827;field_12883:J
      named id Lnet/minecraft/network/packet/c2s/common/KeepAliveC2SPacket;id:J
  • Constructor Details

    • KeepAliveC2SPacket

      public KeepAliveC2SPacket(long id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvq;<init>(J)V
      intermediary <init> Lnet/minecraft/class_2827;<init>(J)V
      named <init> Lnet/minecraft/network/packet/c2s/common/KeepAliveC2SPacket;<init>(J)V
    • KeepAliveC2SPacket

      public KeepAliveC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvq;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2827;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/common/KeepAliveC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • apply

      public void apply(ServerCommonPacketListener serverCommonPacketListener)
      Specified by:
      apply in interface Packet<ServerCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a(Lvn;)V
      intermediary method_12266 Lnet/minecraft/class_2827;method_12266(Lnet/minecraft/class_8706;)V
      named apply Lnet/minecraft/network/packet/c2s/common/KeepAliveC2SPacket;apply(Lnet/minecraft/network/listener/ServerCommonPacketListener;)V
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lso;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • getId

      public long getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a()J
      intermediary method_12267 Lnet/minecraft/class_2827;method_12267()J
      named getId Lnet/minecraft/network/packet/c2s/common/KeepAliveC2SPacket;getId()J