Package net.minecraft.stats
Class ServerStatsCounter
java.lang.Object
net.minecraft.stats.StatsCounter
net.minecraft.stats.ServerStatsCounter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Fileprivate static final org.slf4j.Loggerprivate final MinecraftServerFields inherited from class net.minecraft.stats.StatsCounterstats
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static CompoundTagfromJson(com.google.gson.JsonObject p_12831_) getDirty()private static <T> ResourceLocationvoidvoidparseLocal(com.mojang.datafixers.DataFixer p_12833_, String p_12834_) voidsave()voidsendStats(ServerPlayer p_12820_) voidprotected StringtoJson()Methods inherited from class net.minecraft.stats.StatsCountergetValue, getValue, increment
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
server
- 
file
- 
dirty
 
- 
- 
Constructor Details- 
ServerStatsCounter
 
- 
- 
Method Details- 
savepublic void save()
- 
setValue- Overrides:
- setValuein class- StatsCounter
 
- 
getDirty
- 
parseLocal
- 
getStat
- 
fromJson
- 
toJson
- 
getKey
- 
markAllDirtypublic void markAllDirty()
- 
sendStats
 
-