Enum Class EffectType

java.lang.Object
java.lang.Enum<EffectType>
me.emafire003.dev.particleanimationlib.EffectType
All Implemented Interfaces:
Serializable, Comparable<EffectType>, Constable, net.minecraft.util.StringIdentifiable

public enum EffectType extends Enum<EffectType> implements net.minecraft.util.StringIdentifiable
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable

    net.minecraft.util.StringIdentifiable.BasicCodec<S extends net.minecraft.util.StringIdentifiable>, net.minecraft.util.StringIdentifiable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringIdentifiable>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Effect is once delayed played.
    Effect is once played instantly.
    Effect is several times played instantly.
  • Field Summary

    Fields inherited from interface net.minecraft.util.StringIdentifiable

    CACHED_MAP_THRESHOLD
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static EffectType
    Returns the enum constant of this class with the specified name.
    static EffectType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • INSTANT

      public static final EffectType INSTANT
      Effect is once played instantly. Currently unused v 0.0.1
    • REPEATING

      public static final EffectType REPEATING
      Effect is several times played instantly. Set the interval with
    • DELAYED

      public static final EffectType DELAYED
      Effect is once delayed played. Set delay with Currently unused v 0.0.1
  • Method Details

    • values

      public static EffectType[] 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 EffectType 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
    • asString

      public String asString()
      Specified by:
      asString in interface net.minecraft.util.StringIdentifiable