Enum Class DependencyType

java.lang.Object
java.lang.Enum<DependencyType>
net.darkhax.mmc.config.DependencyType
All Implemented Interfaces:
Serializable, Comparable<DependencyType>, Constable

public enum DependencyType extends Enum<DependencyType>
  • Enum Constant Details

    • REQUIRED

      @SerializedName("required") public static final DependencyType REQUIRED
      The dependency will be marked as required when uploading to platforms like CurseForge and Modrinth.
    • OPTIONAL

      @SerializedName("optional") public static final DependencyType OPTIONAL
      The dependency will be marked as optional when uploading to platforms like CurseForge and Modrinth.
    • MISC

      @SerializedName("misc") public static final DependencyType MISC
      The dependency is pulled into the dev environment, but will be ignored when uploading to platforms like Curseforge and Modrinth.
  • Method Details

    • values

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