Class PlayerInteractItemC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInteractItemC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket
intermediary net/minecraft/class_2886
official ait
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PlayerInteractItemC2SPacket> private final Hand
private final int
-
Constructor Summary
-
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/PlayerInteractItemC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48226
Lnet/minecraft/class_2886;field_48226:Lnet/minecraft/class_9139;
official a
Lait;a:Lzn;
-
hand
- Mappings:
Namespace Name Mixin selector named hand
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;hand:Lnet/minecraft/util/Hand;
intermediary field_13136
Lnet/minecraft/class_2886;field_13136:Lnet/minecraft/class_1268;
official b
Lait;b:Lbqu;
-
sequence
private final int sequence- Mappings:
Namespace Name Mixin selector named sequence
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;sequence:I
intermediary field_38050
Lnet/minecraft/class_2886;field_38050:I
official c
Lait;c:I
-
-
Constructor Details
-
PlayerInteractItemC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;<init>(Lnet/minecraft/util/Hand;I)V
intermediary <init>
Lnet/minecraft/class_2886;<init>(Lnet/minecraft/class_1268;I)V
official <init>
Lait;<init>(Lbqu;I)V
-
PlayerInteractItemC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2886;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lait;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_56006
Lnet/minecraft/class_2886;method_56006(Lnet/minecraft/class_2540;)V
official a
Lait;a(Lwm;)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
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12550
Lnet/minecraft/class_2886;method_12550(Lnet/minecraft/class_2792;)V
official a
Lait;a(Lagw;)V
-
getHand
- Mappings:
Namespace Name Mixin selector named getHand
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;getHand()Lnet/minecraft/util/Hand;
intermediary method_12551
Lnet/minecraft/class_2886;method_12551()Lnet/minecraft/class_1268;
official b
Lait;b()Lbqu;
-
getSequence
public int getSequence()- Mappings:
Namespace Name Mixin selector named getSequence
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;getSequence()I
intermediary method_42081
Lnet/minecraft/class_2886;method_42081()I
official e
Lait;e()I
-