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 ttintermediary net/minecraft/class_2827named net/minecraft/network/packet/c2s/play/KeepAliveC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private longid -
Constructor Summary
Constructors Constructor Description KeepAliveC2SPacket(long id)KeepAliveC2SPacket(PacketByteBuf buf) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)longgetId()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
id
private final long id- Mappings:
Namespace Name Mixin selector official aLtt;a:Jintermediary field_12883Lnet/minecraft/class_2827;field_12883:Jnamed idLnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;id:J
-
-
Constructor Details
-
KeepAliveC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Ltt;<init>(J)Vintermediary <init>Lnet/minecraft/class_2827;<init>(J)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;<init>(J)V
-
KeepAliveC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Ltt;<init>(Lnx;)Vintermediary <init>Lnet/minecraft/class_2827;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtt;a(Ltd;)Vintermediary method_12266Lnet/minecraft/class_2827;method_12266(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getId
public long getId()- Mappings:
Namespace Name Mixin selector official bLtt;b()Jintermediary method_12267Lnet/minecraft/class_2827;method_12267()Jnamed getIdLnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;getId()J
-