public static enum BCLibConfig.ChunkLoaderLevel extends java.lang.Enum<BCLibConfig.ChunkLoaderLevel>
Enum Constant and Description |
---|
ALL_TILES
All
TileEntity 's in the world. |
NONE
No automatic chunkloading is done.
|
SELF_TILES
TileEntity 's that implement the IChunkLoadingTile interface will be loaded, provided they
DON'T return null. |
STRICT_TILES
TileEntity 's that implement the IChunkLoadingTile interface will be loaded, provided they
return IChunkLoadingTile.LoadType.HARD |
Modifier and Type | Method and Description |
---|---|
boolean |
canLoad(IChunkLoadingTile.LoadType loadType) |
static BCLibConfig.ChunkLoaderLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BCLibConfig.ChunkLoaderLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BCLibConfig.ChunkLoaderLevel NONE
public static final BCLibConfig.ChunkLoaderLevel STRICT_TILES
TileEntity
's that implement the IChunkLoadingTile
interface will be loaded, provided they
return IChunkLoadingTile.LoadType.HARD
public static final BCLibConfig.ChunkLoaderLevel SELF_TILES
TileEntity
's that implement the IChunkLoadingTile
interface will be loaded, provided they
DON'T return null.public static final BCLibConfig.ChunkLoaderLevel ALL_TILES
TileEntity
's in the world.public static BCLibConfig.ChunkLoaderLevel[] values()
for (BCLibConfig.ChunkLoaderLevel c : BCLibConfig.ChunkLoaderLevel.values()) System.out.println(c);
public static BCLibConfig.ChunkLoaderLevel 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 nullpublic boolean canLoad(IChunkLoadingTile.LoadType loadType)