public class StatisticsManagerServer extends StatisticsManager
statsData
Constructor and Description |
---|
StatisticsManagerServer(MinecraftServer serverIn,
java.io.File statsFileIn) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
dumpJson(java.util.Map<StatBase,TupleIntJsonSerializable> p_150880_0_) |
void |
markAllDirty() |
java.util.Map<StatBase,TupleIntJsonSerializable> |
parseJson(java.lang.String p_150881_1_) |
void |
readStatFile() |
void |
saveStatFile() |
void |
sendStats(EntityPlayerMP player) |
void |
unlockAchievement(EntityPlayer playerIn,
StatBase statIn,
int p_150873_3_) |
increaseStat, readStat
public StatisticsManagerServer(MinecraftServer serverIn, java.io.File statsFileIn)
public void readStatFile()
public void saveStatFile()
public void unlockAchievement(EntityPlayer playerIn, StatBase statIn, int p_150873_3_)
unlockAchievement
in class StatisticsManager
public java.util.Map<StatBase,TupleIntJsonSerializable> parseJson(java.lang.String p_150881_1_)
public static java.lang.String dumpJson(java.util.Map<StatBase,TupleIntJsonSerializable> p_150880_0_)
public void markAllDirty()
public void sendStats(EntityPlayerMP player)