Enum Class AddonInfo.State

java.lang.Object
java.lang.Enum<AddonInfo.State>
net.lynxclient.api.addon.AddonInfo.State
All Implemented Interfaces:
Serializable, Comparable<AddonInfo.State>, Constable
Enclosing class:
AddonInfo

public static enum AddonInfo.State extends Enum<AddonInfo.State>
  • Enum Constant Details

    • LOADED

      public static final AddonInfo.State LOADED
      Running
    • INCOMPATIBLE

      public static final AddonInfo.State INCOMPATIBLE
      Made for another API version or Minecraft version
    • MISSING_DEPENDENCY

      public static final AddonInfo.State MISSING_DEPENDENCY
      An addon it depends on is missing, too old or failed
    • FAILED

      public static final AddonInfo.State FAILED
      Threw an error while loading – its modules were removed again
  • Method Details

    • values

      public static AddonInfo.State[] 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 AddonInfo.State 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