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 SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprivate final intprivate final EntityAnchorArgument.Anchorprivate final EntityAnchorArgument.Anchorprivate final doubleprivate final doubleprivate final double
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundPlayerLookAtPacket(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 SummaryModifier and TypeMethodDescriptiongetPosition(Level p_132786_) voidhandle(ClientGamePacketListener p_132792_) voidwrite(FriendlyByteBuf p_132795_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
entityprivate final int entity
- 
fromAnchor
- 
toAnchor
- 
atEntityprivate final boolean atEntity
 
- 
- 
Constructor Details- 
ClientboundPlayerLookAtPacketpublic ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132777_, double p_132778_, double p_132779_, double p_132780_) 
- 
ClientboundPlayerLookAtPacketpublic ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132782_, Entity p_132783_, EntityAnchorArgument.Anchor p_132784_) 
- 
ClientboundPlayerLookAtPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getFromAnchor
- 
getPosition
 
-