Package mindustry.mod

Enum Class Mods.ModState

java.lang.Object
java.lang.Enum<Mods.ModState>
mindustry.mod.Mods.ModState
All Implemented Interfaces:
Serializable, Comparable<Mods.ModState>, Constable
Enclosing class:
Mods

public static enum Mods.ModState extends Enum<Mods.ModState>
  • Enum Constant Details

    • enabled

      public static final Mods.ModState enabled
    • contentErrors

      public static final Mods.ModState contentErrors
    • missingDependencies

      public static final Mods.ModState missingDependencies
    • incompleteDependencies

      public static final Mods.ModState incompleteDependencies
    • circularDependencies

      public static final Mods.ModState circularDependencies
    • unsupported

      public static final Mods.ModState unsupported
    • disabled

      public static final Mods.ModState disabled
  • Method Details

    • values

      public static Mods.ModState[] 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 Mods.ModState 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