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 final booleanprivate final intprivate final EntityAnchorArgument.Anchorstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerLookAtPacket> private final EntityAnchorArgument.Anchorprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundPlayerLookAtPacket(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_) privateClientboundPlayerLookAtPacket(FriendlyByteBuf p_179146_) -
Method Summary
Modifier and TypeMethodDescriptiongetPosition(Level p_132786_) voidhandle(ClientGamePacketListener p_132792_) type()private 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
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
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getFromAnchor
-
getPosition
-