java.lang.Object
java.lang.Enum<ChunkFlag>
com.hypixel.hytale.server.core.universe.world.chunk.ChunkFlag
All Implemented Interfaces:
Flag, Serializable, Comparable<ChunkFlag>, Constable

public enum ChunkFlag extends Enum<ChunkFlag> implements Flag
  • Enum Constant Details

    • START_INIT

      public static final ChunkFlag START_INIT
    • INIT

      public static final ChunkFlag INIT
    • NEWLY_GENERATED

      public static final ChunkFlag NEWLY_GENERATED
    • ON_DISK

      public static final ChunkFlag ON_DISK
    • TICKING

      public static final ChunkFlag TICKING
  • Field Details

    • VALUES

      public static final ChunkFlag[] VALUES
    • mask

      private final int mask
  • Constructor Details

    • ChunkFlag

      private ChunkFlag()
  • Method Details

    • values

      public static ChunkFlag[] 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 ChunkFlag 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
    • mask

      public int mask()
      Specified by:
      mask in interface Flag