public enum SubChunkRequestResult extends Enum<SubChunkRequestResult>
| Enum Constant and Description |
|---|
CHUNK_NOT_FOUND |
INDEX_OUT_OF_BOUNDS |
INVALID_DIMENSION |
PLAYER_NOT_FOUND |
SUCCESS |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static SubChunkRequestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubChunkRequestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubChunkRequestResult UNDEFINED
public static final SubChunkRequestResult SUCCESS
public static final SubChunkRequestResult CHUNK_NOT_FOUND
public static final SubChunkRequestResult INVALID_DIMENSION
public static final SubChunkRequestResult PLAYER_NOT_FOUND
public static final SubChunkRequestResult INDEX_OUT_OF_BOUNDS
public static SubChunkRequestResult[] values()
for (SubChunkRequestResult c : SubChunkRequestResult.values()) System.out.println(c);
public static SubChunkRequestResult 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 nullCopyright © 2018–2022 NukkitX. All rights reserved.