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

public enum PetType extends Enum<PetType>
Represents all of the Pet Types.
  • Enum Constant Details

    • BEE

      public static final PetType BEE
      Represents a Bee.
    • RABBIT

      public static final PetType RABBIT
      Represents a Rabbit.
    • GIRAFFE

      public static final PetType GIRAFFE
      Represents a Giraffe.
    • DOLPHIN

      public static final PetType DOLPHIN
      Represents a Dolphin.
    • LLAMA

      public static final PetType LLAMA
      Represents a Llama.
    • POLAR_BEAR

      public static final PetType POLAR_BEAR
      Represents a Polar Bear.
    • ELEPHANT

      public static final PetType ELEPHANT
      Represents an Elephant.
    • PANDA

      public static final PetType PANDA
      Represents a Panda.
    • FOX

      public static final PetType FOX
      Represents a Fox.
    • NARWHAL

      public static final PetType NARWHAL
      Represents a Narwhal.
    • PUFFERFISH

      public static final PetType PUFFERFISH
      Represents a Pufferfish.
    • GORILLA

      public static final PetType GORILLA
      Represents a Gorilla.
    • STRIDER

      public static final PetType STRIDER
      Represents a Strider.
    • TARDIGRADE

      public static final PetType TARDIGRADE
      Represents a Tardigrade.
    • HUMMINGBIRD

      public static final PetType HUMMINGBIRD
      Represents a Hummingbird.
    • AXOLOTL

      public static final PetType AXOLOTL
      Represents an Axolotl.
    • CAPYBARA

      public static final PetType CAPYBARA
      Represents a Capybara.
    • MOUSE

      public static final PetType MOUSE
      Represents a Mouse.
    • TIGER

      public static final PetType TIGER
      Represents a Tiger.
    • BLAZE

      public static final PetType BLAZE
      Represents a Blaze.
    • JELLYFISH

      public static final PetType JELLYFISH
      Represents a Jellyfish.
    • WHALE

      public static final PetType WHALE
      Represents a Whale.
    • SLIME

      public static final PetType SLIME
      Represents a Slime.
    • UNICORN

      public static final PetType UNICORN
      Represents a Unicorn.
    • DEMOGORGON

      public static final PetType DEMOGORGON
      Represents a Demogorgon.
    • TARANTULA

      public static final PetType TARANTULA
      Represents a Tarantula.
    • GEKKO

      public static final PetType GEKKO
      Represents a Gekko.
    • EAGLE

      public static final PetType EAGLE
      Represents an Eagle.
  • Method Details

    • values

      public static PetType[] 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 PetType 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
    • getInfo

      @NotNull public @NotNull PetInfo getInfo()
      Fetches the Pet Information associated with this PetType.
      Returns:
      Pet Information
    • getAmbientSound

      @NotNull public @NotNull Sound getAmbientSound()
      Fetches the sound that is played ambiently, when this Pet is spawned.
      Returns:
      Ambient Pet Sound
    • getAmbientPitch

      public float getAmbientPitch()
      Fetches the pitch of the ambient sound.
      Returns:
      Ambient Sound Pitch
    • getRarity

      @NotNull public @NotNull Rarity getRarity()
      Fetches this PetType's Rarity.
      Returns:
      Pet Rarity