Enum Class IChunkLoader.ChunkLoadMode
java.lang.Object
java.lang.Enum<IChunkLoader.ChunkLoadMode>
nl.pim16aap2.animatedarchitecture.core.api.IChunkLoader.ChunkLoadMode
- All Implemented Interfaces:
Serializable, Comparable<IChunkLoader.ChunkLoadMode>, Constable
- Enclosing interface:
IChunkLoader
Represents the different modes of checking chunks.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttempts to load any potentially unloaded chunks.Verifies that chunks are loaded. -
Method Summary
Modifier and TypeMethodDescriptionstatic IChunkLoader.ChunkLoadModeReturns the enum constant of this class with the specified name.static IChunkLoader.ChunkLoadMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERIFY_LOADED
Verifies that chunks are loaded. If not, it will not attempt to load it and abort the process instead. -
ATTEMPT_LOAD
Attempts to load any potentially unloaded chunks.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-