net.minecraft.network.protocol.game

public class ClientboundPlayerLookAtPacket

implements Packet<ClientGamePacketListener>

aeb
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
public static final StreamCodec<FriendlyByteBuf, ClientboundPlayerLookAtPacket>
a
STREAM_CODEC
field_47956
CODEC
f_315482_
private final double
b
x
field_12386
targetX
f_132768_
private final double
c
y
field_12384
targetY
f_132769_
private final double
d
z
field_12383
targetZ
f_132770_
private final int
e
entity
field_12388
entityId
f_132771_
private final EntityAnchorArgument$Anchor
f
fromAnchor
field_12385
selfAnchor
f_132772_
private final EntityAnchorArgument$Anchor
g
toAnchor
field_12389
targetAnchor
f_132773_
private final boolean
h
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)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55903(class_2540 arg0)
write(PacketByteBuf buf)
m_132794_(C_4983_ arg0)
public PacketType<ClientboundPlayerLookAtPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu 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(dcw arg0)
getPosition(Level arg0)
method_11732(class_1937 arg0)
getTargetPosition(World world)
m_132785_(C_1596_ arg0)