public static enum BeehiveBlockEntity.BeeState extends Enum<BeehiveBlockEntity.BeeState>
Enum Constant and Description |
---|
BEE_RELEASED |
EMERGENCY |
HONEY_DELIVERED |
Modifier and Type | Method and Description |
---|---|
static BeehiveBlockEntity.BeeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeehiveBlockEntity.BeeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeehiveBlockEntity.BeeState HONEY_DELIVERED
public static final BeehiveBlockEntity.BeeState BEE_RELEASED
public static final BeehiveBlockEntity.BeeState EMERGENCY
public static BeehiveBlockEntity.BeeState[] values()
for (BeehiveBlockEntity.BeeState c : BeehiveBlockEntity.BeeState.values()) System.out.println(c);
public static BeehiveBlockEntity.BeeState 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 null