Enum Class LineColor

java.lang.Object
java.lang.Enum<LineColor>
com.mrbysco.measurements.config.LineColor
All Implemented Interfaces:
Serializable, Comparable<LineColor>, Constable

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

    • RANDOM

      public static final LineColor RANDOM
    • WHITE

      public static final LineColor WHITE
    • ORANGE

      public static final LineColor ORANGE
    • MAGENTA

      public static final LineColor MAGENTA
    • LIGHT_BLUE

      public static final LineColor LIGHT_BLUE
    • YELLOW

      public static final LineColor YELLOW
    • LIME

      public static final LineColor LIME
    • PINK

      public static final LineColor PINK
    • GRAY

      public static final LineColor GRAY
    • LIGHT_GRAY

      public static final LineColor LIGHT_GRAY
    • CYAN

      public static final LineColor CYAN
    • PURPLE

      public static final LineColor PURPLE
    • BLUE

      public static final LineColor BLUE
    • BROWN

      public static final LineColor BROWN
    • GREEN

      public static final LineColor GREEN
    • RED

      public static final LineColor RED
    • BLACK

      public static final LineColor BLACK
  • Method Details

    • values

      public static LineColor[] 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 LineColor 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
    • getColor

      public net.minecraft.world.item.DyeColor getColor(Random random)