Enum Class PetCosmetics

java.lang.Object
java.lang.Enum<PetCosmetics>
me.gamercoder215.starcosmetics.api.cosmetics.pet.PetCosmetics
All Implemented Interfaces:
Serializable, Comparable<PetCosmetics>, Constable

public enum PetCosmetics extends Enum<PetCosmetics>

Setting used to determine whether or not a Pet replicates the cosmetics of its owner.

This setting will only apply to:

More may be added in the future.

  • Enum Constant Details

    • OWNER_ONLY

      public static final PetCosmetics OWNER_ONLY
      Applicable Cosmetics will only apply to you (Default).
    • STARCOSMETICS_PET_ONLY

      public static final PetCosmetics STARCOSMETICS_PET_ONLY
      Applicable Cosmetics will apply to you and your StarCosmetics Pet.
    • TAMEABLES_ONLY

      public static final PetCosmetics TAMEABLES_ONLY
      Applicable Cosmetics will apply to you and any Tameables you own.
    • ALL

      public static final PetCosmetics ALL
      Applicable Cosmetics will apply to you, Tameables you own, and your StarCosmetics Pet.
  • Method Details

    • values

      public static PetCosmetics[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PetCosmetics valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isStarPet

      public boolean isStarPet()
      Whether the setting applies to StarCosmetics Pets.
      Returns:
      true if applies, false otherwise
    • isTameables

      public boolean isTameables()
      Whether the setting applies to Tameables.
      Returns:
      true if applies, false otherwise