Enum Class ShadowType

java.lang.Object
java.lang.Enum<ShadowType>
de.craftsblock.craftsnet.addon.meta.ShadowType
All Implemented Interfaces:
Serializable, Comparable<ShadowType>, Constable

public enum ShadowType extends Enum<ShadowType>
Enum representing the types of resources in an addon context.

This enum defines the available categories of resources:

  • DEPENDENCY - Indicates that the shadow is a dependency required by the addon.
  • REPOSITORY - Indicates that the shadow is a repository reference needed for resolving dependencies.
Since:
3.3.4-SNAPSHOT
  • Enum Constant Details

    • DEPENDENCY

      public static final ShadowType DEPENDENCY
      Represents a dependency required by an addon.
    • REPOSITORY

      public static final ShadowType REPOSITORY
      Represents a repository reference for resolving dependencies.
  • Method Details

    • values

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