java.lang.Object
java.lang.Enum<TeamColor>
org.geysermc.mcprotocollib.protocol.data.game.scoreboard.TeamColor
All Implemented Interfaces:
Serializable, Comparable<TeamColor>, Constable

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

    • BLACK

      public static final TeamColor BLACK
    • DARK_BLUE

      public static final TeamColor DARK_BLUE
    • DARK_GREEN

      public static final TeamColor DARK_GREEN
    • DARK_AQUA

      public static final TeamColor DARK_AQUA
    • DARK_RED

      public static final TeamColor DARK_RED
    • DARK_PURPLE

      public static final TeamColor DARK_PURPLE
    • GOLD

      public static final TeamColor GOLD
    • GRAY

      public static final TeamColor GRAY
    • DARK_GRAY

      public static final TeamColor DARK_GRAY
    • BLUE

      public static final TeamColor BLUE
    • GREEN

      public static final TeamColor GREEN
    • AQUA

      public static final TeamColor AQUA
    • RED

      public static final TeamColor RED
    • LIGHT_PURPLE

      public static final TeamColor LIGHT_PURPLE
    • YELLOW

      public static final TeamColor YELLOW
    • WHITE

      public static final TeamColor WHITE
  • 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
    • from

      public static TeamColor from(int id)