net.minecraft.network.protocol.game

public class ClientboundPlayerLookAtPacket

implements Packet<ClientGamePacketListener>

wo
net.minecraft.network.protocol.game.ClientboundPlayerLookAtPacket
net.minecraft.class_2707
net.minecraft.network.packet.s2c.play.LookAtS2CPacket
net.minecraft.src.C_5095_
net.minecraft.network.protocol.game.PacketPlayOutLookAt

Field summary

Modifier and TypeField
private final double
a
x
field_12386
targetX
f_132768_
private final double
b
y
field_12384
targetY
f_132769_
private final double
c
z
field_12383
targetZ
f_132770_
private final int
d
entity
field_12388
entityId
f_132771_
private final EntityAnchorArgument$Anchor
e
fromAnchor
field_12385
selfAnchor
f_132772_
private final EntityAnchorArgument$Anchor
f
toAnchor
field_12389
targetAnchor
f_132773_
private final boolean
g
atEntity
field_12387
lookAtEntity
f_132774_

Constructor summary

ModifierConstructor
public (EntityAnchorArgument$Anchor selfAnchor, double targetX, double targetY, double targetZ)
public (EntityAnchorArgument$Anchor selfAnchor, Entity entity, EntityAnchorArgument$Anchor targetAnchor)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(sd arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(uk arg0)
handle(ClientGamePacketListener arg0)
method_11731(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public EntityAnchorArgument$Anchor
b()
getFromAnchor()
method_11730()
getSelfAnchor()
m_132793_()
public Vec3
a(cjw arg0)
getPosition(Level arg0)
method_11732(class_1937 arg0)
getTargetPosition(World world)
m_132785_(C_1596_ arg0)