Enum Class ZenTypeInfo.TypeKind

java.lang.Object
java.lang.Enum<ZenTypeInfo.TypeKind>
com.blamejared.crafttweaker.api.zencode.ZenTypeInfo.TypeKind
All Implemented Interfaces:
Serializable, Comparable<ZenTypeInfo.TypeKind>, Constable
Enclosing class:
ZenTypeInfo

public static enum ZenTypeInfo.TypeKind extends Enum<ZenTypeInfo.TypeKind>
Indicates the kind of type that should be exposed to ZenCode.
Since:
9.1.0
  • Enum Constant Details

    • CLASS

      public static final ZenTypeInfo.TypeKind CLASS
      Marks the type as a regular class that should be exposed to ZenCode.
      Since:
      9.1.0
    • EXPANSION

      public static final ZenTypeInfo.TypeKind EXPANSION
      Marks the type as an expansion for the targetName.
      Since:
      9.1.0
  • Method Details

    • values

      public static ZenTypeInfo.TypeKind[] 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 ZenTypeInfo.TypeKind 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