public static enum CooldownUtils.CooldownType extends Enum<CooldownUtils.CooldownType>
| Modifier and Type | Field and Description |
|---|---|
static CooldownUtils.CooldownType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static CooldownUtils.CooldownType |
getByName(String name)
Convert the CooldownType string (from config) to the enum, TITLE on fail
|
static CooldownUtils.CooldownType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CooldownUtils.CooldownType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CooldownUtils.CooldownType TITLE
public static final CooldownUtils.CooldownType ACTIONBAR
public static final CooldownUtils.CooldownType DISABLED
public static final CooldownUtils.CooldownType[] VALUES
public static CooldownUtils.CooldownType[] values()
for (CooldownUtils.CooldownType c : CooldownUtils.CooldownType.values()) System.out.println(c);
public static CooldownUtils.CooldownType 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 static CooldownUtils.CooldownType getByName(String name)
name - CooldownType stringCopyright © 2021 GeyserMC. All rights reserved.