Enum Class 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetKey()The vanilla name for this CaveSurface value.static CaveSurfaceReturns the enum constant of this class with the specified name.static CaveSurface[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface WrappedEnumerator
fromNms, toNms, toNms
-
Enum Constant Details
-
CEILING
-
FLOOR
-
-
Field Details
-
TRANSLATOR
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getKey
-
translator
- Specified by:
translatorin interfaceWrappedEnumerator<CaveSurface>
-