Class KeepAliveS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.common.KeepAliveS2CPacket
All Implemented Interfaces:
Packet<ClientCommonPacketListener>

public class KeepAliveS2CPacket extends Object implements Packet<ClientCommonPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/common/KeepAliveS2CPacket
intermediary net/minecraft/class_2670
official aam
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,KeepAliveS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48623 Lnet/minecraft/class_2670;field_48623:Lnet/minecraft/class_9139;
      official a Laam;a:Lzt;
    • id

      private final long id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;id:J
      intermediary field_12211 Lnet/minecraft/class_2670;field_12211:J
      official b Laam;b:J
  • Constructor Details

    • KeepAliveS2CPacket

      public KeepAliveS2CPacket(long id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;<init>(J)V
      intermediary <init> Lnet/minecraft/class_2670;<init>(J)V
      official <init> Laam;<init>(J)V
    • KeepAliveS2CPacket

      private KeepAliveS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2670;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laam;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56463 Lnet/minecraft/class_2670;method_56463(Lnet/minecraft/class_2540;)V
      official a Laam;a(Lws;)V
    • getPacketId

      public PacketType<KeepAliveS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Laac;a()Laae;
    • apply

      public void apply(ClientCommonPacketListener clientCommonPacketListener)
      Specified by:
      apply in interface Packet<ClientCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;apply(Lnet/minecraft/network/listener/ClientCommonPacketListener;)V
      intermediary method_11518 Lnet/minecraft/class_2670;method_11518(Lnet/minecraft/class_8705;)V
      official a Laam;a(Laai;)V
    • getId

      public long getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/network/packet/s2c/common/KeepAliveS2CPacket;getId()J
      intermediary method_11517 Lnet/minecraft/class_2670;method_11517()J
      official b Laam;b()J