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>
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The dependency is pulled into the dev environment, but will be ignored when uploading to platforms like Curseforge and Modrinth.
    The dependency will be marked as optional when uploading to platforms like CurseForge and Modrinth.
    The dependency will be marked as required when uploading to platforms like CurseForge and Modrinth.
    The dependency will be marked as required when uploading to platforms for the best experience, but will not be required to run the mod.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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.
    • SOFT_DEP

      @SerializedName("soft_dep") public static final DependencyType SOFT_DEP
      The dependency will be marked as required when uploading to platforms for the best experience, but will not be required to run the mod.
    • 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