Interface GameStatisticProvider<T extends GameStatistic<?>>


public interface GameStatisticProvider<T extends GameStatistic<?>>
  • Method Summary

    Modifier and Type
    Method
    Description
    Default value used when initializing game stats.
    Unique statistic identifier.
    org.bukkit.plugin.Plugin
    Plugin provider.
    getVoidReplacement(@Nullable Language language)
    Display value for undetermined values.
  • Method Details

    • getIdentifier

      String getIdentifier()
      Unique statistic identifier.
    • getOwner

      org.bukkit.plugin.Plugin getOwner()
      Plugin provider.
      Returns:
      statistic owner.
    • getDefault

      T getDefault()
      Default value used when initializing game stats.
    • getVoidReplacement

      String getVoidReplacement(@Nullable @Nullable Language language)
      Display value for undetermined values.
      Parameters:
      language - desired translation.