net.minecraft.network.packet.s2c.play

public class PlayerListS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundPlayerInfoUpdatePacket
net.minecraft.class_2703
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, PlayerListS2CPacket>
STREAM_CODEC
field_47955
CODEC
private final EnumSet<PlayerListS2CPacket$Action>
actions
field_40698
actions
private final List<PlayerListS2CPacket$Entry>
entries
field_12369
entries

Constructor summary

ModifierConstructor
public (EnumSet<PlayerListS2CPacket$Action> actions, Collection<ServerPlayerEntity> players)
public (PlayerListS2CPacket$Action action, ServerPlayerEntity player)
private (RegistryByteBuf buf)

Method summary

Modifier and TypeMethod
public static PlayerListS2CPacket
createPlayerInitializing(Collection<ServerPlayer> players)
method_43886(Collection<class_3222> arg0)
entryFromPlayer(Collection<ServerPlayerEntity> players)
private void
write(RegistryFriendlyByteBuf output)
method_55902(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<PlayerListS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11721(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public EnumSet<PlayerListS2CPacket$Action>
actions()
method_46327()
getActions()
public List<PlayerListS2CPacket$Entry>
entries()
method_46329()
getEntries()
public List<PlayerListS2CPacket$Entry>
newEntries()
method_46330()
getPlayerAdditionEntries()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)
private void
lambda$write$0(FriendlyByteBuf arg0, ClientboundPlayerInfoUpdatePacket$Entry arg1)
method_46326(class_2540 arg0, class_2703$class_2705 arg1)
method_46326(PacketByteBuf buf2, PlayerListS2CPacket$Entry entry)
private PlayerListS2CPacket$Entry
lambda$new$0(FriendlyByteBuf arg0)
method_46328(class_2540 arg0)
method_46328(PacketByteBuf buf2)