Interface Pet
public interface Pet
Represents an active StarCosmetics Pet.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull ArmorStandFetches the Pet's Bukkit Entity.default @NotNull PetInfogetInfo()Fetches the Pet's Information.@NotNull PlayergetOwner()Fetches the Pet's Owner.default @NotNull StringFetches the Pet's Display Name based ongetOwner().@NotNull PetTypeFetches this Pet'sPetType.default @NotNull RarityFetches the Pet's Rarity.
-
Field Details
-
PET_TAG
The Scoreboard Tag for a StarCosmetics Pet.- See Also:
-
-
Method Details
-
getEntity
Fetches the Pet's Bukkit Entity.- Returns:
- Entity Type
-
getRarity
Fetches the Pet's Rarity.- Returns:
- Pet Rarity
-
getInfo
Fetches the Pet's Information.- Returns:
- Pet Info
-
getOwner
Fetches the Pet's Owner.- Returns:
- Pet Owner
-
getPetName
Fetches the Pet's Display Name based ongetOwner().- Returns:
- Pet Display Name with Owner
-
getPetType
Fetches this Pet'sPetType.- Returns:
- Pet Type
-