Package net.minecraft.stats
Class ServerStatsCounter
java.lang.Object
net.minecraft.stats.StatsCounter
net.minecraft.stats.ServerStatsCounter
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Fileprivate static final org.slf4j.Loggerprivate final MinecraftServerFields inherited from class net.minecraft.stats.StatsCounter
stats - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.StatsCounter
getValue, getValue, increment 
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
server
 - 
file
 - 
dirty
 
 - 
 - 
Constructor Details
- 
ServerStatsCounter
 
 - 
 - 
Method Details
- 
save
public void save() - 
setValue
- Overrides:
 setValuein classStatsCounter
 - 
getDirty
 - 
parseLocal
 - 
getStat
 - 
fromJson
 - 
toJson
 - 
getKey
 - 
markAllDirty
public void markAllDirty() - 
sendStats
 
 -