Class PlayerPositionLookS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerPositionLookS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class PlayerPositionLookS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rc
intermediary net/minecraft/class_2708
named net/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlayerPositionLookS2CPacket.Flag
-
Field Summary
Fields Modifier and Type Field Description private boolean
field_28805
private Set<PlayerPositionLookS2CPacket.Flag>
flags
private float
pitch
private int
teleportId
private double
x
private double
y
private float
yaw
private double
z
-
Constructor Summary
Constructors Constructor Description PlayerPositionLookS2CPacket()
PlayerPositionLookS2CPacket(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags, int teleportId, boolean bool)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
Set<PlayerPositionLookS2CPacket.Flag>
getFlags()
float
getPitch()
int
getTeleportId()
double
getX()
double
getY()
float
getYaw()
double
getZ()
boolean
method_33718()
void
read(PacketByteBuf buf)
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
-
x
private double x- Mappings:
Namespace Name Mixin selector official a
Lrc;a:D
intermediary field_12395
Lnet/minecraft/class_2708;field_12395:D
named x
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official b
Lrc;b:D
intermediary field_12392
Lnet/minecraft/class_2708;field_12392:D
named y
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official c
Lrc;c:D
intermediary field_12390
Lnet/minecraft/class_2708;field_12390:D
named z
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;z:D
-
yaw
private float yaw- Mappings:
Namespace Name Mixin selector official d
Lrc;d:F
intermediary field_12393
Lnet/minecraft/class_2708;field_12393:F
named yaw
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;yaw:F
-
pitch
private float pitch- Mappings:
Namespace Name Mixin selector official e
Lrc;e:F
intermediary field_12391
Lnet/minecraft/class_2708;field_12391:F
named pitch
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;pitch:F
-
flags
- Mappings:
Namespace Name Mixin selector official f
Lrc;f:Ljava/util/Set;
intermediary field_12396
Lnet/minecraft/class_2708;field_12396:Ljava/util/Set;
named flags
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;flags:Ljava/util/Set;
-
teleportId
private int teleportId- Mappings:
Namespace Name Mixin selector official g
Lrc;g:I
intermediary field_12394
Lnet/minecraft/class_2708;field_12394:I
named teleportId
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;teleportId:I
-
field_28805
private boolean field_28805- Mappings:
Namespace Name Mixin selector official h
Lrc;h:Z
intermediary field_28805
Lnet/minecraft/class_2708;field_28805:Z
named field_28805
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;field_28805:Z
-
-
Constructor Details
-
PlayerPositionLookS2CPacket
public PlayerPositionLookS2CPacket() -
PlayerPositionLookS2CPacket
public PlayerPositionLookS2CPacket(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags, int teleportId, boolean bool)- Mappings:
Namespace Name Mixin selector official <init>
Lrc;<init>(DDDFFLjava/util/Set;IZ)V
intermediary <init>
Lnet/minecraft/class_2708;<init>(DDDFFLjava/util/Set;IZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;<init>(DDDFFLjava/util/Set;IZ)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
Lrc;a(Lpd;)V
intermediary method_11740
Lnet/minecraft/class_2708;method_11740(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getX
- Mappings:
Namespace Name Mixin selector official b
Lrc;b()D
intermediary method_11734
Lnet/minecraft/class_2708;method_11734()D
named getX
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official c
Lrc;c()D
intermediary method_11735
Lnet/minecraft/class_2708;method_11735()D
named getY
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official d
Lrc;d()D
intermediary method_11738
Lnet/minecraft/class_2708;method_11738()D
named getZ
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getZ()D
-
getYaw
- Mappings:
Namespace Name Mixin selector official e
Lrc;e()F
intermediary method_11736
Lnet/minecraft/class_2708;method_11736()F
named getYaw
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getYaw()F
-
getPitch
- Mappings:
Namespace Name Mixin selector official f
Lrc;f()F
intermediary method_11739
Lnet/minecraft/class_2708;method_11739()F
named getPitch
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getPitch()F
-
getTeleportId
- Mappings:
Namespace Name Mixin selector official g
Lrc;g()I
intermediary method_11737
Lnet/minecraft/class_2708;method_11737()I
named getTeleportId
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getTeleportId()I
-
method_33718
- Mappings:
Namespace Name Mixin selector official h
Lrc;h()Z
intermediary method_33718
Lnet/minecraft/class_2708;method_33718()Z
named method_33718
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;method_33718()Z
-
getFlags
- Mappings:
Namespace Name Mixin selector official i
Lrc;i()Ljava/util/Set;
intermediary method_11733
Lnet/minecraft/class_2708;method_11733()Ljava/util/Set;
named getFlags
Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;getFlags()Ljava/util/Set;
-