java.lang.Object
me.gamercoder215.starcosmetics.api.cosmetics.pet.PetInfo

public class PetInfo extends Object
Represents Pet Information, spawned or not
  • Method Details

    • getRarity

      @NotNull public @NotNull Rarity getRarity()
      Fetches the Pet's Rarity.
      Returns:
      Pet Rarity
    • getIcon

      @NotNull public @NotNull ItemStack getIcon()
      Fetches the Pet's Icon.
      Returns:
      Pet Icon
    • getCriteria

      @NotNull public @NotNull CompletionCriteria getCriteria()
      Fetches the CompletionCrtieria needed to unlock the Pet.
      Returns:
      CompletionCriteria
    • getName

      public String getName()
      Fetches the Pet's Display Name.
      Returns:
      Pet Display Name