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 aie
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PlayerInteractItemC2SPacket> private final Hand
private final float
private final int
private final float
-
Constructor Summary
ModifierConstructorDescriptionprivate
PlayerInteractItemC2SPacket
(Hand hand, int sequence, float yaw, float pitch) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) getHand()
float
getPitch()
int
float
getYaw()
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
Laie;a:Lyw;
-
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
Laie;b:Lbqp;
-
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
Laie;c:I
-
yaw
private final float yaw- Mappings:
Namespace Name Mixin selector named yaw
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;yaw:F
intermediary field_51930
Lnet/minecraft/class_2886;field_51930:F
official d
Laie;d:F
-
pitch
private final float pitch- Mappings:
Namespace Name Mixin selector named pitch
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;pitch:F
intermediary field_51931
Lnet/minecraft/class_2886;field_51931:F
official e
Laie;e:F
-
-
Constructor Details
-
PlayerInteractItemC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;<init>(Lnet/minecraft/util/Hand;IFF)V
intermediary <init>
Lnet/minecraft/class_2886;<init>(Lnet/minecraft/class_1268;IFF)V
official <init>
Laie;<init>(Lbqp;IFF)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>
Laie;<init>(Lvv;)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
Laie;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/PlayerInteractItemC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12550
Lnet/minecraft/class_2886;method_12550(Lnet/minecraft/class_2792;)V
official a
Laie;a(Lagh;)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
Laie;b()Lbqp;
-
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
Laie;e()I
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector named getYaw
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;getYaw()F
intermediary method_60586
Lnet/minecraft/class_2886;method_60586()F
official f
Laie;f()F
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector named getPitch
Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;getPitch()F
intermediary method_60587
Lnet/minecraft/class_2886;method_60587()F
official g
Laie;g()F
-