Enum Class GenerationStep

java.lang.Object
java.lang.Enum<GenerationStep>
dev.wyck.wrapper.worldgen.GenerationStep
All Implemented Interfaces:
WrappedEnumerator<GenerationStep>, Serializable, Comparable<GenerationStep>, Constable

@NullMarked @AsOf("2.3.0") public enum GenerationStep extends Enum<GenerationStep> implements WrappedEnumerator<GenerationStep>
Wraps Minecraft's GenerationStep.Decoration.
Since:
2.3.0
  • Enum Constant Details

    • RAW_GENERATION

      public static final GenerationStep RAW_GENERATION
    • LAKES

      public static final GenerationStep LAKES
    • LOCAL_MODIFICATIONS

      public static final GenerationStep LOCAL_MODIFICATIONS
    • UNDERGROUND_STRUCTURES

      public static final GenerationStep UNDERGROUND_STRUCTURES
    • SURFACE_STRUCTURES

      public static final GenerationStep SURFACE_STRUCTURES
    • STRONGHOLDS

      public static final GenerationStep STRONGHOLDS
    • UNDERGROUND_ORES

      public static final GenerationStep UNDERGROUND_ORES
    • UNDERGROUND_DECORATION

      public static final GenerationStep UNDERGROUND_DECORATION
    • FLUID_SPRINGS

      public static final GenerationStep FLUID_SPRINGS
    • VEGETAL_DECORATION

      public static final GenerationStep VEGETAL_DECORATION
    • TOP_LAYER_MODIFICATION

      public static final GenerationStep TOP_LAYER_MODIFICATION
  • Field Details

  • Method Details

    • values

      public static GenerationStep[] 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 GenerationStep 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("2.3.0") public String getKey()
      The vanilla name for this decoration step.
      Returns:
      the vanilla key for this enum value
      Since:
      2.3.0
    • translator

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