Package net.minecraft.stats
Class StatisticsManager
- java.lang.Object
-
- net.minecraft.stats.StatisticsManager
-
- Direct Known Subclasses:
ServerStatisticsManager
public class StatisticsManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StatisticsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue(Stat<?> p_77444_1_)
<T> int
getValue(StatType<T> p_199060_1_, T p_199060_2_)
void
increment(PlayerEntity p_150871_1_, Stat<?> p_150871_2_, int p_150871_3_)
void
setValue(PlayerEntity p_150873_1_, Stat<?> p_150873_2_, int p_150873_3_)
-
-
-
Field Detail
-
stats
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> stats
-
-
Method Detail
-
increment
public void increment(PlayerEntity p_150871_1_, Stat<?> p_150871_2_, int p_150871_3_)
-
setValue
public void setValue(PlayerEntity p_150873_1_, Stat<?> p_150873_2_, int p_150873_3_)
-
getValue
public <T> int getValue(StatType<T> p_199060_1_, T p_199060_2_)
-
getValue
public int getValue(Stat<?> p_77444_1_)
-
-