Enum Class DatagenStage

java.lang.Object
java.lang.Enum<DatagenStage>
org.moddingx.libx.datagen.DatagenStage
All Implemented Interfaces:
Serializable, Comparable<DatagenStage>, Constable

public enum DatagenStage extends Enum<DatagenStage>
A stage in the LibX datagen system. These are processed in order during datagen.
  • Enum Constant Details

    • REGISTRY_SETUP

      public static final DatagenStage REGISTRY_SETUP
      In this stage all non-extension registries are writable and can be populated. Generation of output is not supported.
    • EXTENSION_SETUP

      public static final DatagenStage 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

      public static final DatagenStage 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

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