public class StatisticsManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> |
statsData |
Constructor and Description |
---|
StatisticsManager() |
Modifier and Type | Method and Description |
---|---|
int |
getValue(Stat<?> stat) |
<T> int |
getValue(StatType<T> p_199060_1_,
T p_199060_2_) |
void |
increment(PlayerEntity player,
Stat<?> stat,
int amount) |
void |
setValue(PlayerEntity playerIn,
Stat<?> statIn,
int p_150873_3_) |
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> statsData
public void increment(PlayerEntity player, Stat<?> stat, int amount)
public void setValue(PlayerEntity playerIn, Stat<?> statIn, int p_150873_3_)
public <T> int getValue(StatType<T> p_199060_1_, T p_199060_2_)
public int getValue(Stat<?> stat)