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 xt
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 Lxt;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> Lxt;<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> Lxt;<init>(Lui;)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 Lxt;a(Lxq;)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 Lxf;a(Lui;)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 Lxt;a()J
      intermediary method_12267 Lnet/minecraft/class_2827;method_12267()J
      named getId Lnet/minecraft/network/packet/c2s/common/KeepAliveC2SPacket;getId()J