Enum Class TeamColor

java.lang.Object
java.lang.Enum<TeamColor>
org.screamingsandals.bedwars.api.TeamColor
All Implemented Interfaces:
Serializable, Comparable<TeamColor>, Constable

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

    • BLACK

      public static final TeamColor BLACK
    • BLUE

      public static final TeamColor BLUE
    • GREEN

      public static final TeamColor GREEN
    • RED

      public static final TeamColor RED
    • MAGENTA

      public static final TeamColor MAGENTA
    • ORANGE

      public static final TeamColor ORANGE
    • LIGHT_GRAY

      public static final TeamColor LIGHT_GRAY
    • GRAY

      public static final TeamColor GRAY
    • LIGHT_BLUE

      public static final TeamColor LIGHT_BLUE
    • LIME

      public static final TeamColor LIME
    • CYAN

      public static final TeamColor CYAN
    • PINK

      public static final TeamColor PINK
    • YELLOW

      public static final TeamColor YELLOW
    • WHITE

      public static final TeamColor WHITE
    • BROWN

      public static final TeamColor BROWN
  • Method Details

    • values

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