Class KeepAliveS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.common.KeepAliveS2CPacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/common/KeepAliveS2CPacket
intermediary net/minecraft/class_2670
official aaf
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, KeepAliveS2CPacket> private final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientCommonPacketListener clientCommonPacketListener) long
getId()
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
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
Laaf;a:Lzn;
-
id
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
Laaf;b:J
-
-
Constructor Details
-
KeepAliveS2CPacket
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>
Laaf;<init>(J)V
-
KeepAliveS2CPacket
- 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>
Laaf;<init>(Lwm;)V
-
-
Method Details
-
write
- 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
Laaf;a(Lwm;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientCommonPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<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
Laaf;a(Laac;)V
-
getId
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
Laaf;b()J
-