Enum Class CaveSurface

java.lang.Object
java.lang.Enum<CaveSurface>
dev.wyck.worldgen.surface.condition.CaveSurface
All Implemented Interfaces:
WrappedEnumerator<CaveSurface>, Serializable, Comparable<CaveSurface>, Constable

@NullMarked @AsOf("3.0.0") @Generated("2026-07-15T18:48:22.497292Z") public enum CaveSurface extends Enum<CaveSurface> implements WrappedEnumerator<CaveSurface>
Auto-generated. Do not modify! Run ./gradlew generateSources to regenerate.

Which face of the surface a stone-depth check measures from. FLOOR, blocks are placed based on the distance to the surface above; if CEILING, the distance to the surface below is used instead.

Since:
3.0.0
See Also:
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static CaveSurface[] 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 CaveSurface 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
    • getKey

      @AsOf("3.0.0") public String getKey()
      The vanilla name for this CaveSurface value.
      Returns:
      the vanilla key for this enum value
      Since:
      3.0.0
    • translator

      @AsOf("3.0.0") public KeyedEnumTranslator<CaveSurface> translator()
      Specified by:
      translator in interface WrappedEnumerator<CaveSurface>