Enum Class NBTType

java.lang.Object
java.lang.Enum<NBTType>
dev.latvian.apps.nbt.NBTType
All Implemented Interfaces:
Serializable, Comparable<NBTType>, Constable

public enum NBTType extends Enum<NBTType>
  • Enum Constant Details

    • BYTE

      public static final NBTType BYTE
    • SHORT

      public static final NBTType SHORT
    • INT

      public static final NBTType INT
    • LONG

      public static final NBTType LONG
    • FLOAT

      public static final NBTType FLOAT
    • DOUBLE

      public static final NBTType DOUBLE
    • BYTE_ARRAY

      public static final NBTType BYTE_ARRAY
    • STRING

      public static final NBTType STRING
    • LIST

      public static final NBTType LIST
    • COMPOUND

      public static final NBTType COMPOUND
    • INT_ARRAY

      public static final NBTType INT_ARRAY
    • LONG_ARRAY

      public static final NBTType LONG_ARRAY
  • Field Details

    • VALUES

      public static final NBTType[] VALUES
    • LOOKUP

      public static final NBTType[] LOOKUP
    • id

      public final byte id
    • factory

      public final NBTType.Factory factory
  • Method Details

    • values

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