public enum Desire extends Enum<Desire>
Modifier and Type | Method and Description |
---|---|
net.md_5.bungee.api.ChatColor |
getHighColor()
Gets the color to display when the numerical value is higher than desired.
|
net.md_5.bungee.api.ChatColor |
getLowColor()
Gets the color to display when the numerical value is lower than desired.
|
static Desire |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Desire[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Desire[] values()
for (Desire c : Desire.values()) System.out.println(c);
public static Desire valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic net.md_5.bungee.api.ChatColor getHighColor()
public net.md_5.bungee.api.ChatColor getLowColor()
Copyright © 2020. All rights reserved.