Enum Class Channel

java.lang.Object
java.lang.Enum<Channel>
cromveil.combatnumbers.animation.Channel
All Implemented Interfaces:
Serializable, Comparable<Channel>, Constable

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

    • SCALE

      public static final Channel SCALE
    • X

      public static final Channel X
    • Y

      public static final Channel Y
    • OPACITY

      public static final Channel OPACITY
    • ROTATION

      public static final Channel ROTATION
  • Field Details

    • COUNT

      public static final int COUNT
    • DEFAULTS

      public static final float[] DEFAULTS
    • CODEC

      public static final com.mojang.serialization.Codec<Channel> CODEC
  • Method Details

    • values

      public static Channel[] 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 Channel 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
    • defaultValue

      public float defaultValue()
    • index

      public int index()
    • byName

      public static Channel byName(String name)