Enum Class StructureType
- All Implemented Interfaces:
WrappedConstant<StructureType>, Serializable, Comparable<StructureType>, Constable
@NullMarked
@AsOf("3.4.0")
@Generated("2026-09-19T08:19:43.870472Z")
public enum StructureType
extends Enum<StructureType>
implements WrappedConstant<StructureType>
Auto-generated. Do not modify!
Run ./gradlew generateSources to regenerate.
Typed references to the built-in structure types, the algorithms in the STRUCTURE_TYPE registry.
- Since:
- 3.4.0
-
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 TypeMethodDescriptionkey()The vanilla registry path for this activity.static StructureTypeReturns the enum constant of this class with the specified name.static StructureType[]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 WrappedConstant
fromNms, toNms
-
Enum Constant Details
-
BURIED_TREASURE
-
DESERT_PYRAMID
-
END_CITY
-
FORTRESS
-
IGLOO
-
JIGSAW
-
JUNGLE_TEMPLE
-
MINESHAFT
-
NETHER_FOSSIL
-
OCEAN_MONUMENT
-
OCEAN_RUIN
-
RUINED_PORTAL
-
SHIPWRECK
-
STRONGHOLD
-
SWAMP_HUT
-
WOODLAND_MANSION
-
-
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
-
translator
- Specified by:
translatorin interfaceWrappedConstant<StructureType>
-
key
-
resourceKey
-