Package org.moddingx.libx.datagen
Enum Class DatagenStage
- All Implemented Interfaces:
Serializable
,Comparable<DatagenStage>
,Constable
A stage in the LibX datagen system. These are processed in order during datagen.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOn transition to this phase, the elements from the registries are generated.In this stage all non-extension registries have been frozen.In this stage all non-extension registries are writable and can be populated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatagenStage
Returns the enum constant of this class with the specified name.static DatagenStage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REGISTRY_SETUP
In this stage all non-extension registries are writable and can be populated. Generation of output is not supported. -
EXTENSION_SETUP
In this stage all non-extension registries have been frozen. Extension registries are now writable and can be populated. Generation of output is not supported. -
DATAGEN
On transition to this phase, the elements from the registries are generated. In this phase, all registries have been fully set up, output can be generated. For example, tags of worldgen registries can access a fully populated registry here. All registries have been frozen.
-
-
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
-