类 PlayerActionC2SPacket
- java.lang.Object
-
- net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket
-
- 所有已实现的接口:
Packet<ServerPlayPacketListener>
public class PlayerActionC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ufintermediary net/minecraft/class_2846named net/minecraft/network/packet/c2s/play/PlayerActionC2SPacket
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classPlayerActionC2SPacket.Action
-
构造器概要
构造器 构造器 说明 PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction)PlayerActionC2SPacket(PacketByteBuf buf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ServerPlayPacketListener serverPlayPacketListener)PlayerActionC2SPacket.ActiongetAction()DirectiongetDirection()BlockPosgetPos()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
pos
private final BlockPos pos
- Mappings:
Namespace Name Mixin selector official aLuf;a:Lgb;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
private final Direction direction
- Mappings:
Namespace Name Mixin selector official bLuf;b:Lgg;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
private final PlayerActionC2SPacket.Action action
- Mappings:
Namespace Name Mixin selector official cLuf;c:Luf$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;
-
-
构造器详细资料
-
PlayerActionC2SPacket
public PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official <init>Luf;<init>(Luf$a;Lgb;Lgg;)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
public PlayerActionC2SPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Luf;<init>(Lob;)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
-
-
方法详细资料
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
public void apply(ServerPlayPacketListener serverPlayPacketListener)
- 指定者:
apply在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuf;a(Lth;)Vintermediary method_12361Lnet/minecraft/class_2846;method_12361(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getPos
public BlockPos getPos()
- Mappings:
Namespace Name Mixin selector official bLuf;b()Lgb;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
public Direction getDirection()
- Mappings:
Namespace Name Mixin selector official cLuf;c()Lgg;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
public PlayerActionC2SPacket.Action getAction()
- Mappings:
Namespace Name Mixin selector official dLuf;d()Luf$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;
-
-