Interface Progressable

All Known Subinterfaces:
AdvancementProgress, CriterionProgress, ScoreCriterionProgress

public interface Progressable
Represents the status that is achieved or is in the process of being achieved.
  • Method Details

    • achieved

      default boolean achieved()
      Gets whether this Progressable is achieved.
      Is achieved
    • get

      Gets the time that the Progressable was achieved if present.
      The achieving time, if present
    • grant

      Instant grant()
      Grants this Progressable, if achieved before that time will be returned.
      The achieving time
    • revoke

      Optional<Instant> revoke()
      Revokes the Progressable status. The time that the Progressable was achieved before will be returned if present.
      The previous achieving time, if present