类 PlayerInteractBlockC2SPacket
- java.lang.Object
-
- net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
-
- 所有已实现的接口:
Packet<ServerPlayPacketListener>
public class PlayerInteractBlockC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official uyintermediary net/minecraft/class_2885named net/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private BlockHitResultblockHitResultprivate Handhand
-
构造器概要
构造器 构造器 说明 PlayerInteractBlockC2SPacket(PacketByteBuf buf)PlayerInteractBlockC2SPacket(Hand hand, BlockHitResult blockHitResult)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ServerPlayPacketListener serverPlayPacketListener)BlockHitResultgetBlockHitResult()HandgetHand()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
blockHitResult
private final BlockHitResult blockHitResult
- Mappings:
Namespace Name Mixin selector official aLuy;a:Ldlw;intermediary field_17602Lnet/minecraft/class_2885;field_17602:Lnet/minecraft/class_3965;named blockHitResultLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;blockHitResult:Lnet/minecraft/util/hit/BlockHitResult;
-
hand
private final Hand hand
- Mappings:
Namespace Name Mixin selector official bLuy;b:Larf;intermediary field_13134Lnet/minecraft/class_2885;field_13134:Lnet/minecraft/class_1268;named handLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;hand:Lnet/minecraft/util/Hand;
-
-
构造器详细资料
-
PlayerInteractBlockC2SPacket
public PlayerInteractBlockC2SPacket(Hand hand, BlockHitResult blockHitResult)
- Mappings:
Namespace Name Mixin selector official <init>Luy;<init>(Larf;Ldlw;)Vintermediary <init>Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)V
-
PlayerInteractBlockC2SPacket
public PlayerInteractBlockC2SPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Luy;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<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 aLuy;a(Lth;)Vintermediary method_12547Lnet/minecraft/class_2885;method_12547(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getHand
public Hand getHand()
- Mappings:
Namespace Name Mixin selector official bLuy;b()Larf;intermediary method_12546Lnet/minecraft/class_2885;method_12546()Lnet/minecraft/class_1268;named getHandLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getHand()Lnet/minecraft/util/Hand;
-
getBlockHitResult
public BlockHitResult getBlockHitResult()
- Mappings:
Namespace Name Mixin selector official cLuy;c()Ldlw;intermediary method_12543Lnet/minecraft/class_2885;method_12543()Lnet/minecraft/class_3965;named getBlockHitResultLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getBlockHitResult()Lnet/minecraft/util/hit/BlockHitResult;
-
-