Class PlayerInteractEntityC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class PlayerInteractEntityC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket
intermediary net/minecraft/class_2824
official aii
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
private static class
private static class
private static enum
private static interface
-
Field Summary
Modifier and TypeFieldDescription(package private) static final PlayerInteractEntityC2SPacket.InteractTypeHandler
static final PacketCodec
<PacketByteBuf, PlayerInteractEntityC2SPacket> private final int
private final boolean
private final PlayerInteractEntityC2SPacket.InteractTypeHandler
-
Constructor Summary
ModifierConstructorDescriptionprivate
PlayerInteractEntityC2SPacket
(int entityId, boolean playerSneaking, PlayerInteractEntityC2SPacket.InteractTypeHandler type) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) getEntity
(ServerWorld world) void
interactAt
(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos) boolean
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/PlayerInteractEntityC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48195
Lnet/minecraft/class_2824;field_48195:Lnet/minecraft/class_9139;
official a
Laii;a:Lzt;
-
ATTACK
- Mappings:
Namespace Name Mixin selector named ATTACK
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;ATTACK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;
intermediary field_29170
Lnet/minecraft/class_2824;field_29170:Lnet/minecraft/class_2824$class_5906;
official e
Laii;e:Laii$a;
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector named entityId
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;entityId:I
intermediary field_12870
Lnet/minecraft/class_2824;field_12870:I
official b
Laii;b:I
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;type:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;
intermediary field_12871
Lnet/minecraft/class_2824;field_12871:Lnet/minecraft/class_2824$class_5906;
official c
Laii;c:Laii$a;
-
playerSneaking
private final boolean playerSneaking- Mappings:
Namespace Name Mixin selector named playerSneaking
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;playerSneaking:Z
intermediary field_25660
Lnet/minecraft/class_2824;field_25660:Z
official d
Laii;d:Z
-
-
Constructor Details
-
PlayerInteractEntityC2SPacket
private PlayerInteractEntityC2SPacket(int entityId, boolean playerSneaking, PlayerInteractEntityC2SPacket.InteractTypeHandler type) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;<init>(IZLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler;)V
intermediary <init>
Lnet/minecraft/class_2824;<init>(IZLnet/minecraft/class_2824$class_5906;)V
official <init>
Laii;<init>(IZLaii$a;)V
-
PlayerInteractEntityC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2824;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laii;<init>(Lws;)V
-
-
Method Details
-
attack
- Mappings:
Namespace Name Mixin selector named attack
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;attack(Lnet/minecraft/entity/Entity;Z)Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;
intermediary method_34206
Lnet/minecraft/class_2824;method_34206(Lnet/minecraft/class_1297;Z)Lnet/minecraft/class_2824;
official a
Laii;a(Lbvj;Z)Laii;
-
interact
public static PlayerInteractEntityC2SPacket interact(Entity entity, boolean playerSneaking, Hand hand) - Mappings:
Namespace Name Mixin selector named interact
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;interact(Lnet/minecraft/entity/Entity;ZLnet/minecraft/util/Hand;)Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;
intermediary method_34207
Lnet/minecraft/class_2824;method_34207(Lnet/minecraft/class_1297;ZLnet/minecraft/class_1268;)Lnet/minecraft/class_2824;
official a
Laii;a(Lbvj;ZLbth;)Laii;
-
interactAt
public static PlayerInteractEntityC2SPacket interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos) - Mappings:
Namespace Name Mixin selector named interactAt
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;interactAt(Lnet/minecraft/entity/Entity;ZLnet/minecraft/util/Hand;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;
intermediary method_34208
Lnet/minecraft/class_2824;method_34208(Lnet/minecraft/class_1297;ZLnet/minecraft/class_1268;Lnet/minecraft/class_243;)Lnet/minecraft/class_2824;
official a
Laii;a(Lbvj;ZLbth;Lfbx;)Laii;
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55976
Lnet/minecraft/class_2824;method_55976(Lnet/minecraft/class_2540;)V
official a
Laii;a(Lws;)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
Laac;a()Laae;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12251
Lnet/minecraft/class_2824;method_12251(Lnet/minecraft/class_2792;)V
official a
Laii;a(Lahm;)V
-
getEntity
- Mappings:
Namespace Name Mixin selector named getEntity
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;getEntity(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/Entity;
intermediary method_12248
Lnet/minecraft/class_2824;method_12248(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
official a
Laii;a(Lash;)Lbvj;
-
isPlayerSneaking
public boolean isPlayerSneaking()- Mappings:
Namespace Name Mixin selector named isPlayerSneaking
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;isPlayerSneaking()Z
intermediary method_30007
Lnet/minecraft/class_2824;method_30007()Z
official b
Laii;b()Z
-
handle
- Mappings:
Namespace Name Mixin selector named handle
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;handle(Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Handler;)V
intermediary method_34209
Lnet/minecraft/class_2824;method_34209(Lnet/minecraft/class_2824$class_5908;)V
official a
Laii;a(Laii$c;)V
-