Class PlayerActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/PlayerActionC2SPacket
intermediary net/minecraft/class_2846
official ahf
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PlayerActionC2SPacket.Action
static final PacketCodec
<PacketByteBuf, PlayerActionC2SPacket> private final Direction
private final BlockPos
private final int
-
Constructor Summary
ModifierConstructorDescriptionPlayerActionC2SPacket
(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) PlayerActionC2SPacket
(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) getPos()
int
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/c2s/play/PlayerActionC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48207
Lnet/minecraft/class_2846;field_48207:Lnet/minecraft/class_9139;
official a
Lahf;a:Lys;
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_12967
Lnet/minecraft/class_2846;field_12967:Lnet/minecraft/class_2338;
official b
Lahf;b:Lja;
-
direction
- Mappings:
Namespace Name Mixin selector named direction
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;direction:Lnet/minecraft/util/math/Direction;
intermediary field_12965
Lnet/minecraft/class_2846;field_12965:Lnet/minecraft/class_2350;
official c
Lahf;c:Ljf;
-
action
- Mappings:
Namespace Name Mixin selector named action
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;action:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
intermediary field_12966
Lnet/minecraft/class_2846;field_12966:Lnet/minecraft/class_2846$class_2847;
official d
Lahf;d:Lahf$a;
-
sequence
private final int sequence- Mappings:
Namespace Name Mixin selector named sequence
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;sequence:I
intermediary field_38048
Lnet/minecraft/class_2846;field_38048:I
official e
Lahf;e:I
-
-
Constructor Details
-
PlayerActionC2SPacket
public PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) - Mappings:
Namespace Name Mixin selector named <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
intermediary <init>
Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2846$class_2847;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;I)V
official <init>
Lahf;<init>(Lahf$a;Lja;Ljf;I)V
-
PlayerActionC2SPacket
public PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector named <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
intermediary <init>
Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2846$class_2847;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
official <init>
Lahf;<init>(Lahf$a;Lja;Ljf;)V
-
PlayerActionC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lahf;<init>(Lvr;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55988
Lnet/minecraft/class_2846;method_55988(Lnet/minecraft/class_2540;)V
official a
Lahf;a(Lvr;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- 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
Lzb;a()Lzd;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12361
Lnet/minecraft/class_2846;method_12361(Lnet/minecraft/class_2792;)V
official a
Lahf;a(Lagb;)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_12362
Lnet/minecraft/class_2846;method_12362()Lnet/minecraft/class_2338;
official b
Lahf;b()Lja;
-
getDirection
- Mappings:
Namespace Name Mixin selector named getDirection
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getDirection()Lnet/minecraft/util/math/Direction;
intermediary method_12360
Lnet/minecraft/class_2846;method_12360()Lnet/minecraft/class_2350;
official e
Lahf;e()Ljf;
-
getAction
- Mappings:
Namespace Name Mixin selector named getAction
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getAction()Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
intermediary method_12363
Lnet/minecraft/class_2846;method_12363()Lnet/minecraft/class_2846$class_2847;
official f
Lahf;f()Lahf$a;
-
getSequence
public int getSequence()- Mappings:
Namespace Name Mixin selector named getSequence
Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getSequence()I
intermediary method_42079
Lnet/minecraft/class_2846;method_42079()I
official g
Lahf;g()I
-