Class ClientCommandC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClientCommandC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class ClientCommandC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ts
intermediary net/minecraft/class_2848
named net/minecraft/network/packet/c2s/play/ClientCommandC2SPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientCommandC2SPacket.Mode
-
Field Summary
Fields Modifier and Type Field Description private int
entityId
private ClientCommandC2SPacket.Mode
mode
private int
mountJumpHeight
-
Constructor Summary
Constructors Constructor Description ClientCommandC2SPacket()
ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode)
ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode, int mountJumpHeight)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
ClientCommandC2SPacket.Mode
getMode()
int
getMountJumpHeight()
void
read(PacketByteBuf buf)
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
isWritingErrorSkippable
-
Field Details
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official a
Lts;a:I
intermediary field_12977
Lnet/minecraft/class_2848;field_12977:I
named entityId
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;entityId:I
-
mode
- Mappings:
Namespace Name Mixin selector official b
Lts;b:Lts$a;
intermediary field_12978
Lnet/minecraft/class_2848;field_12978:Lnet/minecraft/class_2848$class_2849;
named mode
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;mode:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
mountJumpHeight
private int mountJumpHeight- Mappings:
Namespace Name Mixin selector official c
Lts;c:I
intermediary field_12976
Lnet/minecraft/class_2848;field_12976:I
named mountJumpHeight
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;mountJumpHeight:I
-
-
Constructor Details
-
ClientCommandC2SPacket
public ClientCommandC2SPacket() -
ClientCommandC2SPacket
@Environment(CLIENT) public ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode)- Mappings:
Namespace Name Mixin selector official <init>
Lts;<init>(Laqv;Lts$a;)V
intermediary <init>
Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2848$class_2849;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;)V
-
ClientCommandC2SPacket
@Environment(CLIENT) public ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode, int mountJumpHeight)- Mappings:
Namespace Name Mixin selector official <init>
Lts;<init>(Laqv;Lts$a;I)V
intermediary <init>
Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2848$class_2849;I)V
named <init>
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;I)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lts;a(Lss;)V
intermediary method_12364
Lnet/minecraft/class_2848;method_12364(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getMode
- Mappings:
Namespace Name Mixin selector official c
Lts;c()Lts$a;
intermediary method_12365
Lnet/minecraft/class_2848;method_12365()Lnet/minecraft/class_2848$class_2849;
named getMode
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;getMode()Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
getMountJumpHeight
public int getMountJumpHeight()- Mappings:
Namespace Name Mixin selector official d
Lts;d()I
intermediary method_12366
Lnet/minecraft/class_2848;method_12366()I
named getMountJumpHeight
Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;getMountJumpHeight()I
-