Class StatisticsManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> stats  
    • Field Detail

      • stats

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

      • StatisticsManager

        public StatisticsManager()
    • 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_)