Enum Class UpdateReason

java.lang.Object
java.lang.Enum<UpdateReason>
kr.toxicity.hud.api.update.UpdateReason
All Implemented Interfaces:
Serializable, Comparable<UpdateReason>, Constable

public enum UpdateReason extends Enum<UpdateReason>
Return update reason.
  • Enum Constant Details

    • EMPTY

      public static final UpdateReason EMPTY
      None
    • BUKKIT_EVENT

      public static final UpdateReason BUKKIT_EVENT
      For Bukkit
    • VELOCITY_EVENT

      public static final UpdateReason VELOCITY_EVENT
      For Velocity
    • FABRIC_EVENT

      public static final UpdateReason FABRIC_EVENT
      For Fabric
    • OTHER

      public static final UpdateReason OTHER
      Unknown
  • Method Details

    • values

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