public class SPlayerLookPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private int |
entityId |
private boolean |
isEntity |
private EntityAnchorArgument.Type |
sourceAnchor |
private EntityAnchorArgument.Type |
targetAnchor |
private double |
x |
private double |
y |
private double |
z |
Constructor and Description |
---|
SPlayerLookPacket() |
SPlayerLookPacket(EntityAnchorArgument.Type p_i48589_1_,
double p_i48589_2_,
double p_i48589_4_,
double p_i48589_6_) |
SPlayerLookPacket(EntityAnchorArgument.Type p_i48590_1_,
Entity p_i48590_2_,
EntityAnchorArgument.Type p_i48590_3_) |
Modifier and Type | Method and Description |
---|---|
EntityAnchorArgument.Type |
getSourceAnchor() |
Vec3d |
getTargetPosition(World p_200531_1_) |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private double x
private double y
private double z
private int entityId
private EntityAnchorArgument.Type sourceAnchor
private EntityAnchorArgument.Type targetAnchor
private boolean isEntity
public SPlayerLookPacket()
public SPlayerLookPacket(EntityAnchorArgument.Type p_i48589_1_, double p_i48589_2_, double p_i48589_4_, double p_i48589_6_)
public SPlayerLookPacket(EntityAnchorArgument.Type p_i48590_1_, Entity p_i48590_2_, EntityAnchorArgument.Type p_i48590_3_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public EntityAnchorArgument.Type getSourceAnchor()