Skip to main content

Module stats_counter

Module stats_counter 

Source
Expand description

This module provides the StatsCounter, which keeps track of stats with their counters, and implements some stat-related functions for the player.

Structs§

StatsCounter
Manages the counters for every statistic for a particular player. Analogous to Vanilla’s ServerStatsCounter.java.

Enums§

StatState 🔒
This enum is used to decide if a stat is dirty or not, and whether it should be serialized or not.