Class PlayerActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ziintermediary net/minecraft/class_2846named net/minecraft/network/packet/c2s/play/PlayerActionC2SPacket
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) -
Method Summary
Modifier and TypeMethodDescriptiongetPos()intvoidmethod_12361(ServerPlayPacketListener serverPlayPacketListener) 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
apply, isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official aLzi;a:Lgr;intermediary field_12967Lnet/minecraft/class_2846;field_12967:Lnet/minecraft/class_2338;named posLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
direction
- Mappings:
Namespace Name Mixin selector official bLzi;b:Lgw;intermediary field_12965Lnet/minecraft/class_2846;field_12965:Lnet/minecraft/class_2350;named directionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;direction:Lnet/minecraft/util/math/Direction;
-
action
- Mappings:
Namespace Name Mixin selector official cLzi;c:Lzi$a;intermediary field_12966Lnet/minecraft/class_2846;field_12966:Lnet/minecraft/class_2846$class_2847;named actionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;action:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
sequence
private final int sequence- Mappings:
Namespace Name Mixin selector official dLzi;d:Iintermediary field_38048Lnet/minecraft/class_2846;field_38048:Inamed sequenceLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;sequence:I
-
-
Constructor Details
-
PlayerActionC2SPacket
public PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) - Mappings:
Namespace Name Mixin selector official <init>Lzi;<init>(Lzi$a;Lgr;Lgw;I)Vintermediary <init>Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2846$class_2847;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;I)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;<init>(Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;I)V
-
PlayerActionC2SPacket
public PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector official <init>Lzi;<init>(Lzi$a;Lgr;Lgw;)Vintermediary <init>Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2846$class_2847;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;<init>(Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
-
PlayerActionC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lzi;<init>(Lrt;)Vintermediary <init>Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtx;a(Lrt;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
method_12361
- Mappings:
Namespace Name Mixin selector official aLzi;a(Lyh;)Vintermediary method_12361Lnet/minecraft/class_2846;method_12361(Lnet/minecraft/class_2792;)Vnamed method_12361Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;method_12361(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official bLzi;b()Lgr;intermediary method_12362Lnet/minecraft/class_2846;method_12362()Lnet/minecraft/class_2338;named getPosLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getDirection
- Mappings:
Namespace Name Mixin selector official cLzi;c()Lgw;intermediary method_12360Lnet/minecraft/class_2846;method_12360()Lnet/minecraft/class_2350;named getDirectionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getDirection()Lnet/minecraft/util/math/Direction;
-
getAction
- Mappings:
Namespace Name Mixin selector official dLzi;d()Lzi$a;intermediary method_12363Lnet/minecraft/class_2846;method_12363()Lnet/minecraft/class_2846$class_2847;named getActionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getAction()Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
getSequence
public int getSequence()- Mappings:
Namespace Name Mixin selector official eLzi;e()Iintermediary method_42079Lnet/minecraft/class_2846;method_42079()Inamed getSequenceLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getSequence()I
-