Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
com.electro2560.dev.cluescrolls.api.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
Different types of data that can be used for a clue
  • Enum Constant Details

    • MATERIAL

      public static final DataType MATERIAL
    • ENTITY_TYPE

      public static final DataType ENTITY_TYPE
    • HORSE_VARIANT

      public static final DataType HORSE_VARIANT
    • STRING

      public static final DataType STRING
    • NUMBER_DECIMAL

      public static final DataType NUMBER_DECIMAL
    • NUMBER_INTEGER

      public static final DataType NUMBER_INTEGER
    • NUMBER_LONG

      public static final DataType NUMBER_LONG
    • NUMBER_BYTE

      public static final DataType NUMBER_BYTE
    • BUCKET_CONTENTS

      public static final DataType BUCKET_CONTENTS
    • DYE_COLOR

      public static final DataType DYE_COLOR
    • HORSE_STYLE

      public static final DataType HORSE_STYLE
    • HORSE_COLOR

      public static final DataType HORSE_COLOR
    • DAMAGE_CAUSE

      public static final DataType DAMAGE_CAUSE
    • POTION_TYPE

      public static final DataType POTION_TYPE
    • HARVEST_CROP

      public static final DataType HARVEST_CROP
    • BOOLEAN

      public static final DataType BOOLEAN
    • REGAIN_REASON

      public static final DataType REGAIN_REASON
    • ACTION

      public static final DataType ACTION
    • EQUIPMENT_SLOT

      public static final DataType EQUIPMENT_SLOT
    • STATISTIC

      public static final DataType STATISTIC
    • STATISTIC_TYPE

      public static final DataType STATISTIC_TYPE
    • INVENTORY_TYPE

      public static final DataType INVENTORY_TYPE
    • BIOME

      public static final DataType BIOME
    • MATERIAL_TAG

      public static final DataType MATERIAL_TAG
    • MATERIAL_TAG_PAPERMC

      public static final DataType MATERIAL_TAG_PAPERMC
  • Method Details

    • values

      public static DataType[] 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 DataType 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
    • isNumber

      public boolean isNumber()
      Added v2.4.0
      Returns:
      true if DataType is a number