Class ServerStatsCounter

java.lang.Object
net.minecraft.stats.StatsCounter
net.minecraft.stats.ServerStatsCounter

public class ServerStatsCounter extends StatsCounter
Server-side implementation of StatsCounter; handles counting, serialising, and de-serialising statistics, as well as sending them to connected clients via the award stats packet.
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • server

      private final MinecraftServer server
    • file

      private final File file
    • dirty

      private final Set<Stat<?>> dirty
  • Constructor Details

  • Method Details