public static enum ChunkEvent.Type extends java.lang.Enum<ChunkEvent.Type>
Enum Constant and Description |
---|
LOAD
When the chunk is constructed.
|
POPULATE_FULL
When the chunk is being populated with blocks, tile entities, etc.
|
POPULATE_PARTIAL
When the chunk is being populated with blocks, tile entities, etc.
|
UNLOAD
When the chunk is deconstructed.
|
Modifier and Type | Method and Description |
---|---|
static ChunkEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChunkEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkEvent.Type LOAD
public static final ChunkEvent.Type UNLOAD
public static final ChunkEvent.Type POPULATE_FULL
And it's a full chunk
public static final ChunkEvent.Type POPULATE_PARTIAL
And it's a partial chunk
public static ChunkEvent.Type[] values()
for (ChunkEvent.Type c : ChunkEvent.Type.values()) System.out.println(c);
public static ChunkEvent.Type 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