net.minecraft.stats

public class ServerStatsCounter

extends StatsCounter

avv
net.minecraft.stats.ServerStatsCounter
net.minecraft.class_3442
net.minecraft.stat.ServerStatHandler
net.minecraft.src.C_130_
net.minecraft.stats.ServerStatisticManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_15309
LOGGER
f_12809_
private final MinecraftServer
c
server
field_15308
server
f_12810_
private final File
d
file
field_15305
file
f_12811_
private final Set<Stat<?>>
e
dirty
field_15307
pendingStats
f_12812_

Constructor summary

ModifierConstructor
public (MinecraftServer server, File file)

Method summary

Modifier and TypeMethod
public void
a()
save()
method_14912()
save()
m_12818_()
public void
a(cmx arg0, avw<?> arg1, int arg2)
setValue(Player arg0, Stat<?> arg1, int arg2)
method_15023(class_1657 arg0, class_3445<?> arg1, int arg2)
setStat(PlayerEntity arg0, Stat<?> arg1, int arg2)
m_6085_(C_1141_ p_12828_, C_131_<?> p_12829_, int arg2)
private Set<Stat<?>>
d()
getDirty()
method_14909()
takePendingStats()
m_12851_()
public void
a(com.mojang.datafixers.DataFixer arg0, String arg1)
parseLocal(com.mojang.datafixers.DataFixer arg0, String arg1)
method_14906(com.mojang.datafixers.DataFixer arg0, String arg1)
parse(com.mojang.datafixers.DataFixer dataFixer, String json)
m_12832_(com.mojang.datafixers.DataFixer p_12834_, String arg1)
private <T> Optional<Stat<T>>
a(avy<T> arg0, String arg1)
getStat(StatType<T> arg0, String arg1)
method_14905(class_3448<T> arg0, String arg1)
createStat(StatType<T> type, String id)
m_12823_(C_133_<T> p_12825_, String arg1)
private static CompoundTag
a(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject arg0)
method_14908(com.google.gson.JsonObject arg0)
jsonToCompound(com.google.gson.JsonObject json)
m_12830_(com.google.gson.JsonObject p_12831_)
protected String
b()
toJson()
method_14911()
asString()
m_12845_()
private static <T> ResourceLocation
b(avw<T> arg0)
getKey(Stat<T> arg0)
method_14907(class_3445<T> arg0)
getStatId(Stat<T> stat)
m_12846_(C_131_<T> p_12847_)
public void
c()
markAllDirty()
method_14914()
updateStatSet()
m_12850_()
public void
a(aqv arg0)
sendStats(ServerPlayer arg0)
method_14910(class_3222 arg0)
sendStats(ServerPlayerEntity player)
m_12819_(C_13_ arg0)