Class StatsCounter

java.lang.Object
net.minecraft.stats.StatsCounter
Direct Known Subclasses:
ServerStatsCounter

public class StatsCounter extends Object
  • Field Details

    • stats

      protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> stats
  • Constructor Details

    • StatsCounter

      public StatsCounter()
  • Method Details

    • increment

      public void increment(Player p_13024_, Stat<?> p_13025_, int p_13026_)
    • setValue

      public void setValue(Player p_13020_, Stat<?> p_13021_, int p_13022_)
    • getValue

      public <T> int getValue(StatType<T> p_13018_, T p_13019_)
    • getValue

      public int getValue(Stat<?> p_13016_)