Class ClientboundPlayerLookAtPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerLookAtPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundPlayerLookAtPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate EntityAnchorArgument.Anchorprivate EntityAnchorArgument.Anchorprivate doubleprivate doubleprivate double -
Constructor Summary
ConstructorsConstructorDescriptionClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132777_, double p_132778_, double p_132779_, double p_132780_)ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132782_, Entity p_132783_, EntityAnchorArgument.Anchor p_132784_)ClientboundPlayerLookAtPacket(FriendlyByteBuf p_179146_) -
Method Summary
Modifier and TypeMethodDescriptiongetPosition(Level p_132786_)voidhandle(ClientGamePacketListener p_132792_)voidwrite(FriendlyByteBuf p_132795_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
x
private final double x -
y
private final double y -
z
private final double z -
entity
private final int entity -
fromAnchor
-
toAnchor
-
atEntity
private final boolean atEntity
-
-
Constructor Details
-
ClientboundPlayerLookAtPacket
public ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132777_, double p_132778_, double p_132779_, double p_132780_) -
ClientboundPlayerLookAtPacket
public ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132782_, Entity p_132783_, EntityAnchorArgument.Anchor p_132784_) -
ClientboundPlayerLookAtPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getFromAnchor
-
getPosition
-