Package net.minecraft.stats
Class ServerStatsCounter
java.lang.Object
net.minecraft.stats.StatsCounter
net.minecraft.stats.ServerStatsCounter
-
Field Summary
Modifier and TypeFieldDescriptionprivate final File
private static final org.slf4j.Logger
private final MinecraftServer
Fields inherited from class net.minecraft.stats.StatsCounter
stats
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static CompoundTag
fromJson
(com.google.gson.JsonObject p_12831_) getDirty()
private static <T> ResourceLocation
void
void
parseLocal
(com.mojang.datafixers.DataFixer p_12833_, String p_12834_) void
save()
void
sendStats
(ServerPlayer p_12820_) void
protected String
toJson()
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:
setValue
in classStatsCounter
-
getDirty
-
parseLocal
-
getStat
-
fromJson
-
toJson
-
getKey
-
markAllDirty
public void markAllDirty() -
sendStats
-