Uses of Interface
de.marcely.bedwars.api.player.PlayerStats
Packages that use PlayerStats
Package
Description
Events related to 
Player actions, or changes to player properties.Classes dedicated to fetching, updating, and saving player data/properties/stats in MBedwars.
- 
Uses of PlayerStats in de.marcely.bedwars.api.event.playerMethods in de.marcely.bedwars.api.event.player that return PlayerStatsModifier and TypeMethodDescriptionPlayerStatChangeEvent.getStats()Get thePlayerStatsin which the new value might get setConstructors in de.marcely.bedwars.api.event.player with parameters of type PlayerStatsModifierConstructorDescriptionPlayerStatChangeEvent(PlayerStats playerStats, boolean fromRemote, boolean async, String key, Number previous, Number after) 
- 
Uses of PlayerStats in de.marcely.bedwars.api.playerMethods in de.marcely.bedwars.api.player that return PlayerStatsModifier and TypeMethodDescription@Nullable PlayerStatsPlayerStats.getGameStats()Will return the stats of the round that the player currently plays.@Nullable PlayerStatsLeaderboardFetchResult.getStatsAtRank(int rank) Obtains the stats of the player at the given rank.Methods in de.marcely.bedwars.api.player that return types with arguments of type PlayerStatsModifier and TypeMethodDescriptionPlayerDataAPI.getCachedStats()Gets a collection of all currently cached player stats.PlayerDataAPI.getStatsCached(UUID id) Tries to get stats from the cache.default Optional<PlayerStats> PlayerDataAPI.getStatsCached(OfflinePlayer player) Tries to get stats from the cache.Methods in de.marcely.bedwars.api.player with parameters of type PlayerStatsModifier and TypeMethodDescriptiondefault voidPlayerStatSet.addValue(PlayerStats stats, Number amount) Will add value to the current valuePlayerStatSet.getDisplayedValue(PlayerStats stats) Returns what essentially will be displayed as the valuePlayerStatSet.getValue(PlayerStats stats) Similar toPlayerStatSet.getDisplayedValue(PlayerStats), but as a direct number
 Will amongst other things be used for the leaderboarddefault voidPlayerStatSet.setValue(PlayerStats stats, Number value) Stat can implement this for easier use for others wanting to modify itMethod parameters in de.marcely.bedwars.api.player with type arguments of type PlayerStatsModifier and TypeMethodDescriptionvoidPlayerDataAPI.getStats(UUID id, Consumer<PlayerStats> callback) Tries to fetch the stats of the player.default voidPlayerDataAPI.getStats(OfflinePlayer player, Consumer<PlayerStats> callback) Tries to fetch the stats of the player.voidPlayerDataAPI.getStatsByName(String name, Consumer<Optional<PlayerStats>> callback) Tries to fetch the stats of the player given by its name.Constructors in de.marcely.bedwars.api.player with parameters of type PlayerStatsModifierConstructorDescriptionLeaderboardFetchResult(PlayerStatSet statSet, int minRank, int maxRank, PlayerStats[] stats, PlayerProperties[] properties)