public enum ChunkLoadBehaviour extends Enum<ChunkLoadBehaviour>
Enum Constant and Description |
---|
LOAD_CHUNK_ALWAYS
Load all chunks.
|
LOAD_CHUNK_IF_SAFE
Load chunk if "safe to copy"
|
LOAD_CHUNK_MOST_IMPORTANT
Load only most important chunk: TRNS
|
LOAD_CHUNK_NEVER
All non-critical chunks are skipped
|
Modifier and Type | Method and Description |
---|---|
static ChunkLoadBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkLoadBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkLoadBehaviour LOAD_CHUNK_NEVER
public static final ChunkLoadBehaviour LOAD_CHUNK_IF_SAFE
public static final ChunkLoadBehaviour LOAD_CHUNK_MOST_IMPORTANT
public static final ChunkLoadBehaviour LOAD_CHUNK_ALWAYS
public static ChunkLoadBehaviour[] values()
for (ChunkLoadBehaviour c : ChunkLoadBehaviour.values()) System.out.println(c);
public static ChunkLoadBehaviour 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 © 2014. All rights reserved.