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 ucintermediary net/minecraft/class_2848named net/minecraft/network/packet/c2s/play/ClientCommandC2SPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientCommandC2SPacket.Mode -
Field Summary
Fields Modifier and Type Field Description private intentityIdprivate ClientCommandC2SPacket.Modemodeprivate intmountJumpHeight -
Constructor Summary
Constructors Constructor Description ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode)ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode, int mountJumpHeight)ClientCommandC2SPacket(PacketByteBuf buf) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)ClientCommandC2SPacket.ModegetMode()intgetMountJumpHeight()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
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official aLuc;a:Iintermediary field_12977Lnet/minecraft/class_2848;field_12977:Inamed entityIdLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;entityId:I
-
mode
- Mappings:
Namespace Name Mixin selector official bLuc;b:Luc$a;intermediary field_12978Lnet/minecraft/class_2848;field_12978:Lnet/minecraft/class_2848$class_2849;named modeLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;mode:Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;
-
mountJumpHeight
private final int mountJumpHeight- Mappings:
Namespace Name Mixin selector official cLuc;c:Iintermediary field_12976Lnet/minecraft/class_2848;field_12976:Inamed mountJumpHeightLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;mountJumpHeight:I
-
-
Constructor Details
-
ClientCommandC2SPacket
@Environment(CLIENT) public ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode)- Mappings:
Namespace Name Mixin selector official <init>Luc;<init>(Laro;Luc$a;)Vintermediary <init>Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2848$class_2849;)Vnamed <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>Luc;<init>(Laro;Luc$a;I)Vintermediary <init>Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2848$class_2849;I)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket$Mode;I)V
-
ClientCommandC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Luc;<init>(Lnx;)Vintermediary <init>Lnet/minecraft/class_2848;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
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
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuc;a(Ltd;)Vintermediary method_12364Lnet/minecraft/class_2848;method_12364(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getMode
- Mappings:
Namespace Name Mixin selector official cLuc;c()Luc$a;intermediary method_12365Lnet/minecraft/class_2848;method_12365()Lnet/minecraft/class_2848$class_2849;named getModeLnet/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 dLuc;d()Iintermediary method_12366Lnet/minecraft/class_2848;method_12366()Inamed getMountJumpHeightLnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;getMountJumpHeight()I
-