Rank

enum Rank : Enum<Rank> (source)

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun format(name: String, msg: String): @NotNull Component
Link copied to clipboard
fun id(): Int
Link copied to clipboard
fun playerName(name: String): @NotNull Component
Link copied to clipboard
fun valueOf(value: String): Rank

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Rank>

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val color: TextColor
Link copied to clipboard
val format: Component
Link copied to clipboard
Link copied to clipboard