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 official ahiintermediary net/minecraft/class_2885named net/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockHitResultstatic final PacketCodec<PacketByteBuf, PlayerInteractBlockC2SPacket> private final Handprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePlayerInteractBlockC2SPacket(Hand hand, BlockHitResult blockHitResult, int sequence) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) getHand()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 official aLahi;a:Lyg;intermediary field_48225Lnet/minecraft/class_2885;field_48225:Lnet/minecraft/class_9139;named CODECLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
blockHitResult
- Mappings:
Namespace Name Mixin selector official bLahi;b:Lesf;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
- Mappings:
Namespace Name Mixin selector official cLahi;c:Lboe;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;
-
sequence
private final int sequence- Mappings:
Namespace Name Mixin selector official dLahi;d:Iintermediary field_38049Lnet/minecraft/class_2885;field_38049:Inamed sequenceLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;sequence:I
-
-
Constructor Details
-
PlayerInteractBlockC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lahi;<init>(Lboe;Lesf;I)Vintermediary <init>Lnet/minecraft/class_2885;<init>(Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;I)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;<init>(Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;I)V
-
PlayerInteractBlockC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lahi;<init>(Lvi;)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
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official aLahi;a(Lvi;)Vintermediary method_56005Lnet/minecraft/class_2885;method_56005(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLyp;a()Lyr;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLahi;a(Lafn;)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
- Mappings:
Namespace Name Mixin selector official bLahi;b()Lboe;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
- Mappings:
Namespace Name Mixin selector official eLahi;e()Lesf;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;
-
getSequence
public int getSequence()- Mappings:
Namespace Name Mixin selector official fLahi;f()Iintermediary method_42080Lnet/minecraft/class_2885;method_42080()Inamed getSequenceLnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;getSequence()I
-