Class ClientboundPlayerInfoPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundPlayerInfoPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionClientboundPlayerInfoPacket(FriendlyByteBuf p_179081_)
ClientboundPlayerInfoPacket(ClientboundPlayerInfoPacket.Action p_179083_, Collection<ServerPlayer> p_179084_)
ClientboundPlayerInfoPacket(ClientboundPlayerInfoPacket.Action p_132724_, ServerPlayer... p_132725_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle(ClientGamePacketListener p_132731_)
(package private) static Component
readDisplayName(FriendlyByteBuf p_179089_)
toString()
void
write(FriendlyByteBuf p_132734_)
(package private) static void
writeDisplayName(FriendlyByteBuf p_179086_, Component p_179087_)
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
-
Field Details
-
action
-
entries
-
-
Constructor Details
-
ClientboundPlayerInfoPacket
public ClientboundPlayerInfoPacket(ClientboundPlayerInfoPacket.Action p_132724_, ServerPlayer... p_132725_) -
ClientboundPlayerInfoPacket
public ClientboundPlayerInfoPacket(ClientboundPlayerInfoPacket.Action p_179083_, Collection<ServerPlayer> p_179084_) -
ClientboundPlayerInfoPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getEntries
-
getAction
-
readDisplayName
-
writeDisplayName
-
toString
-