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 official inintermediary net/minecraft/class_2061named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) getType()voidread(PacketByteBuf buf) voidwrite(PacketByteBuf buf)
-
Field Details
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official aLin;a:Iintermediary field_8788Lnet/minecraft/class_2061;field_8788:Inamed entityIdLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;entityId:I
-
type
- Mappings:
Namespace Name Mixin selector official bLin;b:Lin$a;intermediary field_8789Lnet/minecraft/class_2061;field_8789:Lnet/minecraft/class_2061$class_2062;named typeLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;type:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;
-
hitPosition
- Mappings:
Namespace Name Mixin selector official cLin;c:Laui;intermediary field_11703Lnet/minecraft/class_2061;field_11703:Lnet/minecraft/class_236;named hitPositionLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;hitPosition:Lnet/minecraft/util/math/Vec3d;
-
-
Constructor Details
-
PlayerInteractEntityC2SPacket
public PlayerInteractEntityC2SPacket() -
PlayerInteractEntityC2SPacket
@Environment(CLIENT) public PlayerInteractEntityC2SPacket(Entity entity, PlayerInteractEntityC2SPacket.Type type) - Mappings:
Namespace Name Mixin selector official <init>Lin;<init>(Lpk;Lin$a;)Vintermediary <init>Lnet/minecraft/class_2061;<init>(Lnet/minecraft/class_864;Lnet/minecraft/class_2061$class_2062;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;)V
-
PlayerInteractEntityC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lin;<init>(Lpk;Laui;)Vintermediary <init>Lnet/minecraft/class_2061;<init>(Lnet/minecraft/class_864;Lnet/minecraft/class_236;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_7535Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_7539Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLin;a(Lic;)Vintermediary method_7983Lnet/minecraft/class_2061;method_7983(Lnet/minecraft/class_2050;)Vnamed applyLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getEntity
- Mappings:
Namespace Name Mixin selector official aLin;a(Ladm;)Lpk;intermediary method_7982Lnet/minecraft/class_2061;method_7982(Lnet/minecraft/class_1150;)Lnet/minecraft/class_864;named getEntityLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
-
getType
- Mappings:
Namespace Name Mixin selector official aLin;a()Lin$a;intermediary method_7984Lnet/minecraft/class_2061;method_7984()Lnet/minecraft/class_2061$class_2062;named getTypeLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;getType()Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;
-
getHitPosition
- Mappings:
Namespace Name Mixin selector official bLin;b()Laui;intermediary method_10723Lnet/minecraft/class_2061;method_10723()Lnet/minecraft/class_236;named getHitPositionLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;getHitPosition()Lnet/minecraft/util/math/Vec3d;
-