Class PlayerInteractBlockC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class PlayerInteractBlockC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket
intermediary net/minecraft/class_2885
official aid
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockHitResult
static final PacketCodec
<PacketByteBuf, PlayerInteractBlockC2SPacket> private final Hand
private final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
PlayerInteractBlockC2SPacket
(Hand hand, BlockHitResult blockHitResult, int sequence) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) getHand()
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/PlayerInteractBlockC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48225
Lnet/minecraft/class_2885;field_48225:Lnet/minecraft/class_9139;
official a
Laid;a:Lyw;
-
blockHitResult
- Mappings:
Namespace Name Mixin selector named blockHitResult
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;blockHitResult:Lnet/minecraft/util/hit/BlockHitResult;
intermediary field_17602
Lnet/minecraft/class_2885;field_17602:Lnet/minecraft/class_3965;
official b
Laid;b:Lews;
-
hand
- Mappings:
Namespace Name Mixin selector named hand
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;hand:Lnet/minecraft/util/Hand;
intermediary field_13134
Lnet/minecraft/class_2885;field_13134:Lnet/minecraft/class_1268;
official c
Laid;c:Lbqp;
-
sequence
private final int sequence- Mappings:
Namespace Name Mixin selector named sequence
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;sequence:I
intermediary field_38049
Lnet/minecraft/class_2885;field_38049:I
official d
Laid;d:I
-
-
Constructor Details
-
PlayerInteractBlockC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;I)V
intermediary <init>
Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;I)V
official <init>
Laid;<init>(Lbqp;Lews;I)V
-
PlayerInteractBlockC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laid;<init>(Lvv;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_56005
Lnet/minecraft/class_2885;method_56005(Lnet/minecraft/class_2540;)V
official a
Laid;a(Lvv;)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
Lzf;a()Lzh;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12547
Lnet/minecraft/class_2885;method_12547(Lnet/minecraft/class_2792;)V
official a
Laid;a(Lagh;)V
-
getHand
- Mappings:
Namespace Name Mixin selector named getHand
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getHand()Lnet/minecraft/util/Hand;
intermediary method_12546
Lnet/minecraft/class_2885;method_12546()Lnet/minecraft/class_1268;
official b
Laid;b()Lbqp;
-
getBlockHitResult
- Mappings:
Namespace Name Mixin selector named getBlockHitResult
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getBlockHitResult()Lnet/minecraft/util/hit/BlockHitResult;
intermediary method_12543
Lnet/minecraft/class_2885;method_12543()Lnet/minecraft/class_3965;
official e
Laid;e()Lews;
-
getSequence
public int getSequence()- Mappings:
Namespace Name Mixin selector named getSequence
Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getSequence()I
intermediary method_42080
Lnet/minecraft/class_2885;method_42080()I
official f
Laid;f()I
-