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/PlayerActionC2SPacketintermediary net/minecraft/class_2846official aig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerActionC2SPacket.Actionstatic final PacketCodec<PacketByteBuf, PlayerActionC2SPacket> private final Directionprivate final BlockPosprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionPlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) getPos()intprivate 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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48207Lnet/minecraft/class_2846;field_48207:Lnet/minecraft/class_9139;official aLaig;a:Lze;
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_12967Lnet/minecraft/class_2846;field_12967:Lnet/minecraft/class_2338;official bLaig;b:Liw;
-
direction
- Mappings:
Namespace Name Mixin selector named directionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;direction:Lnet/minecraft/util/math/Direction;intermediary field_12965Lnet/minecraft/class_2846;field_12965:Lnet/minecraft/class_2350;official cLaig;c:Ljc;
-
action
- Mappings:
Namespace Name Mixin selector named actionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;action:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;intermediary field_12966Lnet/minecraft/class_2846;field_12966:Lnet/minecraft/class_2846$class_2847;official dLaig;d:Laig$a;
-
sequence
private final int sequence- Mappings:
Namespace Name Mixin selector named sequenceLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;sequence:Iintermediary field_38048Lnet/minecraft/class_2846;field_38048:Iofficial eLaig;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)Vintermediary <init>Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2846$class_2847;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;I)Vofficial <init>Laig;<init>(Laig$a;Liw;Ljc;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;)Vintermediary <init>Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2846$class_2847;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Vofficial <init>Laig;<init>(Laig$a;Liw;Ljc;)V
-
PlayerActionC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_2846;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laig;<init>(Lvy;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_55988Lnet/minecraft/class_2846;method_55988(Lnet/minecraft/class_2540;)Vofficial aLaig;a(Lvy;)V
-
getPacketType
- Specified by:
getPacketTypein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketTypeLnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;intermediary method_65080Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;official aLzo;a()Lzq;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)Vintermediary method_12361Lnet/minecraft/class_2846;method_12361(Lnet/minecraft/class_2792;)Vofficial aLaig;a(Laha;)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;intermediary method_12362Lnet/minecraft/class_2846;method_12362()Lnet/minecraft/class_2338;official bLaig;b()Liw;
-
getDirection
- Mappings:
Namespace Name Mixin selector named getDirectionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getDirection()Lnet/minecraft/util/math/Direction;intermediary method_12360Lnet/minecraft/class_2846;method_12360()Lnet/minecraft/class_2350;official eLaig;e()Ljc;
-
getAction
- Mappings:
Namespace Name Mixin selector named getActionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getAction()Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;intermediary method_12363Lnet/minecraft/class_2846;method_12363()Lnet/minecraft/class_2846$class_2847;official fLaig;f()Laig$a;
-
getSequence
public int getSequence()- Mappings:
Namespace Name Mixin selector named getSequenceLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getSequence()Iintermediary method_42079Lnet/minecraft/class_2846;method_42079()Iofficial gLaig;g()I
-