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 zg
  • Field Details Link icon

    • CODEC Link icon

      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 Lzg;a:Lyn;
    • id Link icon

      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 Lzg;b:J
  • Constructor Details Link icon

    • KeepAliveS2CPacket Link icon

      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> Lzg;<init>(J)V
    • KeepAliveS2CPacket Link icon

      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> Lzg;<init>(Lvl;)V
  • Method Details Link icon

    • write Link icon

      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 Lzg;a(Lvl;)V
    • getPacketType Link icon

      public PacketType<KeepAliveS2CPacket> getPacketType()
      Specified by:
      getPacketType in interface Packet<ClientCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketType Lnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;
      intermediary method_65080 Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;
      official a Lyw;a()Lyy;
    • apply Link icon

      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 Lzg;a(Lzc;)V
    • getId Link icon

      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 Lzg;b()J