Class PlayerPositionLookS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerPositionLookS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket
intermediary net/minecraft/class_2708
official aeq
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PlayerPositionLookS2CPacket> private final Set
<PositionFlag> private final float
private final int
private final double
private final double
private final float
private final double
-
Constructor Summary
ModifierConstructorDescriptionPlayerPositionLookS2CPacket
(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> flags, int teleportId) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getFlags()
float
getPitch()
int
double
getX()
double
getY()
float
getYaw()
double
getZ()
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/PlayerPositionLookS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47957
Lnet/minecraft/class_2708;field_47957:Lnet/minecraft/class_9139;
official a
Laeq;a:Lzn;
-
x
private final double x- Mappings:
Namespace Name Mixin selector named x
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;x:D
intermediary field_12395
Lnet/minecraft/class_2708;field_12395:D
official b
Laeq;b:D
-
y
private final double y- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;y:D
intermediary field_12392
Lnet/minecraft/class_2708;field_12392:D
official c
Laeq;c:D
-
z
private final double z- Mappings:
Namespace Name Mixin selector named z
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;z:D
intermediary field_12390
Lnet/minecraft/class_2708;field_12390:D
official d
Laeq;d:D
-
yaw
private final float yaw- Mappings:
Namespace Name Mixin selector named yaw
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;yaw:F
intermediary field_12393
Lnet/minecraft/class_2708;field_12393:F
official e
Laeq;e:F
-
pitch
private final float pitch- Mappings:
Namespace Name Mixin selector named pitch
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;pitch:F
intermediary field_12391
Lnet/minecraft/class_2708;field_12391:F
official f
Laeq;f:F
-
flags
- Mappings:
Namespace Name Mixin selector named flags
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;flags:Ljava/util/Set;
intermediary field_12396
Lnet/minecraft/class_2708;field_12396:Ljava/util/Set;
official g
Laeq;g:Ljava/util/Set;
-
teleportId
private final int teleportId- Mappings:
Namespace Name Mixin selector named teleportId
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;teleportId:I
intermediary field_12394
Lnet/minecraft/class_2708;field_12394:I
official h
Laeq;h:I
-
-
Constructor Details
-
PlayerPositionLookS2CPacket
public PlayerPositionLookS2CPacket(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> flags, int teleportId) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;<init>(DDDFFLjava/util/Set;I)V
intermediary <init>
Lnet/minecraft/class_2708;<init>(DDDFFLjava/util/Set;I)V
official <init>
Laeq;<init>(DDDFFLjava/util/Set;I)V
-
PlayerPositionLookS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2708;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laeq;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55904
Lnet/minecraft/class_2708;method_55904(Lnet/minecraft/class_2540;)V
official a
Laeq;a(Lwm;)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
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11740
Lnet/minecraft/class_2708;method_11740(Lnet/minecraft/class_2602;)V
official a
Laeq;a(Laci;)V
-
getX
public double getX()- Mappings:
Namespace Name Mixin selector named getX
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getX()D
intermediary method_11734
Lnet/minecraft/class_2708;method_11734()D
official b
Laeq;b()D
-
getY
public double getY()- Mappings:
Namespace Name Mixin selector named getY
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getY()D
intermediary method_11735
Lnet/minecraft/class_2708;method_11735()D
official e
Laeq;e()D
-
getZ
public double getZ()- Mappings:
Namespace Name Mixin selector named getZ
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getZ()D
intermediary method_11738
Lnet/minecraft/class_2708;method_11738()D
official f
Laeq;f()D
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector named getYaw
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getYaw()F
intermediary method_11736
Lnet/minecraft/class_2708;method_11736()F
official g
Laeq;g()F
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector named getPitch
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getPitch()F
intermediary method_11739
Lnet/minecraft/class_2708;method_11739()F
official h
Laeq;h()F
-
getTeleportId
public int getTeleportId()- Mappings:
Namespace Name Mixin selector named getTeleportId
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getTeleportId()I
intermediary method_11737
Lnet/minecraft/class_2708;method_11737()I
official i
Laeq;i()I
-
getFlags
- Mappings:
Namespace Name Mixin selector named getFlags
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getFlags()Ljava/util/Set;
intermediary method_11733
Lnet/minecraft/class_2708;method_11733()Ljava/util/Set;
official j
Laeq;j()Ljava/util/Set;
-