Class LookAtS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.LookAtS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/LookAtS2CPacket
intermediary net/minecraft/class_2707
official aea
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, LookAtS2CPacket> private final int
private final boolean
private final EntityAnchorArgumentType.EntityAnchor
private final EntityAnchorArgumentType.EntityAnchor
private final double
private final double
private final double
-
Constructor Summary
ModifierConstructorDescriptionLookAtS2CPacket
(EntityAnchorArgumentType.EntityAnchor selfAnchor, double targetX, double targetY, double targetZ) LookAtS2CPacket
(EntityAnchorArgumentType.EntityAnchor selfAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor targetAnchor) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getTargetPosition
(World world) 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/s2c/play/LookAtS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47956
Lnet/minecraft/class_2707;field_47956:Lnet/minecraft/class_9139;
official a
Laea;a:Lyw;
-
targetX
private final double targetX- Mappings:
Namespace Name Mixin selector named targetX
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetX:D
intermediary field_12386
Lnet/minecraft/class_2707;field_12386:D
official b
Laea;b:D
-
targetY
private final double targetY- Mappings:
Namespace Name Mixin selector named targetY
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetY:D
intermediary field_12384
Lnet/minecraft/class_2707;field_12384:D
official c
Laea;c:D
-
targetZ
private final double targetZ- Mappings:
Namespace Name Mixin selector named targetZ
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetZ:D
intermediary field_12383
Lnet/minecraft/class_2707;field_12383:D
official d
Laea;d:D
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector named entityId
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;entityId:I
intermediary field_12388
Lnet/minecraft/class_2707;field_12388:I
official e
Laea;e:I
-
selfAnchor
- Mappings:
Namespace Name Mixin selector named selfAnchor
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;selfAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
intermediary field_12385
Lnet/minecraft/class_2707;field_12385:Lnet/minecraft/class_2183$class_2184;
official f
Laea;f:Lff$a;
-
targetAnchor
- Mappings:
Namespace Name Mixin selector named targetAnchor
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
intermediary field_12389
Lnet/minecraft/class_2707;field_12389:Lnet/minecraft/class_2183$class_2184;
official g
Laea;g:Lff$a;
-
lookAtEntity
private final boolean lookAtEntity- Mappings:
Namespace Name Mixin selector named lookAtEntity
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;lookAtEntity:Z
intermediary field_12387
Lnet/minecraft/class_2707;field_12387:Z
official h
Laea;h:Z
-
-
Constructor Details
-
LookAtS2CPacket
public LookAtS2CPacket(EntityAnchorArgumentType.EntityAnchor selfAnchor, double targetX, double targetY, double targetZ) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;<init>(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;DDD)V
intermediary <init>
Lnet/minecraft/class_2707;<init>(Lnet/minecraft/class_2183$class_2184;DDD)V
official <init>
Laea;<init>(Lff$a;DDD)V
-
LookAtS2CPacket
public LookAtS2CPacket(EntityAnchorArgumentType.EntityAnchor selfAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor targetAnchor) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;<init>(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)V
intermediary <init>
Lnet/minecraft/class_2707;<init>(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)V
official <init>
Laea;<init>(Lff$a;Lbsq;Lff$a;)V
-
LookAtS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2707;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laea;<init>(Lvv;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55903
Lnet/minecraft/class_2707;method_55903(Lnet/minecraft/class_2540;)V
official a
Laea;a(Lvv;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- 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<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11731
Lnet/minecraft/class_2707;method_11731(Lnet/minecraft/class_2602;)V
official a
Laea;a(Labt;)V
-
getSelfAnchor
- Mappings:
Namespace Name Mixin selector named getSelfAnchor
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;getSelfAnchor()Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
intermediary method_11730
Lnet/minecraft/class_2707;method_11730()Lnet/minecraft/class_2183$class_2184;
official b
Laea;b()Lff$a;
-
getTargetPosition
- Mappings:
Namespace Name Mixin selector named getTargetPosition
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;getTargetPosition(Lnet/minecraft/world/World;)Lnet/minecraft/util/math/Vec3d;
intermediary method_11732
Lnet/minecraft/class_2707;method_11732(Lnet/minecraft/class_1937;)Lnet/minecraft/class_243;
official a
Laea;a(Ldcu;)Leww;
-