类 ClientboundTeleportEntityPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundTeleportEntityPacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundTeleportEntityPacket
extends Object
implements Packet<ClientGamePacketListener>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
getId()
double
getX()
byte
getxRot()
double
getY()
byte
getyRot()
double
getZ()
void
handle
(ClientGamePacketListener pHandler) boolean
void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
id
private final int id -
x
private final double x -
y
private final double y -
z
private final double z -
yRot
private final byte yRot -
xRot
private final byte xRot -
onGround
private final boolean onGround
-
-
构造器详细资料
-
ClientboundTeleportEntityPacket
-
ClientboundTeleportEntityPacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getId
public int getId() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getyRot
public byte getyRot() -
getxRot
public byte getxRot() -
isOnGround
public boolean isOnGround()
-