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 lj
intermediary net/minecraft/class_2063
named net/minecraft/network/packet/c2s/play/KeepAliveC2SPacket
  • Field Details

    • field_16310

      private long field_16310
      Mappings:
      Namespace Name Mixin selector
      official a Llj;a:J
      intermediary field_16310 Lnet/minecraft/class_2063;field_16310:J
      named field_16310 Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;field_16310:J
  • Constructor Details

    • KeepAliveC2SPacket

      public KeepAliveC2SPacket()
    • KeepAliveC2SPacket

      @Environment(CLIENT) public KeepAliveC2SPacket(long long2)
  • Method Details

    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Llj;a(Lkx;)V
      intermediary method_7987 Lnet/minecraft/class_2063;method_7987(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lgy;)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<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lht;b(Lgy;)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_7988

      public long method_7988()
      Mappings:
      Namespace Name Mixin selector
      official a Llj;a()J
      intermediary method_7988 Lnet/minecraft/class_2063;method_7988()J
      named method_7988 Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;method_7988()J