Class KeepAliveC2SPacket

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

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

    • id

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

    • KeepAliveC2SPacket

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

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

    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvh;a(Lur;)V
      intermediary method_12266 Lnet/minecraft/class_2827;method_12266(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • write

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

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