Enum Class ReloadFlagType

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

public enum ReloadFlagType extends Enum<ReloadFlagType>
Reload flags.
  • Enum Constant Details

    • PREVENT_GENERATE_RESOURCE_PACK

      public static final ReloadFlagType PREVENT_GENERATE_RESOURCE_PACK
      Prevents resource pack generation.
    • FORCE_GENERATE_RESOURCE_PACK

      public static final ReloadFlagType FORCE_GENERATE_RESOURCE_PACK
      Forces resource pack generation.
  • Method Details

    • values

      public static ReloadFlagType[] 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 ReloadFlagType 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
    • from

      @NotNull public static @NotNull Set<ReloadFlagType> from(@NotNull @NotNull Collection<String> raw)
      Converts raw string to flags.
      Parameters:
      raw - string
      Returns:
      flag set