Enum Class TrailType

java.lang.Object
java.lang.Enum<TrailType>
me.totalfreedom.particle.TrailType
All Implemented Interfaces:
Serializable, Comparable<TrailType>, Constable

public enum TrailType extends Enum<TrailType>
  • Enum Constant Details

    • DEFAULT

      public static final TrailType DEFAULT
      Default trail type. Uses Particle.REDSTONE. This trail is colorable. Use Particle.DustOptions to set the particle properties.
    • HEART

      public static final TrailType HEART
      A trail that uses Particle.HEART. This is not modifiable and will always have the same size shape and color.
    • FLAME

      public static final TrailType FLAME
      A trail that uses Particle.FLAME. This is not modifiable and will always have the same size shape and color.
    • RAINBOW

      public static final TrailType RAINBOW
      A trail that uses Particle.REDSTONE. This particle however is rainbow-colored by default and cannot have additional options set.
    • MUSIC

      public static final TrailType MUSIC
      A trail that uses Particle.NOTE. This is colorable, however you are limited to the 24 different note colors available in Minecraft.
    • SNOW

      public static final TrailType SNOW
    • SPELL

      public static final TrailType SPELL
    • SPELL_AMBIENT

      public static final TrailType SPELL_AMBIENT
    • PORTAL

      public static final TrailType PORTAL
    • ENCHANTMENT

      public static final TrailType ENCHANTMENT
    • STROBE

      public static final TrailType STROBE
    • VIBRATION

      public static final TrailType VIBRATION
    • SPARK

      public static final TrailType SPARK
  • 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
    • getType

      public org.bukkit.Particle getType()