@Environment(value=CLIENT) static enum ChunkBuilder.Result extends Enum<ChunkBuilder.Result>
Enum Constant and Description |
---|
CANCELLED |
SUCCESSFUL |
Modifier and Type | Method and Description |
---|---|
static ChunkBuilder.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkBuilder.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkBuilder.Result SUCCESSFUL
public static final ChunkBuilder.Result CANCELLED
public static ChunkBuilder.Result[] values()
for (ChunkBuilder.Result c : ChunkBuilder.Result.values()) System.out.println(c);
public static ChunkBuilder.Result 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