Class SPlayerLookPacket
java.lang.Object
net.minecraft.network.play.server.SPlayerLookPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private int
private EntityAnchorArgument.Type
private EntityAnchorArgument.Type
private double
private double
private double
-
Constructor Summary
ConstructorDescriptionSPlayerLookPacket
(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_) -
Method Summary
Modifier and TypeMethodDescriptiongetPosition
(World p_200531_1_) void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
x
private double x -
y
private double y -
z
private double z -
entity
private int entity -
fromAnchor
-
toAnchor
-
atEntity
private boolean atEntity
-
-
Constructor Details
-
SPlayerLookPacket
public SPlayerLookPacket() -
SPlayerLookPacket
public SPlayerLookPacket(EntityAnchorArgument.Type p_i48589_1_, double p_i48589_2_, double p_i48589_4_, double p_i48589_6_) -
SPlayerLookPacket
public SPlayerLookPacket(EntityAnchorArgument.Type p_i48590_1_, Entity p_i48590_2_, EntityAnchorArgument.Type p_i48590_3_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getFromAnchor
-
getPosition
-