类 ClientboundSetDefaultSpawnPositionPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetDefaultSpawnPositionPacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundSetDefaultSpawnPositionPacket
extends Object
implements Packet<ClientGamePacketListener>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明float
getAngle()
getPos()
void
handle
(ClientGamePacketListener p_133122_) type()
private void
write
(FriendlyByteBuf p_133125_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
public static final StreamCodec<FriendlyByteBuf,ClientboundSetDefaultSpawnPositionPacket> STREAM_CODEC -
pos
-
angle
private final float angle
-
-
构造器详细资料
-
ClientboundSetDefaultSpawnPositionPacket
-
ClientboundSetDefaultSpawnPositionPacket
-
-
方法详细资料
-
write
-
type
- 指定者:
type
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getPos
-
getAngle
public float getAngle()
-