类 ClientboundPlayerInfoUpdatePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerInfoUpdatePacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundPlayerInfoUpdatePacket
extends Object
implements Packet<ClientGamePacketListener>
-
嵌套类概要
嵌套类修饰符和类型类说明static enum
static final record
(专用程序包) static class
-
字段概要
字段修饰符和类型字段说明private final EnumSet
<ClientboundPlayerInfoUpdatePacket.Action> private final List
<ClientboundPlayerInfoUpdatePacket.Entry> -
构造器概要
构造器限定符构造器说明ClientboundPlayerInfoUpdatePacket
(EnumSet<ClientboundPlayerInfoUpdatePacket.Action> p_251739_, Collection<ServerPlayer> p_251579_) ClientboundPlayerInfoUpdatePacket
(ClientboundPlayerInfoUpdatePacket.Action p_251648_, ServerPlayer p_252273_) private
-
方法概要
修饰符和类型方法说明actions()
createPlayerInitializing
(Collection<ServerPlayer> p_252314_) entries()
void
handle
(ClientGamePacketListener p_249935_) toString()
type()
private void
write
(RegistryFriendlyByteBuf p_332405_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf,ClientboundPlayerInfoUpdatePacket> STREAM_CODEC -
actions
-
entries
-
-
构造器详细资料
-
ClientboundPlayerInfoUpdatePacket
public ClientboundPlayerInfoUpdatePacket(EnumSet<ClientboundPlayerInfoUpdatePacket.Action> p_251739_, Collection<ServerPlayer> p_251579_) -
ClientboundPlayerInfoUpdatePacket
public ClientboundPlayerInfoUpdatePacket(ClientboundPlayerInfoUpdatePacket.Action p_251648_, ServerPlayer p_252273_) -
ClientboundPlayerInfoUpdatePacket
-
-
方法详细资料
-
createPlayerInitializing
public static ClientboundPlayerInfoUpdatePacket createPlayerInitializing(Collection<ServerPlayer> p_252314_) -
write
-
type
- 指定者:
type
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
actions
-
entries
-
newEntries
-
toString
-