package net.minecraft.stats; import it.unimi.dsi.fastutil.objects.Object2IntMap; import it.unimi.dsi.fastutil.objects.Object2IntMaps; import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; import net.minecraft.world.entity.player.Player; /** * Manages counting a set of {@link net.minecraft.stats.Stat} objects, stored by a map of statistics to their count. *
* This base {@code StatsCounter} is only used client-side for keeping track of and reading counts sent from the server.
*
* @see net.minecraft.stats.ServerStatsCounter
*/
public class StatsCounter {
protected final Object2IntMap