Enum Class ChunkSectionState

java.lang.Object
java.lang.Enum<ChunkSectionState>
ke.ric.renderer.api.ChunkSectionState
All Implemented Interfaces:
Serializable, Comparable<ChunkSectionState>, Constable

public enum ChunkSectionState extends Enum<ChunkSectionState>
Exact evidence state for one 16x16x16 chunk section.
  • Enum Constant Details

    • MISSING

      public static final ChunkSectionState MISSING
      Evidence is unavailable; required missing sections cause MISSING_CHUNK instead of being treated as air.
    • EMPTY

      public static final ChunkSectionState EMPTY
      Evidence is present and the section is known to contain only air.
    • PALETTED

      public static final ChunkSectionState PALETTED
      Evidence is present and block states are supplied by a palette.
  • Method Details

    • values

      public static ChunkSectionState[] 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 ChunkSectionState 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