net.minecraft.network.protocol.game

public class ClientboundPlayerLookAtPacket

implements Packet<ClientGamePacketListener>

afa
net.minecraft.network.protocol.game.ClientboundPlayerLookAtPacket
net.minecraft.class_2707
net.minecraft.network.packet.s2c.play.LookAtS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutLookAt

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundPlayerLookAtPacket>
a
STREAM_CODEC
field_47956
CODEC
private final double
b
x
field_12386
targetX
private final double
c
y
field_12384
targetY
private final double
d
z
field_12383
targetZ
private final int
e
entity
field_12388
entityId
private final EntityAnchorArgument$Anchor
f
fromAnchor
field_12385
selfAnchor
private final EntityAnchorArgument$Anchor
g
toAnchor
field_12389
targetAnchor
private final boolean
h
atEntity
field_12387
lookAtEntity

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(ws arg0)
write(FriendlyByteBuf arg0)
method_55903(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundPlayerLookAtPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11731(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public EntityAnchorArgument$Anchor
b()
getFromAnchor()
method_11730()
getSelfAnchor()
public Vec3
a(dhi arg0)
getPosition(Level arg0)
method_11732(class_1937 arg0)
getTargetPosition(World world)