Interface Completion

All Known Implementing Classes:
PlayerCompletion, StructureCompletion

public interface Completion
Represents any Completion a player can achieve.
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull CompletionCriteria
    Fetches the criteria for this Completion.
    default @NotNull String
    Constructs the Completion's full key.
    @NotNull String
    Fetches the key used in the config to fetch whether this Completion is done.
    @NotNull String
    Fetches the namespace of this Completion.
    @NotNull Rarity
    Fetches the Rarity of this Completion.
  • Method Details

    • getCriteria

      @NotNull default @NotNull CompletionCriteria getCriteria()
      Fetches the criteria for this Completion.
      Returns:
      Completion Criteria
    • getKey

      @NotNull @NotNull String getKey()
      Fetches the key used in the config to fetch whether this Completion is done.
      Returns:
      Completion Configuration Key
    • getNamespace

      @NotNull @NotNull String getNamespace()
      Fetches the namespace of this Completion.
      Returns:
      Completion Namespace
    • getRarity

      @NotNull @NotNull Rarity getRarity()
      Fetches the Rarity of this Completion.
      Returns:
      Completion Rarity
    • getFullKey

      @NotNull default @NotNull String getFullKey()
      Constructs the Completion's full key.
      Returns:
      Full Key