Package org.bukkit

Enum Chunk.LoadLevel

java.lang.Object
java.lang.Enum<Chunk.LoadLevel>
org.bukkit.Chunk.LoadLevel
All Implemented Interfaces:
Serializable, Comparable<Chunk.LoadLevel>, java.lang.constant.Constable
Enclosing interface:
Chunk

public static enum Chunk.LoadLevel extends Enum<Chunk.LoadLevel>
An enum to specify the load level of a chunk.
  • Enum Constant Details

    • INACCESSIBLE

      public static final Chunk.LoadLevel INACCESSIBLE
      No game logic is processed, world generation may still occur.
    • BORDER

      public static final Chunk.LoadLevel BORDER
      Most game logic is not processed, including entities and redstone.
    • TICKING

      public static final Chunk.LoadLevel TICKING
      All game logic except entities is processed.
    • ENTITY_TICKING

      public static final Chunk.LoadLevel ENTITY_TICKING
      All game logic is processed.
    • UNLOADED

      public static final Chunk.LoadLevel UNLOADED
      This chunk is not loaded.
  • Method Details

    • values

      public static Chunk.LoadLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Chunk.LoadLevel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null