public enum ChunkState extends Enum<ChunkState>
Chunk
.Enum Constant and Description |
---|
LOADED
The chunk is fully generated and loaded into the world.
|
NOT_GENERATED
The chunk is loaded but has not yet been generated.
|
NOT_POPULATED
The chunk has been generated (implying that the shape of the terrain has
been formed out of a basic block) but none of the populators or
structures have been applied yet.
|
UNLOADED
The chunk is not loaded into memory.
|
Modifier and Type | Method and Description |
---|---|
static ChunkState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkState UNLOADED
public static final ChunkState NOT_GENERATED
public static final ChunkState NOT_POPULATED
public static final ChunkState LOADED
public static ChunkState[] values()
for (ChunkState c : ChunkState.values()) System.out.println(c);
public static ChunkState 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