Class StatisticsMock

java.lang.Object
be.seeseemelk.mockbukkit.statistic.StatisticsMock

public class StatisticsMock extends Object
An implementation of player statistics, similar to CraftStatistic
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decrementStatistic(@NotNull org.bukkit.Statistic statistic, int amount)
    Implementation of OfflinePlayer.decrementStatistic(Statistic, int)
    void
    decrementStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entity, int amount)
    Implementation of OfflinePlayer.decrementStatistic(Statistic, EntityType, int)
    void
    decrementStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material, int amount)
    Implementation of OfflinePlayer.decrementStatistic(Statistic, Material, int)
    int
    getStatistic(@NotNull org.bukkit.Statistic statistic)
    Implementation of OfflinePlayer.getStatistic(Statistic)
    int
    getStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entity)
    Implementation of OfflinePlayer.getStatistic(Statistic, EntityType)
    int
    getStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material)
    Implementation of OfflinePlayer.getStatistic(Statistic, Material)
    void
    incrementStatistic(@NotNull org.bukkit.Statistic statistic, int amount)
    Implementation of OfflinePlayer.incrementStatistic(Statistic, int)
    void
    incrementStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entity, int amount)
    Implementation of OfflinePlayer.incrementStatistic(Statistic, EntityType, int)
    void
    incrementStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material, int amount)
    Implementation of OfflinePlayer.incrementStatistic(Statistic, Material, int)
    void
    setStatistic(@NotNull org.bukkit.Statistic statistic, int amount)
    Implementation of OfflinePlayer.setStatistic(Statistic, int)
    void
    setStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.entity.EntityType entity, int amount)
    Implementation of OfflinePlayer.setStatistic(Statistic, EntityType, int)
    void
    setStatistic(@NotNull org.bukkit.Statistic statistic, @NotNull org.bukkit.Material material, int amount)
    Implementation of OfflinePlayer.setStatistic(Statistic, Material, int)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StatisticsMock

      public StatisticsMock()
  • Method Details

    • setStatistic

      public void setStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, int amount)
      Implementation of OfflinePlayer.setStatistic(Statistic, int)
    • setStatistic

      public void setStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material, int amount)
      Implementation of OfflinePlayer.setStatistic(Statistic, Material, int)
    • setStatistic

      public void setStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entity, int amount)
      Implementation of OfflinePlayer.setStatistic(Statistic, EntityType, int)
    • incrementStatistic

      public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, int amount)
      Implementation of OfflinePlayer.incrementStatistic(Statistic, int)
    • incrementStatistic

      public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material, int amount)
      Implementation of OfflinePlayer.incrementStatistic(Statistic, Material, int)
    • incrementStatistic

      public void incrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entity, int amount)
      Implementation of OfflinePlayer.incrementStatistic(Statistic, EntityType, int)
    • decrementStatistic

      public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, int amount)
      Implementation of OfflinePlayer.decrementStatistic(Statistic, int)
    • decrementStatistic

      public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material, int amount)
      Implementation of OfflinePlayer.decrementStatistic(Statistic, Material, int)
    • decrementStatistic

      public void decrementStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entity, int amount)
      Implementation of OfflinePlayer.decrementStatistic(Statistic, EntityType, int)
    • getStatistic

      public int getStatistic(@NotNull @NotNull org.bukkit.Statistic statistic)
      Implementation of OfflinePlayer.getStatistic(Statistic)
    • getStatistic

      public int getStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.Material material)
      Implementation of OfflinePlayer.getStatistic(Statistic, Material)
    • getStatistic

      public int getStatistic(@NotNull @NotNull org.bukkit.Statistic statistic, @NotNull @NotNull org.bukkit.entity.EntityType entity)
      Implementation of OfflinePlayer.getStatistic(Statistic, EntityType)