Class LookAtS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.LookAtS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ss
intermediary net/minecraft/class_2707
named net/minecraft/network/packet/s2c/play/LookAtS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final boolean
private final EntityAnchorArgumentType.EntityAnchor
private final EntityAnchorArgumentType.EntityAnchor
private final double
private final double
private final double
-
Constructor Summary
ConstructorDescriptionLookAtS2CPacket
(EntityAnchorArgumentType.EntityAnchor selfAnchor, double targetX, double targetY, double targetZ) LookAtS2CPacket
(EntityAnchorArgumentType.EntityAnchor selfAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor targetAnchor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getTargetPosition
(World world) 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
isWritingErrorSkippable
-
Field Details
-
targetX
private final double targetX- Mappings:
Namespace Name Mixin selector official a
Lss;a:D
intermediary field_12386
Lnet/minecraft/class_2707;field_12386:D
named targetX
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetX:D
-
targetY
private final double targetY- Mappings:
Namespace Name Mixin selector official b
Lss;b:D
intermediary field_12384
Lnet/minecraft/class_2707;field_12384:D
named targetY
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetY:D
-
targetZ
private final double targetZ- Mappings:
Namespace Name Mixin selector official c
Lss;c:D
intermediary field_12383
Lnet/minecraft/class_2707;field_12383:D
named targetZ
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetZ:D
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official d
Lss;d:I
intermediary field_12388
Lnet/minecraft/class_2707;field_12388:I
named entityId
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;entityId:I
-
selfAnchor
- Mappings:
Namespace Name Mixin selector official e
Lss;e:Ldv$a;
intermediary field_12385
Lnet/minecraft/class_2707;field_12385:Lnet/minecraft/class_2183$class_2184;
named selfAnchor
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;selfAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
targetAnchor
- Mappings:
Namespace Name Mixin selector official f
Lss;f:Ldv$a;
intermediary field_12389
Lnet/minecraft/class_2707;field_12389:Lnet/minecraft/class_2183$class_2184;
named targetAnchor
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;targetAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
lookAtEntity
private final boolean lookAtEntity- Mappings:
Namespace Name Mixin selector official g
Lss;g:Z
intermediary field_12387
Lnet/minecraft/class_2707;field_12387:Z
named lookAtEntity
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;lookAtEntity:Z
-
-
Constructor Details
-
LookAtS2CPacket
public LookAtS2CPacket(EntityAnchorArgumentType.EntityAnchor selfAnchor, double targetX, double targetY, double targetZ) - Mappings:
Namespace Name Mixin selector official <init>
Lss;<init>(Ldv$a;DDD)V
intermediary <init>
Lnet/minecraft/class_2707;<init>(Lnet/minecraft/class_2183$class_2184;DDD)V
named <init>
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;<init>(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;DDD)V
-
LookAtS2CPacket
public LookAtS2CPacket(EntityAnchorArgumentType.EntityAnchor selfAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor targetAnchor) - Mappings:
Namespace Name Mixin selector official <init>
Lss;<init>(Ldv$a;Lawm;Ldv$a;)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
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
-
LookAtS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lss;<init>(Lph;)V
intermediary <init>
Lnet/minecraft/class_2707;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lql;a(Lph;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lss;a(Lqo;)V
intermediary method_11731
Lnet/minecraft/class_2707;method_11731(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getSelfAnchor
- Mappings:
Namespace Name Mixin selector official b
Lss;b()Ldv$a;
intermediary method_11730
Lnet/minecraft/class_2707;method_11730()Lnet/minecraft/class_2183$class_2184;
named getSelfAnchor
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;getSelfAnchor()Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
getTargetPosition
- Mappings:
Namespace Name Mixin selector official a
Lss;a(Lbzw;)Ldnz;
intermediary method_11732
Lnet/minecraft/class_2707;method_11732(Lnet/minecraft/class_1937;)Lnet/minecraft/class_243;
named getTargetPosition
Lnet/minecraft/network/packet/s2c/play/LookAtS2CPacket;getTargetPosition(Lnet/minecraft/world/World;)Lnet/minecraft/util/math/Vec3d;
-