Enum Class BiomeModifier.Phase

java.lang.Object
java.lang.Enum<BiomeModifier.Phase>
net.neoforged.neoforge.common.world.BiomeModifier.Phase
All Implemented Interfaces:
Serializable, Comparable<BiomeModifier.Phase>, Constable
Enclosing interface:
BiomeModifier

public static enum BiomeModifier.Phase extends Enum<BiomeModifier.Phase>
  • Enum Constant Details

    • BEFORE_EVERYTHING

      public static final BiomeModifier.Phase BEFORE_EVERYTHING
      Catch-all for anything that needs to run before standard phases.
    • ADD

      public static final BiomeModifier.Phase ADD
      Additional features, mob spawns, etc.
    • REMOVE

      public static final BiomeModifier.Phase REMOVE
      Removal of features, mob spawns, etc.
    • MODIFY

      public static final BiomeModifier.Phase MODIFY
      Alteration of values such as climate or colors.
    • AFTER_EVERYTHING

      public static final BiomeModifier.Phase AFTER_EVERYTHING
      Catch-all for anything that needs to run after standard phases.
  • Constructor Details

    • Phase

      private Phase()
  • Method Details

    • values

      public static BiomeModifier.Phase[] 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 BiomeModifier.Phase 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