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

public static enum IChunkLoader.ChunkLoadMode extends Enum<IChunkLoader.ChunkLoadMode>
Represents the different modes of checking chunks.
  • Enum Constant Details

    • VERIFY_LOADED

      public static final IChunkLoader.ChunkLoadMode VERIFY_LOADED
      Verifies that chunks are loaded. If not, it will not attempt to load it and abort the process instead.
    • ATTEMPT_LOAD

      public static final IChunkLoader.ChunkLoadMode ATTEMPT_LOAD
      Attempts to load any potentially unloaded chunks.
  • Method Details

    • values

      public static IChunkLoader.ChunkLoadMode[] 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

      public static IChunkLoader.ChunkLoadMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null