Class PlayerActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official jdintermediary net/minecraft/class_2066named 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) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) getPos()voidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official aLjd;a:Lco;intermediary field_11705Lnet/minecraft/class_2066;field_11705:Lnet/minecraft/class_2552;named posLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
direction
- Mappings:
Namespace Name Mixin selector official bLjd;b:Lcv;intermediary field_11706Lnet/minecraft/class_2066;field_11706:Lnet/minecraft/class_1354;named directionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;direction:Lnet/minecraft/util/math/Direction;
-
action
- Mappings:
Namespace Name Mixin selector official cLjd;c:Ljd$a;intermediary field_11707Lnet/minecraft/class_2066;field_11707:Lnet/minecraft/class_2066$class_2589;named actionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;action:Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-
-
Constructor Details
-
PlayerActionC2SPacket
public PlayerActionC2SPacket() -
PlayerActionC2SPacket
@Environment(CLIENT) public PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector official <init>Ljd;<init>(Ljd$a;Lco;Lcv;)Vintermediary <init>Lnet/minecraft/class_2066;<init>(Lnet/minecraft/class_2066$class_2589;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)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
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLfm;a(Let;)Vintermediary method_7535Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLfm;b(Let;)Vintermediary method_7539Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLjd;a(Lim;)Vintermediary method_8013Lnet/minecraft/class_2066;method_8013(Lnet/minecraft/class_2050;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official aLjd;a()Lco;intermediary method_10724Lnet/minecraft/class_2066;method_10724()Lnet/minecraft/class_2552;named getPosLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getDirection
- Mappings:
Namespace Name Mixin selector official bLjd;b()Lcv;intermediary method_10725Lnet/minecraft/class_2066;method_10725()Lnet/minecraft/class_1354;named getDirectionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getDirection()Lnet/minecraft/util/math/Direction;
-
getAction
- Mappings:
Namespace Name Mixin selector official cLjd;c()Ljd$a;intermediary method_10726Lnet/minecraft/class_2066;method_10726()Lnet/minecraft/class_2066$class_2589;named getActionLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;getAction()Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket$Action;
-