Class KeepAliveS2CPacket

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

public class KeepAliveS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official kf
intermediary net/minecraft/class_2019
named net/minecraft/network/packet/s2c/play/KeepAliveS2CPacket
  • Field Details

    • field_16284

      private long field_16284
      Mappings:
      Namespace Name Mixin selector
      official a Lkf;a:J
      intermediary field_16284 Lnet/minecraft/class_2019;field_16284:J
      named field_16284 Lnet/minecraft/network/packet/s2c/play/KeepAliveS2CPacket;field_16284:J
  • Constructor Details

    • KeepAliveS2CPacket

      public KeepAliveS2CPacket()
    • KeepAliveS2CPacket

      public KeepAliveS2CPacket(long long2)
  • Method Details

    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lkf;a(Liy;)V
      intermediary method_7752 Lnet/minecraft/class_2019;method_7752(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/KeepAliveS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Liv;a(Lhy;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Liv;b(Lhy;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • method_7753

      @Environment(CLIENT) public long method_7753()
      Mappings:
      Namespace Name Mixin selector
      official b Lkf;b()J
      intermediary method_7753 Lnet/minecraft/class_2019;method_7753()J
      named method_7753 Lnet/minecraft/network/packet/s2c/play/KeepAliveS2CPacket;method_7753()J