类 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
private final EntityAnchorArgument.Anchor
private final double
private final double
private final double
-
构造器概要
构造器构造器说明ClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor pFromAnchor, double pX, double pY, double pZ) ClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor pFromAnchor, Entity pEntity, EntityAnchorArgument.Anchor pToAnchor) -
方法概要
修饰符和类型方法说明getPosition
(Level pLevel) void
handle
(ClientGamePacketListener pHandler) void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
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 pFromAnchor, double pX, double pY, double pZ) -
ClientboundPlayerLookAtPacket
public ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor pFromAnchor, Entity pEntity, EntityAnchorArgument.Anchor pToAnchor) -
ClientboundPlayerLookAtPacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getFromAnchor
-
getPosition
-