ClientPlayerSet

interface ClientPlayerSet

Represents a set of players.

Inheritors

Functions

Link copied to clipboard
abstract fun addPlayer(@NotNull player: @NotNull McGameProfile)
Adds a player's game profile to the set.
Link copied to clipboard
abstract fun clearPlayers()
Clears all players from the set.
Link copied to clipboard
@NotNull
abstract fun getPlayers(): @NotNull Collection<McGameProfile>
Gets a collection of game profiles representing the players in the set.
Link copied to clipboard
abstract fun removePlayer(@NotNull playerId: @NotNull UUID): Boolean
Removes a player from the set by their unique player ID.