Class ClientboundPlayerInfoUpdatePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerInfoUpdatePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundPlayerInfoUpdatePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static final record
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EnumSet<ClientboundPlayerInfoUpdatePacket.Action>
private final List<ClientboundPlayerInfoUpdatePacket.Entry>
-
Constructor Summary
ConstructorDescriptionClientboundPlayerInfoUpdatePacket
(EnumSet<ClientboundPlayerInfoUpdatePacket.Action> p_251739_, Collection<ServerPlayer> p_251579_) ClientboundPlayerInfoUpdatePacket
(FriendlyByteBuf p_251820_) ClientboundPlayerInfoUpdatePacket
(ClientboundPlayerInfoUpdatePacket.Action p_251648_, ServerPlayer p_252273_) -
Method Summary
Modifier and TypeMethodDescriptionactions()
createPlayerInitializing
(Collection<ServerPlayer> p_252314_) entries()
void
handle
(ClientGamePacketListener p_249935_) toString()
void
write
(FriendlyByteBuf p_249907_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
actions
-
entries
-
-
Constructor Details
-
ClientboundPlayerInfoUpdatePacket
public ClientboundPlayerInfoUpdatePacket(EnumSet<ClientboundPlayerInfoUpdatePacket.Action> p_251739_, Collection<ServerPlayer> p_251579_) -
ClientboundPlayerInfoUpdatePacket
public ClientboundPlayerInfoUpdatePacket(ClientboundPlayerInfoUpdatePacket.Action p_251648_, ServerPlayer p_252273_) -
ClientboundPlayerInfoUpdatePacket
-
-
Method Details
-
createPlayerInitializing
public static ClientboundPlayerInfoUpdatePacket createPlayerInitializing(Collection<ServerPlayer> p_252314_) -
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
actions
-
entries
-
newEntries
-
toString
-