Class FitnessBoost

java.lang.Object
nl.minetopiasdb.api.playerdata.fitness.boost.FitnessBoost

public class FitnessBoost extends Object
FitnessBoost object
  • Constructor Details

    • FitnessBoost

      public FitnessBoost(UUID uuid, int fitness, long expiresOn)
  • Method Details

    • getUUID

      public UUID getUUID()
      UUID of player
      Returns:
      uuid of player
    • getFitness

      public int getFitness()
      Amount of added fitness (or removed if returned value is less than 0)
      Returns:
      the amount of added fitness
    • getExpiresOn

      public long getExpiresOn()
      Get the time where the booster will expire in milliseconds since unix epoch.
      Returns:
      time in milliseconds