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
official vj
intermediary net/minecraft/class_2670
named net/minecraft/network/packet/s2c/common/KeepAliveS2CPacket
  • Field Details

    • id

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

    • KeepAliveS2CPacket

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

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientCommonPacketListener>
      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
    • apply

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

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