public static enum IForgeDimension.SleepResult extends java.lang.Enum<IForgeDimension.SleepResult>
Enum Constant and Description |
---|
ALLOW |
BED_EXPLODES |
DENY |
Modifier and Type | Method and Description |
---|---|
static IForgeDimension.SleepResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IForgeDimension.SleepResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IForgeDimension.SleepResult ALLOW
public static final IForgeDimension.SleepResult DENY
public static final IForgeDimension.SleepResult BED_EXPLODES
public static IForgeDimension.SleepResult[] values()
for (IForgeDimension.SleepResult c : IForgeDimension.SleepResult.values()) System.out.println(c);
public static IForgeDimension.SleepResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null