类 ClientboundPlayerLookAtPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerLookAtPacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundPlayerLookAtPacket
extends Object
implements Packet<ClientGamePacketListener>
-
字段概要
字段修饰符和类型字段说明private final boolean
private final int
private final EntityAnchorArgument.Anchor
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerLookAtPacket> private final EntityAnchorArgument.Anchor
private final double
private final double
private final double
-
构造器概要
构造器限定符构造器说明ClientboundPlayerLookAtPacket
(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_) private
ClientboundPlayerLookAtPacket
(FriendlyByteBuf p_179146_) -
方法概要
修饰符和类型方法说明getPosition
(Level p_132786_) void
handle
(ClientGamePacketListener p_132792_) type()
private void
write
(FriendlyByteBuf p_132795_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
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
-
-
构造器详细资料
-
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
-
-
方法详细资料
-
write
-
type
- 指定者:
type
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getFromAnchor
-
getPosition
-