public static enum BlockScore.State extends Enum<BlockScore.State>
Enum Constant and Description |
---|
DIMINISHING |
LIMIT |
NORMAL |
Modifier and Type | Method and Description |
---|---|
org.bukkit.ChatColor |
getColor()
Returns the chat-color associated with this state.
|
static BlockScore.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockScore.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockScore.State NORMAL
public static final BlockScore.State DIMINISHING
public static final BlockScore.State LIMIT
public static BlockScore.State[] values()
for (BlockScore.State c : BlockScore.State.values()) System.out.println(c);
public static BlockScore.State 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 org.bukkit.ChatColor getColor()
Copyright © 2016. All rights reserved.