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

public enum TrailType extends Enum<TrailType>
Represents what the Trail will specifically apply to
  • Enum Constant Details

    • PROJECTILE

      public static final TrailType PROJECTILE
      Represents a Trail that will apply to a Player's thrown Projectiles
    • PROJECTILE_SOUND

      public static final TrailType PROJECTILE_SOUND
      Represents a Trail that will also apply to a Player's thrown Projectiles, but only with Sound
    • GROUND

      public static final TrailType GROUND
      Represents a Trail that will follow around a Player's Movements
  • Method Details

    • values

      public static TrailType[] 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 TrailType 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